Skip to content

Commit c725907

Browse files
committed
wip
1 parent a304f70 commit c725907

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

craft.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ php-version: 8.4
22
extensions:
33
- phar
44
- filter # For Symfony CompleteCommand
5+
- curl # For guzzlehttp/guzzle
56
sapi:
67
- micro
78
download-options:

src/Matrices/Matrix.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
readonly 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

0 commit comments

Comments
 (0)