Completed
Push — symfony-flex ( 2a70a0 )
by Kamil
26:10 queued 12:40
created
public/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 use Symfony\Component\Dotenv\Dotenv;
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 
7
-require __DIR__.'/../vendor/autoload.php';
7
+require __DIR__ . '/../vendor/autoload.php';
8 8
 
9 9
 // The check is to ensure we don't use .env in production
10 10
 if (!isset($_SERVER['APP_ENV']) && !isset($_ENV['APP_ENV'])) {
11 11
     if (!class_exists(Dotenv::class)) {
12 12
         throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.');
13 13
     }
14
-    (new Dotenv())->load(__DIR__.'/../.env');
14
+    (new Dotenv())->load(__DIR__ . '/../.env');
15 15
 }
16 16
 
17 17
 $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? 'dev';
Please login to merge, or discard this patch.