File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ php-version: 8.4
22extensions :
33 - phar
44 - filter # For Symfony CompleteCommand
5+ - curl # For guzzlehttp/guzzle
56sapi :
67 - micro
78download-options :
Original file line number Diff line number Diff line change 1313readonly class Matrix implements MatrixInterface
1414{
1515 public function __construct (
16- private ReleasesInterface $ releases ,
17- private VersionParser $ versionParser = new VersionParser (),
16+ private ReleasesInterface $ releases
1817 ) {}
1918
2019 /**
@@ -23,9 +22,6 @@ public function __construct(
2322 public function satisfiedBy (string $ constraint ): array
2423 {
2524 try {
26- // Validate constraint before passing to Semver::satisfiedBy();
27- $ this ->versionParser ->parseConstraints ($ constraint );
28-
2925 return Semver::satisfiedBy (
3026 $ this ->releases ->all (),
3127 $ constraint
You can’t perform that action at this time.
0 commit comments