We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aae706c + bda5f86 commit 92f4fbaCopy full SHA for 92f4fba
composer.json
@@ -21,6 +21,9 @@
21
"symfony/phpunit-bridge": "^5.4|^6.0",
22
"symfony/process": "^5.4|^6.0"
23
},
24
+ "conflict": {
25
+ "composer/semver": "<1.7.2"
26
+ },
27
"autoload": {
28
"psr-4": {
29
"Symfony\\Flex\\": "src"
src/Flex.php
@@ -293,6 +293,10 @@ public function recordOperations(InstallerEvent $event)
293
$versionParser = new VersionParser();
294
$packages = [];
295
foreach ($this->lock->all() as $name => $info) {
296
+ if ('9999999.9999999' === $info['version']) {
297
+ // Fix invalid versions found in some lock files
298
+ $info['version'] = '99999.9999999';
299
+ }
300
$packages[] = new Package($name, $versionParser->normalize($info['version']), $info['version']);
301
}
302
0 commit comments