Skip to content

Commit d3ccbc9

Browse files
Merge branch '4.4'
* 4.4: [PhpUnitBridge] Bump PHPUnit 7+8 Prepare for PHP 7.4 preload prevent double deprecation message [Validator] Deprecate unused arg in ExpressionValidator [Config] Introduce find method in ArrayNodeDefinition to ease configuration tree manipulation [DomCrawler][Feature][DX] Add Form::getName() method [VarDumper] caster for HttpClient's response dumps all info
2 parents 8c7b1c4 + ab9e20a commit d3ccbc9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/simple-phpunit.php

Lines 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)