From af593165369aeb17e504900b5185a5c4583a7951 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 8 Feb 2015 08:33:54 +0100 Subject: [PATCH 1/2] removed composer --dev option everywhere --- .travis.yml | 6 +++--- src/Symfony/Bridge/ProxyManager/README.md | 2 +- src/Symfony/Component/Debug/README.md | 2 +- src/Symfony/Component/Intl/CONTRIBUTING.md | 2 +- src/Symfony/Component/Intl/README.md | 2 +- src/Symfony/Component/Intl/Resources/bin/update-data.php | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c3ba5b4ce..eba78dcddf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,10 +36,10 @@ before_install: - if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi; install: - - if [ "$components" = "no" ]; then composer --prefer-source --dev install; fi; + - if [ "$components" = "no" ]; then composer --prefer-source install; fi; script: - if [ "$components" = "no" ]; then ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - if [ "$components" = "no" ]; then echo -e "\\nRunning tests requiring tty"; phpunit --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi; - - if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --dev update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; - - if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --dev --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; + - if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; + - if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi; diff --git a/src/Symfony/Bridge/ProxyManager/README.md b/src/Symfony/Bridge/ProxyManager/README.md index f2ce134241..dc68f5b4d1 100644 --- a/src/Symfony/Bridge/ProxyManager/README.md +++ b/src/Symfony/Bridge/ProxyManager/README.md @@ -9,7 +9,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/ProxyManager/ - $ composer.phar install --dev + $ composer.phar install $ phpunit [1]: https://github.com/Ocramius/ProxyManager diff --git a/src/Symfony/Component/Debug/README.md b/src/Symfony/Component/Debug/README.md index cad3893855..7d9edc3103 100644 --- a/src/Symfony/Component/Debug/README.md +++ b/src/Symfony/Component/Debug/README.md @@ -40,5 +40,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Debug/ - $ composer.phar install --dev + $ composer.phar install $ phpunit diff --git a/src/Symfony/Component/Intl/CONTRIBUTING.md b/src/Symfony/Component/Intl/CONTRIBUTING.md index 0657e12019..c4e2bace90 100644 --- a/src/Symfony/Component/Intl/CONTRIBUTING.md +++ b/src/Symfony/Component/Intl/CONTRIBUTING.md @@ -10,7 +10,7 @@ Preparation To prepare, you need to install the development dependencies of the component. $ cd /path/to/Symfony/Component/Intl - $ composer.phar install --dev + $ composer.phar install Determining your ICU version --------------------------- diff --git a/src/Symfony/Component/Intl/README.md b/src/Symfony/Component/Intl/README.md index d7f218f423..b601c78ebb 100644 --- a/src/Symfony/Component/Intl/README.md +++ b/src/Symfony/Component/Intl/README.md @@ -18,7 +18,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Intl/ - $ composer.phar install --dev + $ composer.phar install $ phpunit [0]: http://www.php.net/manual/en/intl.setup.php diff --git a/src/Symfony/Component/Intl/Resources/bin/update-data.php b/src/Symfony/Component/Intl/Resources/bin/update-data.php index 1d92bd851e..bfe99ecb3e 100644 --- a/src/Symfony/Component/Intl/Resources/bin/update-data.php +++ b/src/Symfony/Component/Intl/Resources/bin/update-data.php @@ -50,7 +50,7 @@ the subdirectories bin/ and lib/. For running this script, the intl extension must be loaded and all vendors must have been installed through composer: -composer install --dev +composer install MESSAGE ); From 0fe49130797a3adeca461eac5260c4ec5331b6b5 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 8 Feb 2015 08:41:14 +0100 Subject: [PATCH 2/2] renamed composer.phar to composer to be consistent with the Symfony docs --- src/Symfony/Bridge/Doctrine/README.md | 2 +- src/Symfony/Bridge/Monolog/README.md | 2 +- src/Symfony/Bridge/Propel1/README.md | 2 +- src/Symfony/Bridge/ProxyManager/README.md | 2 +- src/Symfony/Bridge/Twig/README.md | 2 +- src/Symfony/Component/BrowserKit/README.md | 2 +- src/Symfony/Component/ClassLoader/README.md | 2 +- src/Symfony/Component/Config/README.md | 2 +- src/Symfony/Component/Console/README.md | 2 +- src/Symfony/Component/CssSelector/README.md | 2 +- src/Symfony/Component/Debug/README.md | 2 +- src/Symfony/Component/DependencyInjection/README.md | 2 +- src/Symfony/Component/DomCrawler/README.md | 2 +- src/Symfony/Component/EventDispatcher/README.md | 2 +- src/Symfony/Component/Filesystem/README.md | 2 +- src/Symfony/Component/Finder/README.md | 2 +- src/Symfony/Component/Form/README.md | 2 +- src/Symfony/Component/HttpFoundation/README.md | 2 +- src/Symfony/Component/HttpKernel/README.md | 2 +- src/Symfony/Component/Intl/CONTRIBUTING.md | 2 +- src/Symfony/Component/Intl/README.md | 2 +- src/Symfony/Component/OptionsResolver/README.md | 2 +- src/Symfony/Component/Process/README.md | 2 +- src/Symfony/Component/PropertyAccess/README.md | 2 +- src/Symfony/Component/Routing/README.md | 2 +- src/Symfony/Component/Security/README.md | 2 +- src/Symfony/Component/Serializer/README.md | 2 +- src/Symfony/Component/Stopwatch/README.md | 2 +- src/Symfony/Component/Templating/README.md | 2 +- src/Symfony/Component/Translation/README.md | 2 +- src/Symfony/Component/Validator/README.md | 2 +- src/Symfony/Component/Yaml/README.md | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/README.md b/src/Symfony/Bridge/Doctrine/README.md index 972ccbfc96..3dabc3cd6d 100644 --- a/src/Symfony/Bridge/Doctrine/README.md +++ b/src/Symfony/Bridge/Doctrine/README.md @@ -10,5 +10,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/Doctrine/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Bridge/Monolog/README.md b/src/Symfony/Bridge/Monolog/README.md index c666f1d150..b0d91ca4f4 100644 --- a/src/Symfony/Bridge/Monolog/README.md +++ b/src/Symfony/Bridge/Monolog/README.md @@ -9,5 +9,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/Monolog/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Bridge/Propel1/README.md b/src/Symfony/Bridge/Propel1/README.md index 22d0aa2a7a..22590ca583 100644 --- a/src/Symfony/Bridge/Propel1/README.md +++ b/src/Symfony/Bridge/Propel1/README.md @@ -9,5 +9,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/Propel1/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Bridge/ProxyManager/README.md b/src/Symfony/Bridge/ProxyManager/README.md index dc68f5b4d1..35d41998b8 100644 --- a/src/Symfony/Bridge/ProxyManager/README.md +++ b/src/Symfony/Bridge/ProxyManager/README.md @@ -9,7 +9,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Bridge/ProxyManager/ - $ composer.phar install + $ composer install $ phpunit [1]: https://github.com/Ocramius/ProxyManager diff --git a/src/Symfony/Bridge/Twig/README.md b/src/Symfony/Bridge/Twig/README.md index c5053c860b..1f92af944f 100644 --- a/src/Symfony/Bridge/Twig/README.md +++ b/src/Symfony/Bridge/Twig/README.md @@ -11,5 +11,5 @@ If you want to run the unit tests, install dev dependencies before running PHPUnit: $ cd path/to/Symfony/Bridge/Twig/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/BrowserKit/README.md b/src/Symfony/Component/BrowserKit/README.md index 1b40c9fe2d..3c0ee3a040 100644 --- a/src/Symfony/Component/BrowserKit/README.md +++ b/src/Symfony/Component/BrowserKit/README.md @@ -19,5 +19,5 @@ provided by the HttpKernel component. You can run the unit tests with the following command: $ cd path/to/Symfony/Component/BrowserKit/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/ClassLoader/README.md b/src/Symfony/Component/ClassLoader/README.md index 37df048699..0d2955dc97 100644 --- a/src/Symfony/Component/ClassLoader/README.md +++ b/src/Symfony/Component/ClassLoader/README.md @@ -81,5 +81,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/ClassLoader/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Config/README.md b/src/Symfony/Component/Config/README.md index 1b12e89a8b..690d7d74f9 100644 --- a/src/Symfony/Component/Config/README.md +++ b/src/Symfony/Component/Config/README.md @@ -12,6 +12,6 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Config/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Console/README.md b/src/Symfony/Component/Console/README.md index 00722e6fb7..98041446e8 100644 --- a/src/Symfony/Component/Console/README.md +++ b/src/Symfony/Component/Console/README.md @@ -50,7 +50,7 @@ Tests You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Console/ - $ composer.phar install + $ composer install $ phpunit Third Party diff --git a/src/Symfony/Component/CssSelector/README.md b/src/Symfony/Component/CssSelector/README.md index ef28bc9d17..ffe6c890f6 100644 --- a/src/Symfony/Component/CssSelector/README.md +++ b/src/Symfony/Component/CssSelector/README.md @@ -43,5 +43,5 @@ which is distributed under the BSD license. You can run the unit tests with the following command: $ cd path/to/Symfony/Component/CssSelector/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Debug/README.md b/src/Symfony/Component/Debug/README.md index 7d9edc3103..ad10a41889 100644 --- a/src/Symfony/Component/Debug/README.md +++ b/src/Symfony/Component/Debug/README.md @@ -40,5 +40,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Debug/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/DependencyInjection/README.md b/src/Symfony/Component/DependencyInjection/README.md index cd170ab09a..66f62be5de 100644 --- a/src/Symfony/Component/DependencyInjection/README.md +++ b/src/Symfony/Component/DependencyInjection/README.md @@ -77,5 +77,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/DependencyInjection/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/DomCrawler/README.md b/src/Symfony/Component/DomCrawler/README.md index 646573f4e0..d2c8de5da4 100644 --- a/src/Symfony/Component/DomCrawler/README.md +++ b/src/Symfony/Component/DomCrawler/README.md @@ -32,5 +32,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/DomCrawler/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/EventDispatcher/README.md b/src/Symfony/Component/EventDispatcher/README.md index 0fbc35e2a4..8031f4dd3f 100644 --- a/src/Symfony/Component/EventDispatcher/README.md +++ b/src/Symfony/Component/EventDispatcher/README.md @@ -23,5 +23,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/EventDispatcher/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Filesystem/README.md b/src/Symfony/Component/Filesystem/README.md index 85b0f1c522..df09f93dce 100644 --- a/src/Symfony/Component/Filesystem/README.md +++ b/src/Symfony/Component/Filesystem/README.md @@ -43,5 +43,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Filesystem/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Finder/README.md b/src/Symfony/Component/Finder/README.md index 7a96219cce..413cdf57e7 100644 --- a/src/Symfony/Component/Finder/README.md +++ b/src/Symfony/Component/Finder/README.md @@ -45,7 +45,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Finder/ - $ composer.phar install + $ composer install $ phpunit [1]: http://api.symfony.com/2.5/Symfony/Component/Finder/SplFileInfo.html diff --git a/src/Symfony/Component/Form/README.md b/src/Symfony/Component/Form/README.md index 4396ec0155..bde6b78be6 100644 --- a/src/Symfony/Component/Form/README.md +++ b/src/Symfony/Component/Form/README.md @@ -22,5 +22,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Form/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/HttpFoundation/README.md b/src/Symfony/Component/HttpFoundation/README.md index 008c1587f6..11ad6eef54 100644 --- a/src/Symfony/Component/HttpFoundation/README.md +++ b/src/Symfony/Component/HttpFoundation/README.md @@ -52,5 +52,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/HttpFoundation/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/HttpKernel/README.md b/src/Symfony/Component/HttpKernel/README.md index d9ad1cbc3f..9ec8c0427b 100644 --- a/src/Symfony/Component/HttpKernel/README.md +++ b/src/Symfony/Component/HttpKernel/README.md @@ -95,5 +95,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/HttpKernel/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Intl/CONTRIBUTING.md b/src/Symfony/Component/Intl/CONTRIBUTING.md index c4e2bace90..971e0af7f5 100644 --- a/src/Symfony/Component/Intl/CONTRIBUTING.md +++ b/src/Symfony/Component/Intl/CONTRIBUTING.md @@ -10,7 +10,7 @@ Preparation To prepare, you need to install the development dependencies of the component. $ cd /path/to/Symfony/Component/Intl - $ composer.phar install + $ composer install Determining your ICU version --------------------------- diff --git a/src/Symfony/Component/Intl/README.md b/src/Symfony/Component/Intl/README.md index b601c78ebb..3c8164c375 100644 --- a/src/Symfony/Component/Intl/README.md +++ b/src/Symfony/Component/Intl/README.md @@ -18,7 +18,7 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Intl/ - $ composer.phar install + $ composer install $ phpunit [0]: http://www.php.net/manual/en/intl.setup.php diff --git a/src/Symfony/Component/OptionsResolver/README.md b/src/Symfony/Component/OptionsResolver/README.md index 412222e857..bb54c287c1 100644 --- a/src/Symfony/Component/OptionsResolver/README.md +++ b/src/Symfony/Component/OptionsResolver/README.md @@ -111,5 +111,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/OptionsResolver/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Process/README.md b/src/Symfony/Component/Process/README.md index 29d1cf9330..7c83ed413e 100644 --- a/src/Symfony/Component/Process/README.md +++ b/src/Symfony/Component/Process/README.md @@ -47,5 +47,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Process/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/PropertyAccess/README.md b/src/Symfony/Component/PropertyAccess/README.md index 79b6ebca5a..9fb92f058d 100644 --- a/src/Symfony/Component/PropertyAccess/README.md +++ b/src/Symfony/Component/PropertyAccess/README.md @@ -10,5 +10,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/PropertyAccess/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Routing/README.md b/src/Symfony/Component/Routing/README.md index cd566a59c1..1a94583a87 100644 --- a/src/Symfony/Component/Routing/README.md +++ b/src/Symfony/Component/Routing/README.md @@ -32,5 +32,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Routing/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Security/README.md b/src/Symfony/Component/Security/README.md index 53efa5eece..21f8a24d3c 100644 --- a/src/Symfony/Component/Security/README.md +++ b/src/Symfony/Component/Security/README.md @@ -19,5 +19,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Security/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Serializer/README.md b/src/Symfony/Component/Serializer/README.md index 5a1606ca09..4d8ab012e9 100644 --- a/src/Symfony/Component/Serializer/README.md +++ b/src/Symfony/Component/Serializer/README.md @@ -11,5 +11,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Serializer/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Stopwatch/README.md b/src/Symfony/Component/Stopwatch/README.md index 428bba6b63..611df90ca5 100644 --- a/src/Symfony/Component/Stopwatch/README.md +++ b/src/Symfony/Component/Stopwatch/README.md @@ -9,5 +9,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Stopwatch/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Templating/README.md b/src/Symfony/Component/Templating/README.md index bde622fef4..253eb4f507 100644 --- a/src/Symfony/Component/Templating/README.md +++ b/src/Symfony/Component/Templating/README.md @@ -14,5 +14,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Templating/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Translation/README.md b/src/Symfony/Component/Translation/README.md index 0eba8455ae..ce965e5a78 100644 --- a/src/Symfony/Component/Translation/README.md +++ b/src/Symfony/Component/Translation/README.md @@ -33,5 +33,5 @@ http://symfony.com/doc/2.3/book/translation.html You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Translation/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Validator/README.md b/src/Symfony/Component/Validator/README.md index 2e2586938b..271b306d80 100644 --- a/src/Symfony/Component/Validator/README.md +++ b/src/Symfony/Component/Validator/README.md @@ -122,5 +122,5 @@ http://jcp.org/en/jsr/detail?id=303 You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Validator/ - $ composer.phar install + $ composer install $ phpunit diff --git a/src/Symfony/Component/Yaml/README.md b/src/Symfony/Component/Yaml/README.md index 96abbbfd16..85a9786735 100644 --- a/src/Symfony/Component/Yaml/README.md +++ b/src/Symfony/Component/Yaml/README.md @@ -17,5 +17,5 @@ Resources You can run the unit tests with the following command: $ cd path/to/Symfony/Component/Yaml/ - $ composer.phar install + $ composer install $ phpunit