Bump phpunit to 6.5, discourage phpunit/phpunit more

This commit is contained in:
Nicolas Grekas
2017-12-03 18:09:08 +01:00
parent 0f4fe768bb
commit b45a9da144
3 changed files with 14 additions and 4 deletions
+7 -2
View File
@@ -1,2 +1,7 @@
Adding <comment>phpunit/phpunit</> as a dependency is <comment>discouraged</>.
You should require <fg=green>simple-phpunit</> instead.
<bg=yellow;fg=black> </>
<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged. </>
<bg=yellow;fg=black> </>
* <fg=blue>Instead</>:
1. Remove it now: <comment>composer remove phpunit/phpunit</>
2. Use Symfony's bridge: <comment>composer require phpunit</>
+1 -1
View File
@@ -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');
+6 -1
View File
@@ -1 +1,6 @@
Run <comment>php bin/phpunit</> to launch your test suite.
<bg=blue;fg=white> </>
<bg=blue;fg=white> How to test? </>
<bg=blue;fg=white> </>
* <fg=blue>Write</> test cases in the <comment>tests/</> folder
* <fg=blue>Run</> <comment>php bin/phpunit</>