This commit is contained in:
Fabien Potencier 2020-09-26 07:26:20 +02:00
parent 02d879f693
commit 6a5571552f

View File

@ -203,7 +203,7 @@ if (!file_exists("$PHPUNIT_DIR/$PHPUNIT_VERSION_DIR/phpunit") || $configurationH
'requires' => ['php' => '*'], 'requires' => ['php' => '*'],
]; ];
$stableVersions = array_filter($info['versions'], function($v) { $stableVersions = array_filter($info['versions'], function ($v) {
return !preg_match('/-dev$|^dev-/', $v); return !preg_match('/-dev$|^dev-/', $v);
}); });