Completed
Push — V3 ( e2eaf1...ec4077 )
by Georges
10:02
created
src/DataCollector/CacheCollector.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -65,35 +65,35 @@
 block discarded – undo
65 65
             }
66 66
             $stats[ $instanceName ] = $cache->getStats();
67 67
             $instances[ $instanceName ] = [
68
-              'driverName' => $cache->getDriverName(),
69
-              'configClassName' => \get_class( $cache->getConfig()),
70
-              'driverConfig' => $cache->getConfig()->toArray()
68
+                'driverName' => $cache->getDriverName(),
69
+                'configClassName' => \get_class( $cache->getConfig()),
70
+                'driverConfig' => $cache->getConfig()->toArray()
71 71
             ];
72 72
             $driverUsed[ $cache->getDriverName() ] = \get_class($cache);
73 73
         }
74 74
 
75 75
         $this->data = [
76
-          'twigCacheBlocks' => $this->twig_cache_blocks,
77
-          'apiVersion' => PhpfastcacheApi::getVersion(),
78
-          'pfcVersion' => PhpfastcacheApi::getPhpFastCacheVersion(),
79
-          'bundleVersion' => phpFastCacheBundle::VERSION,
80
-          'apiChangelog' => PhpfastcacheApi::getChangelog(),
81
-          'driverUsed' => $driverUsed,
82
-          'instances' => $instances,
83
-          'stats' => $stats,
84
-          'size' => $size,
85
-          'hits' => [
76
+            'twigCacheBlocks' => $this->twig_cache_blocks,
77
+            'apiVersion' => PhpfastcacheApi::getVersion(),
78
+            'pfcVersion' => PhpfastcacheApi::getPhpFastCacheVersion(),
79
+            'bundleVersion' => phpFastCacheBundle::VERSION,
80
+            'apiChangelog' => PhpfastcacheApi::getChangelog(),
81
+            'driverUsed' => $driverUsed,
82
+            'instances' => $instances,
83
+            'stats' => $stats,
84
+            'size' => $size,
85
+            'hits' => [
86 86
             'read' => (int) CacheManager::$ReadHits,
87 87
             'write' => (int) CacheManager::$WriteHits,
88
-          ],
89
-          'coreConfig' => [
88
+            ],
89
+            'coreConfig' => [
90 90
             'driverList' => CacheManager::getDriverList(true),
91 91
             'namespacePath (deprecated)' => CacheManager::getNamespacePath(),
92
-          ],
93
-          'projectConfig' => [
92
+            ],
93
+            'projectConfig' => [
94 94
             'twig_driver' => $this->cache->getConfig()['twig_driver'],
95 95
             'twig_block_debug' => $this->cache->getConfig()['twig_block_debug'],
96
-          ],
96
+            ],
97 97
         ];
98 98
     }
99 99
 
Please login to merge, or discard this patch.
src/Service/Phpfastcache.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,11 +97,11 @@
 block discarded – undo
97 97
                     $configClass = $driverClass::getConfigClass();
98 98
                     if(\class_exists($configClass)){
99 99
                         $this->createInstance(
100
-                          $name,
101
-                          CacheManager::getInstance(
100
+                            $name,
101
+                            CacheManager::getInstance(
102 102
                             $this->config[ 'drivers' ][ $name ][ 'type' ],
103 103
                             new $configClass($this->config[ 'drivers' ][ $name ][ 'parameters' ])
104
-                          )
104
+                            )
105 105
                         );
106 106
                     }else{
107 107
                         throw new PhpfastcacheInvalidConfigurationException('Invalid configuration class name: ' . $configClass);
Please login to merge, or discard this patch.
src/Twig/CacheExtension/Extension.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     public function getTokenParsers()
60 60
     {
61 61
         return [
62
-          new TokenParser\Cache(),
62
+            new TokenParser\Cache(),
63 63
         ];
64 64
     }
65 65
 }
Please login to merge, or discard this patch.