Completed
Push — master ( e5c4e9...1f2b71 )
by Matze
07:17
created
src/DependencyInjection/CompilerPass/ConfigCompilerPass.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
         $loader     = new XmlFileLoader($container, new FileLocator());
27 27
         $filesystem = new Filesystem();
28 28
 
29
-        if ($filesystem->exists(ROOT . 'app/container.xml')) {
30
-            $loader->load(ROOT . 'app/container.xml');
31
-        } elseif ($filesystem->exists(ROOT . '/container.xml')) {
32
-            $loader->load(ROOT . '/container.xml');
29
+        if ($filesystem->exists(ROOT.'app/container.xml')) {
30
+            $loader->load(ROOT.'app/container.xml');
31
+        } elseif ($filesystem->exists(ROOT.'/container.xml')) {
32
+            $loader->load(ROOT.'/container.xml');
33 33
         }
34 34
 
35 35
         $container->setParameter('dicId', uniqid());
Please login to merge, or discard this patch.
src/Core.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@
 block discarded – undo
16 16
      */
17 17
     public function boot() : Container
18 18
     {
19
-        $fileName = ROOT . 'cache/dic.php';
19
+        $fileName = ROOT.'cache/dic.php';
20 20
         /** @var Container $dic */
21 21
         if (!is_file($fileName)) {
22 22
             $rebuild = new Rebuild();
23 23
             $rebuild->buildContainer();
24 24
         }
25 25
 
26
-        $className = file_get_contents(ROOT . 'cache/dic.txt');
26
+        $className = file_get_contents(ROOT.'cache/dic.txt');
27 27
         if (!class_exists($className, false)) {
28 28
             include $fileName;
29 29
         }
Please login to merge, or discard this patch.