From 41c9327186ea6f6a069de57e24cde2f228ff0e9b Mon Sep 17 00:00:00 2001 From: Epskampie Date: Thu, 20 Nov 2014 14:46:17 +0100 Subject: [PATCH 1/2] Fixed composer create-project command (windows) The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is: Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'" This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well. --- book/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/installation.rst b/book/installation.rst index d83cf153ea7..088399dcc2c 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -59,7 +59,7 @@ Distribution: .. code-block:: bash - $ php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony '2.3.*' + $ php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony "2.3.*" .. tip:: From 533bb146dbe76cbe62ceb7251f367f70dbae73f8 Mon Sep 17 00:00:00 2001 From: Epskampie Date: Fri, 21 Nov 2014 14:23:08 +0100 Subject: [PATCH 2/2] Fixed composer create-project command (windows) The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is: Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'" This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well. --- cookbook/workflow/new_project_git.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/workflow/new_project_git.rst b/cookbook/workflow/new_project_git.rst index 4f355591288..2c458cd391c 100644 --- a/cookbook/workflow/new_project_git.rst +++ b/cookbook/workflow/new_project_git.rst @@ -26,7 +26,7 @@ git repository: .. code-block:: bash - $ php composer.phar create-project symfony/framework-standard-edition path/ '~2.5' + $ php composer.phar create-project symfony/framework-standard-edition path/ "~2.5" .. tip::