Skip to content

Commit c289ac8

Browse files
committed
bug #4279 Double-quotes instead of single quotes (UnexpectedValueException in Windows 8) (galdiolo)
This PR was squashed before being merged into the 2.5 branch (closes #4279). Discussion ---------- Double-quotes instead of single quotes (UnexpectedValueException in Windows 8) Using single quotes in Windows command prompt (Windows 8 Pro) returns the following error: C:\Users\Galdiolo>composer create-project symfony/framework-standard-edition myproject/ '~2.3' [UnexpectedValueException] Could not parse version constraint '~2.3': Invalid version string "'~2.3'" Commits ------- ac4d9cd Double-quotes instead of single quotes (UnexpectedValueException in Windows 8)
2 parents 0017bf4 + ac4d9cd commit c289ac8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbook/workflow/new_project_git.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ git repository:
2626

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

quick_tour/the_big_picture.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ directory:
2020

2121
.. code-block:: bash
2222
23-
$ composer create-project symfony/framework-standard-edition myproject/ '~2.3'
23+
$ composer create-project symfony/framework-standard-edition myproject/ "~2.3"
2424
2525
.. note::
2626

0 commit comments

Comments
 (0)