Skip to content

Commit 88a3b26

Browse files
committed
Fixed CodeSniffer error.
1 parent 0048f78 commit 88a3b26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
}
3131
},
3232
"scripts": {
33-
"check": [
34-
"@phpcs"
35-
],
3633
"install-factorio": "bin/install-factorio.sh",
3734
"run": "@php bin/cli.php",
3835
"phpcbf": "phpcbf -p --colors",
3936
"phpcs": "phpcs -p --colors",
4037
"post-autoload-dump": [
4138
"mkdir -p data/cache data/export factorio/instances",
4239
"chmod 0777 data/cache data/export factorio/instances factorio/mods/Dump_1.0.0"
40+
],
41+
"test": [
42+
"@phpcs"
4343
]
4444
}
4545
}

src/Command/ListAllCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(ExportDataService $exportDataService)
4141
public function __invoke(Route $route, AdapterInterface $console)
4242
{
4343
$mods = $this->exportDataService->getMods();
44-
usort($mods, function(Mod $left, Mod $right): int {
44+
usort($mods, function (Mod $left, Mod $right): int {
4545
return $left->getOrder() <=> $right->getOrder();
4646
});
4747

@@ -51,4 +51,4 @@ public function __invoke(Route $route, AdapterInterface $console)
5151
$console->writeLine();
5252
}
5353
}
54-
}
54+
}

0 commit comments

Comments
 (0)