Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use the preinstalled composer

  • Loading branch information...
commit 296a2c0aa95a3548ad6a10890eea412ef8cab15d 1 parent 6a8b1c4
@lsmith77 lsmith77 authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 docs/user/languages/php.md
View
9 docs/user/languages/php.md
@@ -76,8 +76,7 @@ and then use ENV variable values in any later script like your dependencies inst
Here is an example using the above ENV variable to modify the dependencies when using the composer package manager to run the tests against the 2 differnt versions of Symfony as defined above.
before_script:
- - curl -s https://getcomposer.org/installer | php -- --quiet
- - php composer.phar require symfony/framework-bundle:${SYMFONY_VERSION}
+ - composer require symfony/framework-bundle:${SYMFONY_VERSION}
Here we use DB variable value to pick phpunit configuration file:
@@ -111,10 +110,10 @@ Then you can use phpcs as simply as phpunit command
### Installing Composer packages
-You can also install [Composer](http://packagist.org/) packages into the Travis PHP environment. Use the following:
+You can also install [Composer](http://packagist.org/) packages into the Travis PHP environment. The composer
+command comes pre-installed, so just use the following:
- curl -s https://getcomposer.org/installer | php -- --quiet
- php composer.phar install
+ composer install
### Installing PHP extensions
Please sign in to comment.
Something went wrong with that request. Please try again.