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 c2f4426

Browse filesBrowse files
minor #38706 [PhpUnitBridge] Bump default PHPUnit version for PHP 8 to 9.4 (derrabus)
This PR was merged into the 4.4 branch. Discussion ---------- [PhpUnitBridge] Bump default PHPUnit version for PHP 8 to 9.4 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A PHPUnit 9.4 is the currently maintained branch, so let's bump our default for PHP 8 before PHP 8 is released. Commits ------- 9f32209 Bump default PHPUnit version for PHP 8 to 9.4.
2 parents 2c4dff8 + 9f32209 commit c2f4426
Copy full SHA for c2f4426

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-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
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
if (\PHP_VERSION_ID >= 80000) {
9797
// PHP 8 requires PHPUnit 9.3+
98-
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.3');
98+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.4');
9999
} elseif (\PHP_VERSION_ID >= 70200) {
100100
// PHPUnit 8 requires PHP 7.2+
101101
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.3');
@@ -196,7 +196,7 @@
196196
'requires' => ['php' => '*'],
197197
];
198198

199-
$stableVersions = array_filter($info['versions'], function($v) {
199+
$stableVersions = array_filter($info['versions'], function ($v) {
200200
return !preg_match('/-dev$|^dev-/', $v);
201201
});
202202

0 commit comments

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