Passed
Pull Request — master (#15)
by Anatoly
05:02
created
config/container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use DI\Container;
6 6
 use DI\ContainerBuilder;
7 7
 
8
-return (static function (): Container {
9
-    $appEnv = $_ENV['APP_ENV'] ?? 'dev';
8
+return (static function(): Container {
9
+    $appEnv = $_ENV[ 'APP_ENV' ] ?? 'dev';
10 10
 
11 11
     $containerBuilder = new ContainerBuilder();
12 12
 
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 require_once __DIR__ . '/../vendor/autoload.php';
8 8
 
9
-set_error_handler(static function ($severity, $message, $filename, $line): never {
9
+set_error_handler(static function($severity, $message, $filename, $line): never {
10 10
     throw new ErrorException($message, 0, $severity, $filename, $line);
11 11
 });
12 12
 
Please login to merge, or discard this patch.
src/Controller/WelcomeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 use Sunrise\Http\Router\ServerRequest;
16 16
 use Sunrise\Translator\TranslatorManagerInterface;
17 17
 
18
-#[GetRoute('welcome', '/')]
18
+#[GetRoute('welcome', '/') ]
19 19
 final class WelcomeController implements RequestHandlerInterface
20 20
 {
21 21
     public const LANGUAGE_CODE_VAR_NAME = 'language_code';
Please login to merge, or discard this patch.