Completed
Branch master (329ddf)
by Georges
13:20
created
Docs/Example/app/AppKernel.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
     public function registerBundles()
9 9
     {
10 10
         $bundles = [
11
-          new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
12
-          new Symfony\Bundle\SecurityBundle\SecurityBundle(),
13
-          new Symfony\Bundle\TwigBundle\TwigBundle(),
14
-          new Symfony\Bundle\MonologBundle\MonologBundle(),
15
-          new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
16
-          new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
17
-          new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
18
-          new AppBundle\AppBundle(),
11
+            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
12
+            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
13
+            new Symfony\Bundle\TwigBundle\TwigBundle(),
14
+            new Symfony\Bundle\MonologBundle\MonologBundle(),
15
+            new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
16
+            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
17
+            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
18
+            new AppBundle\AppBundle(),
19 19
             /**
20 20
              * PhpFastCache Bundle
21 21
              */
22
-          new phpFastCache\Bundle\phpFastCacheBundle(),
22
+            new phpFastCache\Bundle\phpFastCacheBundle(),
23 23
         ];
24 24
 
25 25
         if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
Please login to merge, or discard this patch.
Docs/Example/Controller/DefaultController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,8 +123,8 @@
 block discarded – undo
123 123
 
124 124
         // replace this example code with whatever you need
125 125
         return $this->render('default/index.html.twig', [
126
-          'pfc_test' => $pfc_test,
127
-          'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
126
+            'pfc_test' => $pfc_test,
127
+            'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'),
128 128
         ]);
129 129
     }
130 130
 }
131 131
\ No newline at end of file
Please login to merge, or discard this patch.
DataCollector/CacheCollector.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -46,26 +46,26 @@
 block discarded – undo
46 46
             }
47 47
             $stats[ $instanceName ] = $cache->getStats();
48 48
             $instances[ $instanceName ] = [
49
-              'driverName' => $cache->getDriverName(),
50
-              'driverConfig' => $cache->getConfig(),
49
+                'driverName' => $cache->getDriverName(),
50
+                'driverConfig' => $cache->getConfig(),
51 51
             ];
52 52
             $driverUsed[ $cache->getDriverName() ] = get_class($cache);
53 53
         }
54 54
 
55 55
         $this->data = [
56
-          'apiVersion' => phpFastCacheApi::getVersion(),
57
-          'apiChangelog' => phpFastCacheApi::getChangelog(),
58
-          'driverUsed' => $driverUsed,
59
-          'instances' => $instances,
60
-          'stats' => $stats,
61
-          'size' => $size,
62
-          'hits' => [
56
+            'apiVersion' => phpFastCacheApi::getVersion(),
57
+            'apiChangelog' => phpFastCacheApi::getChangelog(),
58
+            'driverUsed' => $driverUsed,
59
+            'instances' => $instances,
60
+            'stats' => $stats,
61
+            'size' => $size,
62
+            'hits' => [
63 63
             'read' => (int) CacheManager::$ReadHits,
64 64
             'write' => (int) CacheManager::$WriteHits,
65
-          ],
66
-          'coreConfig' => [
65
+            ],
66
+            'coreConfig' => [
67 67
             'namespacePath' => CacheManager::getNamespacePath()
68
-          ],
68
+            ],
69 69
         ];
70 70
     }
71 71
 
Please login to merge, or discard this patch.