Skip to content

Commit 177eaeb

Browse files
authored
Apply coding style (#50)
1 parent 0adb128 commit 177eaeb

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

bin/php-matrix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare(strict_types=1);
55

66
use TypistTech\PhpMatrix\Console\Application;
77

8-
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
8+
include $_composer_autoload_path ?? __DIR__.'/../vendor/autoload.php';
99

1010
Application::make()
1111
->run();

bin/update-all-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ declare(strict_types=1);
66
use Composer\Semver\Semver;
77
use 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);

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/PrintErrorTrait.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

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()

0 commit comments

Comments
 (0)