From b45a9da144897d38452c5f8452080c0982cfdeba Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 3 Dec 2017 17:43:33 +0100 Subject: [PATCH] Bump phpunit to 6.5, discourage phpunit/phpunit more --- phpunit/phpunit/4.7/post-install.txt | 9 +++++++-- symfony/phpunit-bridge/3.3/bin/phpunit | 2 +- symfony/phpunit-bridge/3.3/post-install.txt | 7 ++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 751fe2a8..31f4d272 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -1,2 +1,7 @@ -Adding phpunit/phpunit as a dependency is discouraged. -You should require simple-phpunit instead. + + Adding phpunit/phpunit as a dependency is discouraged. + + + * Instead: + 1. Remove it now: composer remove phpunit/phpunit + 2. Use Symfony's bridge: composer require phpunit diff --git a/symfony/phpunit-bridge/3.3/bin/phpunit b/symfony/phpunit-bridge/3.3/bin/phpunit index 5b0e422a..75d5be85 100755 --- a/symfony/phpunit-bridge/3.3/bin/phpunit +++ b/symfony/phpunit-bridge/3.3/bin/phpunit @@ -9,7 +9,7 @@ if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) { putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml'); } if (false === getenv('SYMFONY_PHPUNIT_VERSION')) { - putenv('SYMFONY_PHPUNIT_VERSION=6.4'); + putenv('SYMFONY_PHPUNIT_VERSION=6.5'); } if (false === getenv('SYMFONY_PHPUNIT_DIR')) { putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit'); diff --git a/symfony/phpunit-bridge/3.3/post-install.txt b/symfony/phpunit-bridge/3.3/post-install.txt index 25e7f4fe..6dd929f7 100644 --- a/symfony/phpunit-bridge/3.3/post-install.txt +++ b/symfony/phpunit-bridge/3.3/post-install.txt @@ -1 +1,6 @@ -Run php bin/phpunit to launch your test suite. + + How to test? + + + * Write test cases in the tests/ folder + * Run php bin/phpunit