Skip to content

Commit 5a1adae

Browse files
committed
fix indention
1 parent dcda8ce commit 5a1adae

File tree

23 files changed

+73
-72
lines changed

23 files changed

+73
-72
lines changed

bundles/extension.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ I/O operations and increases the application performance.
141141

142142
.. versionadded:: 3.2
143143

144-
The ``addAnnotatedClassesToCompile()`` method was introduced in Symfony 3.2.
144+
The ``addAnnotatedClassesToCompile()`` method was introduced in Symfony 3.2.
145145

146146
Your bundles can also add their own classes into this file thanks to the
147147
``addClassesToCompile()`` and ``addAnnotatedClassesToCompile()`` methods (both
@@ -178,7 +178,7 @@ class names::
178178

179179
.. versionadded:: 3.2
180180

181-
The option to add classes to compile using patterns was introduced in Symfony 3.2.
181+
The option to add classes to compile using patterns was introduced in Symfony 3.2.
182182

183183
The classes to compile can also be added using file path patterns::
184184

components/cache.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Cache (PSR-6) Versus Simple Cache (PSR-16)
3333
This component includes *two* different approaches to caching:
3434

3535
:ref:`PSR-6 Caching <cache-component-psr6-caching>`:
36-
A fully-featured cache system, which includes cache "pools", more advanced
37-
cache "items", and :ref:`cache tagging for invalidation <cache-component-tags>`.
36+
A fully-featured cache system, which includes cache "pools", more advanced
37+
cache "items", and :ref:`cache tagging for invalidation <cache-component-tags>`.
3838

3939
:ref:`PSR-16 Simple Caching <cache-component-psr16-caching>`:
4040
A simple way to store, fetch and remove items from a cache.

components/console/single_command_tool.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ it is possible to remove this need by declaring a single command application::
1919
use Symfony\Component\Console\Output\OutputInterface;
2020

2121
(new Application('echo', '1.0.0'))
22-
->register('echo')
23-
->addArgument('foo', InputArgument::OPTIONAL, 'The directory')
24-
->addOption('bar', null, InputOption::VALUE_REQUIRED)
25-
->setCode(function(InputInterface $input, OutputInterface $output) {
26-
// output arguments and options
27-
})
28-
->getApplication()
29-
->setDefaultCommand('echo', true) // Single command application
30-
->run();
22+
->register('echo')
23+
->addArgument('foo', InputArgument::OPTIONAL, 'The directory')
24+
->addOption('bar', null, InputOption::VALUE_REQUIRED)
25+
->setCode(function(InputInterface $input, OutputInterface $output) {
26+
// output arguments and options
27+
})
28+
->getApplication()
29+
->setDefaultCommand('echo', true) // Single command application
30+
->run();
3131

3232
The method :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
3333
accepts a boolean as second parameter. If true, the command ``echo`` will then

components/phpunit_bridge.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ to register a new `test listener`_ called ``SymfonyTestsListener``:
4848
4949
<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
5050
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
51-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
51+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
5252
>
5353
5454
<!-- ... -->
@@ -172,7 +172,7 @@ message, enclosed with ``/``. For example, with:
172172
173173
<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
174174
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
175-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
175+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
176176
>
177177
178178
<!-- ... -->
@@ -499,7 +499,7 @@ namespaces in the ``phpunit.xml`` file, as done for example in the
499499
500500
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
501501
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
502-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.1/phpunit.xsd"
502+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/4.1/phpunit.xsd"
503503
>
504504
505505
<!-- ... -->
@@ -643,7 +643,7 @@ Add the following configuration to the ``phpunit.xml.dist`` file:
643643
644644
<!-- http://phpunit.de/manual/6.0/en/appendixes.configuration.html -->
645645
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
646-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
646+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
647647
>
648648
649649
<!-- ... -->

components/translation/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ loaded/dumped when using this component inside a Symfony application:
452452
453453
<?xml version="1.0" encoding="UTF-8"?>
454454
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
455-
srcLang="fr-FR" trgLang="en-US">
455+
srcLang="fr-FR" trgLang="en-US">
456456
<file id="messages.en_US">
457457
<unit id="LCa0a2j">
458458
<notes>

components/var_dumper/advanced.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ you can configure these limits:
5959
items. Specifying ``-1`` removes the limit.
6060

6161
:method:`Symfony\\Component\\VarDumper\\Cloner\\VarCloner::setMinDepth`
62-
.. versionadded:: 3.4
63-
64-
The ``setMinDepth()`` method was introduced in Symfony 3.4.
65-
6662
Configures the minimum tree depth where we are guaranteed to clone
6763
all the items. After this depth is reached, only ``setMaxItems``
6864
items will be cloned. The default value is ``1``, which is consistent
6965
with older Symfony versions.
7066

67+
.. versionadded:: 3.4
68+
69+
The ``setMinDepth()`` method was introduced in Symfony 3.4.
70+
7171
:method:`Symfony\\Component\\VarDumper\\Cloner\\VarCloner::setMaxString`
7272
Configures the maximum number of characters that will be cloned before
7373
cutting overlong strings. Specifying ``-1`` removes the limit.
@@ -85,12 +85,12 @@ Before dumping it, you can further limit the resulting
8585
Removes internal objects' handles for sparser output (useful for tests).
8686

8787
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::seek`
88+
Selects only subparts of already cloned arrays, objects or resources.
89+
8890
.. versionadded:: 3.2
8991

9092
The ``seek()`` method was introduced in Symfony 3.2.
9193

92-
Selects only subparts of already cloned arrays, objects or resources.
93-
9494
Unlike the previous limits on cloners that remove data on purpose, these can
9595
be changed back and forth before dumping since they do not affect the
9696
intermediate representation internally.

console/input.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ flag:
166166
167167
.. tip::
168168

169-
You can also declare a one-letter shortcut that you can call with a single
170-
dash, like ``-i``::
169+
You can also declare a one-letter shortcut that you can call with a single
170+
dash, like ``-i``::
171171

172172
$this
173173
// ...

create_framework/routing.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,23 @@ The ``match()`` method takes a request path and returns an array of attributes
9393
(notice that the matched route is automatically stored under the special
9494
``_route`` attribute)::
9595

96-
print_r($matcher->match('/bye'));
97-
/* Gives:
96+
$matcher->match('/bye');
97+
/* Result:
9898
[
9999
'_route' => 'bye',
100100
];
101101
*/
102102

103-
print_r($matcher->match('/hello/Fabien'));
104-
/* Gives:
103+
$matcher->match('/hello/Fabien');
104+
/* Result:
105105
[
106106
'name' => 'Fabien',
107107
'_route' => 'hello',
108108
];
109109
*/
110110

111-
print_r($matcher->match('/hello'));
112-
/* Gives:
111+
$matcher->match('/hello');
112+
/* Result:
113113
[
114114
'name' => 'World',
115115
'_route' => 'hello',

deployment/fortrabbit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ Commit and push
270270
271271
.. note::
272272

273-
The first ``git push`` takes much longer as all composer dependencies get
274-
downloaded. All subsequent deploys are done within seconds.
273+
The first ``git push`` takes much longer as all composer dependencies get
274+
downloaded. All subsequent deploys are done within seconds.
275275

276276
That's it! Your application is being deployed on fortrabbit. More information
277277
about `database migrations and tunneling`_ can be found in the fortrabbit

deployment/platformsh.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Platform.sh how to deploy your application (read more about
4040
# The type of the application to build.
4141
type: php:5.6
4242
build:
43-
flavor: composer
43+
flavor: composer
4444
4545
# The relationships of the application with services or other applications.
4646
# The left-hand side is the name of the relationship as it will be exposed
@@ -68,10 +68,10 @@ Platform.sh how to deploy your application (read more about
6868
# The hooks that will be performed when the package is deployed.
6969
hooks:
7070
build: |
71-
rm web/app_dev.php
72-
php bin/console --env=prod assetic:dump --no-debug
71+
rm web/app_dev.php
72+
php bin/console --env=prod assetic:dump --no-debug
7373
deploy: |
74-
php bin/console --env=prod cache:clear
74+
php bin/console --env=prod cache:clear
7575
7676
For best practices, you should also add a ``.platform`` folder at the root of
7777
your Git repository which contains the following files:

0 commit comments

Comments
 (0)