Completed
Push — V3 ( 0e62df...9c40c0 )
by Georges
03:02
created
src/Twig/HumanReadableExtension/Extension.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function getFilters()
29 29
     {
30 30
         return [
31
-          new \Twig_SimpleFilter('sizeFormat', [$this, 'size_format']),
31
+            new \Twig_SimpleFilter('sizeFormat', [$this, 'size_format']),
32 32
         ];
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/Twig/CacheExtension/Node/CacheNode.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
     public function __construct(\Twig_Node_Expression $annotation, \Twig_Node_Expression $keyInfo, \Twig_Node $body, $lineno, $tag = null)
37 37
     {
38 38
         parent::__construct([
39
-          'key_info' => $keyInfo,
40
-          'body' => $body,
41
-          'annotation' => $annotation
39
+            'key_info' => $keyInfo,
40
+            'body' => $body,
41
+            'annotation' => $annotation
42 42
         ], [], $lineno, $tag);
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/Twig/CacheExtension/CacheStrategy/LifetimeCacheStrategy.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
 
78 78
         if ($this->cacheCollector instanceof CacheCollector) {
79 79
             $this->cacheCollector->setTwigCacheBlock($unprefixedKey, [
80
-              'cacheHit' => $cacheData !== null,
81
-              'cacheTtl' => $key[ 'lifetime' ],
82
-              'cacheSize' => mb_strlen((string)$cacheData),
83
-              'cacheGenTime' => $generationTime,
80
+                'cacheHit' => $cacheData !== null,
81
+                'cacheTtl' => $key[ 'lifetime' ],
82
+                'cacheSize' => mb_strlen((string)$cacheData),
83
+                'cacheGenTime' => $generationTime,
84 84
             ]);
85 85
         }
86 86
 
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
         }
102 102
 
103 103
         return [
104
-          'lifetime' => $value,
105
-          'key' => $this->twigCachePrefix . $annotation,
104
+            'lifetime' => $value,
105
+            'key' => $this->twigCachePrefix . $annotation,
106 106
         ];
107 107
     }
108 108
 
@@ -115,10 +115,10 @@  discard block
 block discarded – undo
115 115
 
116 116
         if ($this->cacheCollector instanceof CacheCollector) {
117 117
             $this->cacheCollector->setTwigCacheBlock($unprefixedKey, [
118
-              'cacheHit' => false,
119
-              'cacheTtl' => $key[ 'lifetime' ],
120
-              'cacheSize' => \mb_strlen((string)$block),
121
-              'cacheGenTime' => $generationTime,
118
+                'cacheHit' => false,
119
+                'cacheTtl' => $key[ 'lifetime' ],
120
+                'cacheSize' => \mb_strlen((string)$block),
121
+                'cacheGenTime' => $generationTime,
122 122
             ]);
123 123
         }
124 124
 
Please login to merge, or discard this patch.
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->phpfastcache->getConfig()['twig_driver'],
95 95
             'twig_block_debug' => $this->phpfastcache->getConfig()['twig_block_debug'],
96
-          ],
96
+            ],
97 97
         ];
98 98
     }
99 99
 
Please login to merge, or discard this patch.