Skip to content

Commit 4043374

Browse files
committed
bug #50760 [HttpFoundation] Require PHPUnit 9.6 by default (nicolas-grekas)
This PR was merged into the 6.3 branch. Discussion ---------- [HttpFoundation] Require PHPUnit 9.6 by default | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Related to symfony/recipes#1219 Commits ------- 2f06008 [PhpUnitBridge] Require PHPUnit 9.6 by default
2 parents d3ba2be + 2f06008 commit 4043374

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,8 @@
9898
};
9999

100100
if (\PHP_VERSION_ID >= 80000) {
101-
// PHP 8 requires PHPUnit 9.3+, PHP 8.1 requires PHPUnit 9.5+
102-
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.5') ?: '9.5';
101+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.6') ?: '9.6';
103102
} elseif (\PHP_VERSION_ID >= 70200) {
104-
// PHPUnit 8 requires PHP 7.2+
105103
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.5') ?: '8.5';
106104
} else {
107105
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '7.5') ?: '7.5';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy