Skip to content

Commit ecab2a2

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Correct spelling & grammar in 4.4 form/ Correct spelling & grammar in 4.4 doctrine/ Correct spelling & grammar in 4.4 create_framework/ Correct spelling & grammar in 4.4 components/expression_language/ Correct spelling & grammar in 4.4 components/dependency_injection/ Correct spelling & grammar in 4.4 components/console/ Correct spelling & grammar in 4.4 components/config/ Correct spelling & grammar in 4.4 bundles/ Correct spelling & grammar in 4.4 workflow.rst Correct spelling & grammar in 4.4 performance.rst Correct spelling & grammar in 4.4 migration.rst Correct spelling & grammar in 4.4 mercure.rst
2 parents 377ef9f + f7fbd6b commit ecab2a2

25 files changed

+38
-40
lines changed

bundles/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ The ``composer.json`` file should include at least the following metadata:
485485
Consists of the vendor and the short bundle name. If you are releasing the
486486
bundle on your own instead of on behalf of a company, use your personal name
487487
(e.g. ``johnsmith/blog-bundle``). Exclude the vendor name from the bundle
488-
short name and separate each word with an hyphen. For example: AcmeBlogBundle
488+
short name and separate each word with a hyphen. For example: AcmeBlogBundle
489489
is transformed into ``blog-bundle`` and AcmeSocialConnectBundle is
490490
transformed into ``social-connect-bundle``.
491491

bundles/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ bundle in the console using the Yaml format.
331331

332332
As long as your bundle's configuration is located in the standard location
333333
(``YourBundle\DependencyInjection\Configuration``) and does not have
334-
a constructor it will work automatically. If you
334+
a constructor, it will work automatically. If you
335335
have something different, your ``Extension`` class must override the
336336
:method:`Extension::getConfiguration() <Symfony\\Component\\DependencyInjection\\Extension\\Extension::getConfiguration>`
337337
method and return an instance of your ``Configuration``.

bundles/prepend_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ How to Simplify Configuration of Multiple Bundles
88
When building reusable and extensible applications, developers are often
99
faced with a choice: either create a single large bundle or multiple smaller
1010
bundles. Creating a single bundle has the drawback that it's impossible for
11-
users to choose to remove functionality they are not using. Creating multiple
11+
users to remove unused functionality. Creating multiple
1212
bundles has the drawback that configuration becomes more tedious and settings
1313
often need to be repeated for various bundles.
1414

components/config/definition.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Array Nodes
155155
~~~~~~~~~~~
156156

157157
It is possible to add a deeper level to the hierarchy, by adding an array
158-
node. The array node itself, may have a pre-defined set of variable nodes::
158+
node. The array node itself, may have a predefined set of variable nodes::
159159

160160
$rootNode
161161
->children()
@@ -193,7 +193,7 @@ above, it is possible to have multiple connection arrays (containing a ``driver`
193193
``host``, etc.).
194194

195195
Sometimes, to improve the user experience of your application or bundle, you may
196-
allow to use a simple string or numeric value where an array value is required.
196+
allow the use of a simple string or numeric value where an array value is required.
197197
Use the ``castToArray()`` helper to turn those variables into arrays::
198198

199199
->arrayNode('hosts')

components/console/helpers/progressbar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ to display it can be customized::
292292

293293
.. caution::
294294

295-
For performance reasons, Symfony redraws screen every 100ms. If this is too
295+
For performance reasons, Symfony redraws the screen once every 100ms. If this is too
296296
fast or to slow for your application, use the methods
297297
:method:`Symfony\\Component\\Console\\Helper\\ProgressBar::minSecondsBetweenRedraws` and
298298
:method:`Symfony\\Component\\Console\\Helper\\ProgressBar::maxSecondsBetweenRedraws`::

components/console/helpers/questionhelper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ option is the default one.
124124
If the user enters an invalid string, an error message is shown and the user
125125
is asked to provide the answer another time, until they enter a valid string
126126
or reach the maximum number of attempts. The default value for the maximum number
127-
of attempts is ``null``, which means infinite number of attempts. You can define
127+
of attempts is ``null``, which means an infinite number of attempts. You can define
128128
your own error message using
129129
:method:`Symfony\\Component\\Console\\Question\\ChoiceQuestion::setErrorMessage`.
130130

@@ -387,7 +387,7 @@ was successful.
387387
You can set the max number of times to ask with the
388388
:method:`Symfony\\Component\\Console\\Question\\Question::setMaxAttempts` method.
389389
If you reach this max number it will use the default value. Using ``null`` means
390-
the amount of attempts is infinite. The user will be asked as long as they provide an
390+
the number of attempts is infinite. The user will be asked as long as they provide an
391391
invalid answer and will only be able to proceed if their input is valid.
392392

393393
.. tip::

components/console/helpers/table.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The output of this command will be:
147147
| 99921 | Divine Com | Dante Alighieri |
148148
| -58-1 | edy | |
149149
| 0-7 | | |
150-
| (the rest of rows...) |
150+
| (the rest of the rows...) |
151151
+-------+------------+--------------------------------+
152152
153153
The table style can be changed to any built-in styles via
@@ -379,7 +379,7 @@ This outputs:
379379
| 978-0804169127 | Divine Comedy | spans multiple rows |
380380
+----------------+---------------+---------------------+
381381
382-
You can use the ``colspan`` and ``rowspan`` options at the same time which allows
382+
You can use the ``colspan`` and ``rowspan`` options at the same time, which allows
383383
you to create any table layout you may wish.
384384

385385
.. _console-modify-rendered-tables:

components/console/single_command_tool.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ Building a single Command Application
55
=====================================
66

77
When building a command line tool, you may not need to provide several commands.
8-
In such case, having to pass the command name each time is tedious.
9-
10-
Fortunately, it is possible to remove this need by declaring a single command
11-
application::
8+
In such a case, having to pass the command name each time is tedious. Fortunately,
9+
it is possible to remove this need by declaring a single command application::
1210

1311
#!/usr/bin/env php
1412
<?php

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ methods described in :doc:`/service_container/definitions`.
358358
method call if some required service is not available.
359359

360360
A common use-case of compiler passes is to search for all service definitions
361-
that have a certain tag in order to process dynamically plug each into some
362-
other service. See the section on :ref:`service tags <service-container-compiler-pass-tags>`
361+
that have a certain tag, in order to dynamically plug each one into other services.
362+
See the section on :ref:`service tags <service-container-compiler-pass-tags>`
363363
for an example.
364364

365365
.. _components-di-separate-compiler-passes:

components/dependency_injection/workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ container exists. The kernel has a debug setting and if this is false,
2525
the cached version is used if it exists. If debug is true then the kernel
2626
:doc:`checks to see if configuration is fresh </components/config/caching>`
2727
and if it is, the cached version of the container is used. If not then the
28-
container is built from the application-level configuration and the bundles's
28+
container is built from the application-level configuration and the bundles'
2929
extension configuration.
3030

3131
Read :ref:`Dumping the Configuration for Performance <components-dependency-injection-dumping>`

0 commit comments

Comments
 (0)