Passed
Push — master ( 35eebd...7b8a1a )
by Roman
16:45
created
code/ecs.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 include 'src/Game/config/ecs.php';
21 21
 include 'src/SharedKernel/config/ecs.php';
22 22
 
23
-return static function (ContainerConfigurator $containerConfigurator): void {
23
+return static function(ContainerConfigurator $containerConfigurator): void {
24 24
     $services = $containerConfigurator->services();
25 25
     $services->set(ArraySyntaxFixer::class)
26 26
         ->call('configure', [[
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
         Option::SKIP,
56 56
         array_merge(
57 57
             [__DIR__ . '/src/Kernel.php'],
58
-            array_map(static fn (string $path) => __DIR__ . $path, CROSSWORD_SKIP_PATH),
59
-            array_map(static fn (string $path) => __DIR__ . $path, DICTIONARY_SKIP_PATH),
60
-            array_map(static fn (string $path) => __DIR__ . $path, GAME_SKIP_PATH),
61
-            array_map(static fn (string $path) => __DIR__ . $path, SHARED_KERNEL_SKIP_PATH),
58
+            array_map(static fn(string $path) => __DIR__ . $path, CROSSWORD_SKIP_PATH),
59
+            array_map(static fn(string $path) => __DIR__ . $path, DICTIONARY_SKIP_PATH),
60
+            array_map(static fn(string $path) => __DIR__ . $path, GAME_SKIP_PATH),
61
+            array_map(static fn(string $path) => __DIR__ . $path, SHARED_KERNEL_SKIP_PATH),
62 62
         )
63 63
     );
64 64
 };
Please login to merge, or discard this patch.
code/src/Game/Infrastructure/Dao/InMemory/InMemoryHistoryDao.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $this->histories = array_reduce(
21 21
             $history,
22
-            static function (array $histories, History $history): array {
22
+            static function(array $histories, History $history): array {
23 23
                 $histories[(string) $history->historyId()] = $history;
24 24
 
25 25
                 return $histories;
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function ratingHistory(int $limit = self::LIMIT): array
32 32
     {
33 33
         return array_map(
34
-            static fn (History $history) => new HistoryRatingDto('test', $history->level()),
34
+            static fn(History $history) => new HistoryRatingDto('test', $history->level()),
35 35
             $this->histories
36 36
         );
37 37
     }
Please login to merge, or discard this patch.