Completed
Pull Request — master (#15)
by
unknown
01:48
created
examples/standalone.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-require __DIR__ . '/../vendor/autoload.php';
2
+require __DIR__.'/../vendor/autoload.php';
3 3
 
4 4
 use BretRZaun\StatusPage\Check\PhpExtensionCheck;
5 5
 use BretRZaun\StatusPage\Check\PhpMemoryLimitCheck;
@@ -29,10 +29,10 @@  discard block
 block discarded – undo
29 29
 
30 30
 // determine if the user is allowed to see the details (based on their IP)
31 31
 $whitelistPattern = '.*'; // this intentionally matches everything
32
-$showDetails = (bool)preg_match('|(?mi-Us)' . $whitelistPattern . '|', $_SERVER['REMOTE_ADDR']);
32
+$showDetails = (bool) preg_match('|(?mi-Us)'.$whitelistPattern.'|', $_SERVER['REMOTE_ADDR']);
33 33
 
34 34
 // use the built-in Twig template
35
-$loader = new Twig_Loader_Filesystem(__DIR__ . '/../resources/views/');
35
+$loader = new Twig_Loader_Filesystem(__DIR__.'/../resources/views/');
36 36
 $twig = new Twig_Environment($loader, ['autoescape' => false]);
37 37
 
38 38
 $content = $twig->render(
Please login to merge, or discard this patch.