Closed localheinz closed 4 months ago
Hmm.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.93%. Comparing base (
9ed46b6
) to head (08ec02a
). Report is 5 commits behind head on 9.2.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@sebastianbergmann
Running
<?php
declare(strict_types=1);
use Composer\Semver;
require_once __DIR__ . '/../vendor/autoload.php';
$versions = [
'9.2-dev',
'9.2.x-dev',
'9.3-dev',
'9.3.x-dev',
];
$constraint = '^9.2.13';
var_dump(array_combine(
$versions,
array_map(static function (string $version) use ($constraint): string {
return sprintf(
'%s %s',
Semver\Semver::satisfies($version, $constraint) ? 'satisfies' : 'does not satisfy',
$constraint
);
}, $versions)
));
yields
array(4) {
["9.2-dev"]=>
string(24) "does not satisfy ^9.2.13"
["9.2.x-dev"]=>
string(17) "satisfies ^9.2.13"
["9.3-dev"]=>
string(17) "satisfies ^9.2.13"
["9.3.x-dev"]=>
string(17) "satisfies ^9.2.13"
}
Does that make sense?
Does that make sense?
No, but it seems to fix the build :-) Thanks!
This pull request
COMPOSER_ROOT_VERSION
environment variableRelated to #1038.