Completed
Push — master ( 306076...c282fb )
by Alexis
01:25
created
tests/Controller/AppControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
         $response = $this->runApp('GET', '/');
12 12
 
13 13
         $this->assertEquals(200, $response->getStatusCode());
14
-        $this->assertContains('Homepage', (string)$response->getBody());
14
+        $this->assertContains('Homepage', (string) $response->getBody());
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 
6 6
 session_start();
7 7
 
8
-require __DIR__.'/../vendor/autoload.php';
8
+require __DIR__ . '/../vendor/autoload.php';
9 9
 
10 10
 if (!isset($_SERVER['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())->loadEnv(__DIR__.'/../.env');
14
+    (new Dotenv())->loadEnv(__DIR__ . '/../.env');
15 15
 }
16 16
 
17 17
 $app = new Application($_SERVER['APP_ENV'] ?? 'dev');
Please login to merge, or discard this patch.
tests/WebTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $response = new Response();
48 48
 
49
-        (new Dotenv())->loadEnv(__DIR__.'/../.env');
49
+        (new Dotenv())->loadEnv(__DIR__ . '/../.env');
50 50
 
51 51
         $app = new Application('test');
52 52
 
Please login to merge, or discard this patch.