File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ declare(strict_types=1);
55
66use TypistTech \PhpMatrix \Console \Application ;
77
8- include $ _composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php ' ;
8+ include $ _composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php ' ;
99
1010Application::make ()
1111 ->run ();
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ declare(strict_types=1);
66use Composer \Semver \Semver ;
77use TypistTech \PhpMatrix \Releases \PhpNetReleases ;
88
9- include $ _composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php ' ;
9+ include $ _composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php ' ;
1010
1111$ releases = new PhpNetReleases ;
1212$ data = $ releases ->all ();
1313$ data = Semver::rsort ($ data );
1414
1515$ content = json_encode ($ data , JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES );
16- file_put_contents (__DIR__ . '/../resources/all-versions.json ' , $ content );
16+ file_put_contents (__DIR__ . '/../resources/all-versions.json ' , $ content );
Original file line number Diff line number Diff line change 44
55namespace TypistTech \PhpMatrix \Console ;
66
7+ use Attribute ;
78use Symfony \Component \Console \Attribute \Option ;
89
9- #[\ Attribute(\ Attribute::TARGET_PARAMETER )]
10+ #[Attribute(Attribute::TARGET_PARAMETER )]
1011class ModeOption extends Option
1112{
1213 public function __construct ()
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ trait PrintErrorTrait
1010{
1111 private function printError (SymfonyStyle $ io , string $ message ): void
1212 {
13- $ io
14- ->getErrorStyle ()
13+ $ io ->getErrorStyle ()
1514 ->error ($ message );
1615 }
1716}
Original file line number Diff line number Diff line change 44
55namespace TypistTech \PhpMatrix \Console ;
66
7+ use Attribute ;
78use Symfony \Component \Console \Attribute \Option ;
89
9- #[\ Attribute(\ Attribute::TARGET_PARAMETER )]
10+ #[Attribute(Attribute::TARGET_PARAMETER )]
1011class SourceOption extends Option
1112{
1213 public function __construct ()
You can’t perform that action at this time.
0 commit comments