File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,13 @@ if (!ini_get('date.timezone')) {
6
6
}
7
7
8
8
if (is_file (dirname (__DIR__ ).'/vendor/phpunit/phpunit/phpunit ' )) {
9
- define ('PHPUNIT_COMPOSER_INSTALL ' , dirname (__DIR__ ).'/vendor/autoload.php ' );
10
- require PHPUNIT_COMPOSER_INSTALL ;
11
- PHPUnit \TextUI \Command::main ();
9
+ if (PHP_VERSION_ID >= 80000 ) {
10
+ require dirname (__DIR__ ).'/vendor/phpunit/phpunit/phpunit ' ;
11
+ } else {
12
+ define ('PHPUNIT_COMPOSER_INSTALL ' , dirname (__DIR__ ).'/vendor/autoload.php ' );
13
+ require PHPUNIT_COMPOSER_INSTALL ;
14
+ PHPUnit \TextUI \Command::main ();
15
+ }
12
16
} else {
13
17
if (!is_file (dirname (__DIR__ ).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php ' )) {
14
18
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`. \n" ;
Original file line number Diff line number Diff line change 14
14
<server name =" APP_ENV" value =" test" force =" true" />
15
15
<server name =" SHELL_VERBOSITY" value =" -1" />
16
16
<server name =" SYMFONY_PHPUNIT_REMOVE" value =" " />
17
- <server name =" SYMFONY_PHPUNIT_VERSION" value =" 9.5 " />
17
+ <server name =" SYMFONY_PHPUNIT_VERSION" value =" 9.6 " />
18
18
</php >
19
19
20
20
<testsuites >
Original file line number Diff line number Diff line change 334
334
"version": "v6.0.0"
335
335
},
336
336
"symfony/phpunit-bridge": {
337
- "version": "6.4 ",
337
+ "version": "7.0 ",
338
338
"recipe": {
339
339
"repo": "github.com/symfony/recipes",
340
340
"branch": "main",
341
341
"version": "6.3",
342
- "ref": "01dfaa98c58f7a7b5a9b30e6edb7074af7ed9819 "
342
+ "ref": "1f5830c331065b6e4c9d5fa2105e322d29fcd573 "
343
343
},
344
344
"files": [
345
345
".env.test",
You can’t perform that action at this time.
0 commit comments