Skip to content

Commit 083c1f5

Browse files
author
Nic Wortel
committed
Replace static version constraint (2.4.4)
...with a smarter one. Using Composer's tilde operator (~), also known as the next significant release constraint, we instruct composer to use at least Symfony 2.3, but not 3.0 or higher.
1 parent 32cee81 commit 083c1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/workflow/new_project_git.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ git repository:
2424

2525
.. code-block:: bash
2626
27-
$ php composer.phar create-project symfony/framework-standard-edition path/ 2.4.4
27+
$ php composer.phar create-project symfony/framework-standard-edition path/ ~2.3
2828
2929
Composer will now download the Standard Distribution along with all of the
3030
required vendor libraries. For more information about downloading Symfony using

0 commit comments

Comments
 (0)