Skip to content

Commit f303b20

Browse files
committed
removed versions when adding Symfony component with Composer
1 parent 55f5c12 commit f303b20

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

book/part02.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ To use this component, add it as a dependency of the project:
126126

127127
.. code-block:: sh
128128
129-
$ php composer.phar require symfony/http-foundation 2.5.*
129+
$ php composer.phar require symfony/http-foundation
130130
131131
Running this command will also automatically download the Symfony
132132
HttpFoundation component and install it under the ``vendor/`` directory.

book/part04.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To support this feature, add the Symfony2 Routing component as a dependency:
5757

5858
.. code-block:: sh
5959
60-
$ php composer.phar require symfony/routing 2.5.*
60+
$ php composer.phar require symfony/routing
6161
6262
Instead of an array for the URL map, the Routing component relies on a
6363
``RouteCollection`` instance::

book/part06.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ component:
4141

4242
.. code-block:: sh
4343
44-
$ php composer.phar require symfony/http-kernel 2.5.*
44+
$ php composer.phar require symfony/http-kernel
4545
4646
The HttpKernel component has many interesting features, but the one we need
4747
right now is the *controller resolver*. A controller resolver knows how to

book/part09.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version of this pattern:
1919

2020
.. code-block:: sh
2121
22-
$ php composer.phar require symfony/event-dispatcher 2.5.*
22+
$ php composer.phar require symfony/event-dispatcher
2323
2424
How does it work? The *dispatcher*, the central object of the event dispatcher
2525
system, notifies *listeners* of an *event* dispatched to it. Put another way:

book/part12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ container:
9393

9494
.. code-block:: sh
9595
96-
$ php composer.phar require symfony/dependency-injection 2.5.*
96+
$ php composer.phar require symfony/dependency-injection
9797
9898
Create a new file to host the dependency injection container configuration::
9999

0 commit comments

Comments
 (0)