Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5491d53

Browse filesBrowse files
ro0NLfabpot
authored andcommitted
[PhpUnitBridge] Bump PHPUnit 7+8
1 parent 9f6cbaa commit 5491d53
Copy full SHA for 5491d53

File tree

1 file changed

+5
-2
lines changed
Filter options

1 file changed

+5
-2
lines changed

‎src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@
4747
return $default;
4848
};
4949

50-
if (PHP_VERSION_ID >= 70100) {
50+
if (PHP_VERSION_ID >= 70200) {
51+
// PHPUnit 8 requires PHP 7.2+
52+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.2');
53+
} elseif (PHP_VERSION_ID >= 70100) {
5154
// PHPUnit 7 requires PHP 7.1+
52-
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '7.4');
55+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '7.5');
5356
} elseif (PHP_VERSION_ID >= 70000) {
5457
// PHPUnit 6 requires PHP 7.0+
5558
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '6.5');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.