Skip to content

Commit 27febdf

Browse files
committed
wip
1 parent 46bd7bb commit 27febdf

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

src/Console/Application.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ public static function make(): ConsoleApplication
1818
InstalledVersions::getPrettyVersion('typisttech/php-matrix') ?? 'unknown',
1919
);
2020

21-
$constraintCommand = new ConstraintCommand;
22-
2321
$app->addCommands([
2422
new ComposerCommand,
25-
$constraintCommand,
23+
new ConstraintCommand,
2624
]);
2725

2826
return $app;

src/Console/ModeOption.php

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

55
namespace TypistTech\PhpMatrix\Console;
66

7-
use Attribute;
87
use Symfony\Component\Console\Attribute\Option;
98

10-
#[Attribute(Attribute::TARGET_PARAMETER)]
9+
#[\Attribute(\Attribute::TARGET_PARAMETER)]
1110
class ModeOption extends Option
1211
{
1312
public function __construct()

src/Console/PrintErrorTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ trait PrintErrorTrait
1010
{
1111
private function printError(SymfonyStyle $io, string $message): void
1212
{
13-
$io->getErrorStyle()
13+
$io
14+
->getErrorStyle()
1415
->error($message);
1516
}
1617
}

src/Console/SourceOption.php

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

55
namespace TypistTech\PhpMatrix\Console;
66

7-
use Attribute;
87
use Symfony\Component\Console\Attribute\Option;
98

10-
#[Attribute(Attribute::TARGET_PARAMETER)]
9+
#[\Attribute(\Attribute::TARGET_PARAMETER)]
1110
class SourceOption extends Option
1211
{
1312
public function __construct()

0 commit comments

Comments
 (0)