1
0
Fork 0

Allow using self.version with require command, fixes #10593

pull/10621/head
Jordi Boggiano 2022-03-15 12:26:32 +01:00
parent bf235eba56
commit 2d7f1569f3
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 3 additions and 0 deletions

View File

@ -225,6 +225,9 @@ EOT
return 1; return 1;
} }
if ($constraint === 'self.version') {
continue;
}
$versionParser->parseConstraints($constraint); $versionParser->parseConstraints($constraint);
} }