File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 44
55namespace TypistTech \PhpMatrix \Console ;
66
7- use Attribute ;
87use Symfony \Component \Console \Attribute \Option ;
98
10- #[Attribute(Attribute::TARGET_PARAMETER )]
9+ #[\ Attribute(\ Attribute::TARGET_PARAMETER )]
1110class ModeOption extends Option
1211{
1312 public function __construct ()
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 44
55namespace TypistTech \PhpMatrix \Console ;
66
7- use Attribute ;
87use Symfony \Component \Console \Attribute \Option ;
98
10- #[Attribute(Attribute::TARGET_PARAMETER )]
9+ #[\ Attribute(\ Attribute::TARGET_PARAMETER )]
1110class SourceOption extends Option
1211{
1312 public function __construct ()
You can’t perform that action at this time.
0 commit comments