Completed
Push — master ( 9bdeb9...0e1984 )
by Craig
11:49 queued 06:20
created
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     Request::setTrustedHosts([$trustedHosts]);
31 31
 }
32 32
 
33
-$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
33
+$kernel = new Kernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
34 34
 $request = Request::createFromGlobals();
35 35
 $response = $kernel->handle($request);
36 36
 $response->send();
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,13 +31,13 @@
 block discarded – undo
31 31
     throw new RuntimeException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
32 32
 } else {
33 33
     // load all the .env files
34
-    (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
34
+    (new Dotenv(false))->loadEnv(dirname(__DIR__) . '/.env');
35 35
 }
36 36
 
37 37
 $_SERVER += $_ENV;
38 38
 $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';
39 39
 $_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];
40
-$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
40
+$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int)$_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
41 41
 
42 42
 $kernelConfig = Yaml::parse(file_get_contents(realpath(__DIR__ . '/services.yaml')));
43 43
 if (is_readable($file = __DIR__ . '/services_custom.yaml')) {
Please login to merge, or discard this patch.
src/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     Request::setTrustedHosts([$trustedHosts]);
31 31
 }
32 32
 
33
-$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
33
+$kernel = new Kernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
34 34
 $request = Request::createFromGlobals();
35 35
 $response = $kernel->handle($request);
36 36
 $response->send();
Please login to merge, or discard this patch.