Skip to content

Commit

Permalink
Merge pull request travis-ci#111 from Maks3w/patch-2
Browse files Browse the repository at this point in the history
[PHP] Update Composer examples
  • Loading branch information
lsmith77 committed Jul 23, 2012
2 parents e8a8534 + e8da0fc commit 69e7504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/languages/php.md
Expand Up @@ -76,7 +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 http://getcomposer.org/installer | php -- --quiet
- curl -s https://getcomposer.org/installer | php -- --quiet
- php composer.phar require symfony/framework-bundle:${SYMFONY_VERSION}

Here we use DB variable value to pick phpunit configuration file:
Expand Down Expand Up @@ -113,7 +113,7 @@ Then you can use phpcs as simply as phpunit command

You can also install [Composer](http://packagist.org/) packages into the Travis PHP environment. Use the following:

curl -s http://getcomposer.org/installer | php
curl -s https://getcomposer.org/installer | php -- --quiet
php composer.phar install

### Installing PHP extensions
Expand Down

0 comments on commit 69e7504

Please sign in to comment.