mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Bump phpunit to 6.5, discourage phpunit/phpunit more
This commit is contained in:
@@ -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</>
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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</>
|
||||
|
||||
Reference in New Issue
Block a user