Skip to content

Commit ed6b10b

Browse files
committed
wip
1 parent 16aeeb0 commit ed6b10b

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/Console/ModeOption.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
namespace TypistTech\PhpMatrix\Console;
66

7+
use Attribute;
78
use Symfony\Component\Console\Attribute\Option;
89

9-
#[\Attribute(\Attribute::TARGET_PARAMETER)]
10+
#[Attribute(Attribute::TARGET_PARAMETER)]
1011
class ModeOption extends Option
1112
{
1213
public function __construct()

src/Console/SourceOption.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
namespace TypistTech\PhpMatrix\Console;
66

7+
use Attribute;
78
use Symfony\Component\Console\Attribute\Option;
89

9-
#[\Attribute(\Attribute::TARGET_PARAMETER)]
10+
#[Attribute(Attribute::TARGET_PARAMETER)]
1011
class SourceOption extends Option
1112
{
1213
public function __construct()

src/Matrix.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace TypistTech\PhpMatrix;
66

77
use Composer\Semver\Semver;
8+
use UnexpectedValueException;
89

910
readonly class Matrix implements MatrixInterface
1011
{
@@ -22,7 +23,7 @@ public function satisfiedBy(string $constraint): array
2223
$this->releases->all(),
2324
$constraint
2425
);
25-
} catch (\UnexpectedValueException $e) {
26+
} catch (UnexpectedValueException $e) {
2627
throw new Exceptions\UnexpectedValueException(
2728
$e->getMessage(),
2829
previous: $e

0 commit comments

Comments
 (0)