Browse Source

Add sample to get a specific version of the fixer

Sullivan SENECHAL 9 years ago
parent
commit
a01c95d22f
2 changed files with 8 additions and 0 deletions
  1. 4 0
      README.rst
  2. 4 0
      Symfony/CS/Console/Command/ReadmeCommand.php

+ 4 - 0
README.rst

@@ -31,12 +31,16 @@ your system:
 .. code-block:: bash
 
     $ wget http://get.sensiolabs.org/php-cs-fixer.phar -O php-cs-fixer
+    # With a specific version
+    $ wget http://get.sensiolabs.org/php-cs-fixer-v1.11.phar -O php-cs-fixer
 
 or with curl:
 
 .. code-block:: bash
 
     $ curl http://get.sensiolabs.org/php-cs-fixer.phar -o php-cs-fixer
+    # With a specific version
+    $ curl http://get.sensiolabs.org/php-cs-fixer-v1.11.phar -o php-cs-fixer
 
 then:
 

+ 4 - 0
Symfony/CS/Console/Command/ReadmeCommand.php

@@ -70,12 +70,16 @@ your system:
 .. code-block:: bash
 
     \$ wget http://get.sensiolabs.org/php-cs-fixer.phar -O php-cs-fixer
+    # With a specific version
+    \$ wget http://get.sensiolabs.org/php-cs-fixer-v1.11.phar -O php-cs-fixer
 
 or with curl:
 
 .. code-block:: bash
 
     \$ curl http://get.sensiolabs.org/php-cs-fixer.phar -o php-cs-fixer
+    # With a specific version
+    \$ curl http://get.sensiolabs.org/php-cs-fixer-v1.11.phar -o php-cs-fixer
 
 then: