We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * Not intended to be used outside the DI context. |
| 27 | 27 | */ |
| 28 | 28 | public static function mysqliFactory(DatabaseProperties $dbProperties): mysqli { |
| 29 | - if (!mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT)) { |
|
| 29 | + if (!mysqli_report(MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT)) { |
|
| 30 | 30 | throw new RuntimeException('Failed to enable mysqli error reporting'); |
| 31 | 31 | } |
| 32 | 32 | $mysql = new mysqli( |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | 'illusion' => $ship->canHaveIllusion() ? 'Yes' : '', |
| 71 | 71 | 'jump' => $ship->canHaveJump() ? 'Yes' : '', |
| 72 | 72 | 'scrambler' => $ship->canHaveDCS() ? 'Yes' : '', |
| 73 | - 'locs' => implode('', array_map(fn(string $name): string => '<div>' . $name . '</div>', $shipLocs)), |
|
| 73 | + 'locs' => implode('', array_map(fn(string $name) : string => '<div>' . $name . '</div>', $shipLocs)), |
|
| 74 | 74 | ]; |
| 75 | 75 | return $stat; |
| 76 | 76 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | public const TIME_BETWEEN_VOTING = 84600; // 23.5 hours |
| 15 | 15 | |
| 16 | - private static ?array $CACHE_TIMEOUTS = null; |
|
| 16 | + private static ? array $CACHE_TIMEOUTS = null; |
|
| 17 | 17 | |
| 18 | 18 | public readonly array $data; |
| 19 | 19 | |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | * Searches for placeholders in template and replaces them with values |
| 122 | 122 | * derived from the supplied data. |
| 123 | 123 | */ |
| 124 | -function replaceMissionTemplate(string|int|PlotGroup &$template, string $key, array $data): void { |
|
| 124 | +function replaceMissionTemplate(string|int|PlotGroup&$template, string $key, array $data): void { |
|
| 125 | 125 | if (!is_string($template)) { |
| 126 | 126 | return; |
| 127 | 127 | } |