Passed
Push — develop ( 7c7957...55acaa )
by nguereza
02:50
created
src/Cache/FileCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-    * {@inheritdoc}
91
-    */
90
+     * {@inheritdoc}
91
+     */
92 92
     public function read(string $key, bool $unserialize = true)
93 93
     {
94 94
         if (!$this->exists($key)) {
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    * {@inheritdoc}
109
-    */
108
+     * {@inheritdoc}
109
+     */
110 110
     public function exists(string $key): bool
111 111
     {
112 112
         $file = $this->getFilePath($key);
@@ -119,8 +119,8 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-    * {@inheritdoc}
123
-    */
122
+     * {@inheritdoc}
123
+     */
124 124
     public function write(string $key, $value, bool $serialize = true): bool
125 125
     {
126 126
         $file = $this->getFilePath($key);
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
 
138 138
 
139 139
     /**
140
-    * {@inheritdoc}
141
-    */
140
+     * {@inheritdoc}
141
+     */
142 142
     public function flush(bool $expired = false): bool
143 143
     {
144 144
         $list = glob(sprintf('%s%s*', $this->path, $this->prefix));
Please login to merge, or discard this patch.
src/Cache/NullCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,24 +56,24 @@  discard block
 block discarded – undo
56 56
 class NullCache extends AbstractCache
57 57
 {
58 58
     /**
59
-    * {@inheritdoc}
60
-    */
59
+     * {@inheritdoc}
60
+     */
61 61
     public function read(string $key, bool $unserialize = false)
62 62
     {
63 63
         return false;
64 64
     }
65 65
 
66 66
     /**
67
-    * {@inheritdoc}
68
-    */
67
+     * {@inheritdoc}
68
+     */
69 69
     public function exists(string $key): bool
70 70
     {
71 71
         return false;
72 72
     }
73 73
 
74 74
     /**
75
-    * {@inheritdoc}
76
-    */
75
+     * {@inheritdoc}
76
+     */
77 77
     public function write(string $key, $value, bool $serialize = false): bool
78 78
     {
79 79
         return true;
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
 
82 82
 
83 83
     /**
84
-    * {@inheritdoc}
85
-    */
84
+     * {@inheritdoc}
85
+     */
86 86
     public function flush(bool $expired = false): bool
87 87
     {
88 88
         return true;
Please login to merge, or discard this patch.
src/Cache/ApcCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-    * {@inheritdoc}
78
-    */
77
+     * {@inheritdoc}
78
+     */
79 79
     public function read(string $key, bool $unserialize = true)
80 80
     {
81 81
         $success = false;
@@ -85,16 +85,16 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-    * {@inheritdoc}
89
-    */
88
+     * {@inheritdoc}
89
+     */
90 90
     public function exists(string $key): bool
91 91
     {
92 92
         return apcu_exists($this->prefix . $key) === true;
93 93
     }
94 94
 
95 95
     /**
96
-    * {@inheritdoc}
97
-    */
96
+     * {@inheritdoc}
97
+     */
98 98
     public function write(string $key, $value, bool $serialize = true): bool
99 99
     {
100 100
         return apcu_store($this->prefix . $key, $value, $this->expire);
@@ -102,8 +102,8 @@  discard block
 block discarded – undo
102 102
 
103 103
 
104 104
     /**
105
-    * {@inheritdoc}
106
-    */
105
+     * {@inheritdoc}
106
+     */
107 107
     public function flush(bool $expired = false): bool
108 108
     {
109 109
         return apcu_clear_cache();
Please login to merge, or discard this patch.
src/Cache/MemoryCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     protected array $data = [];
63 63
 
64 64
     /**
65
-    * {@inheritdoc}
66
-    */
65
+     * {@inheritdoc}
66
+     */
67 67
     public function read(string $key, bool $unserialize = false)
68 68
     {
69 69
         if (!$this->exists($key)) {
@@ -74,16 +74,16 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-    * {@inheritdoc}
78
-    */
77
+     * {@inheritdoc}
78
+     */
79 79
     public function exists(string $key): bool
80 80
     {
81 81
         return isset($this->data[$key]);
82 82
     }
83 83
 
84 84
     /**
85
-    * {@inheritdoc}
86
-    */
85
+     * {@inheritdoc}
86
+     */
87 87
     public function write(string $key, $value, bool $serialize = false): bool
88 88
     {
89 89
         $this->data[$key] = $value;
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
 
94 94
 
95 95
     /**
96
-    * {@inheritdoc}
97
-    */
96
+     * {@inheritdoc}
97
+     */
98 98
     public function flush(bool $expired = false): bool
99 99
     {
100 100
         $this->data = [];
Please login to merge, or discard this patch.
src/Tag/CaptureTag.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
     protected string $variableName;
69 69
 
70 70
     /**
71
-    * {@inheritdoc}
72
-    */
71
+     * {@inheritdoc}
72
+     */
73 73
     public function __construct(string $markup, &$tokens, Parser $parser)
74 74
     {
75 75
         $lexer = new Lexer('/(\w+)/');
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-    * {@inheritdoc}
89
-    */
88
+     * {@inheritdoc}
89
+     */
90 90
     public function render(Context $context): string
91 91
     {
92 92
         $output = parent::render($context);
Please login to merge, or discard this patch.
src/Tag/CycleTag.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     protected array $variables = [];
78 78
 
79 79
     /**
80
-    * {@inheritdoc}
81
-    */
80
+     * {@inheritdoc}
81
+     */
82 82
     public function __construct(string $markup, &$tokens, Parser $parser)
83 83
     {
84 84
         $lexerSimple = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-    * {@inheritdoc}
102
-    */
101
+     * {@inheritdoc}
102
+     */
103 103
     public function render(Context $context): string
104 104
     {
105 105
         $context->push();
Please login to merge, or discard this patch.
src/Tag/ExtendsTag.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
     protected string $hash;
84 84
 
85 85
     /**
86
-    * {@inheritdoc}
87
-    */
86
+     * {@inheritdoc}
87
+     */
88 88
     public function __construct(string $markup, &$tokens, Parser $parser)
89 89
     {
90 90
         $lexer = new Lexer('/("[^"]+"|\'[^\']+\')?/');
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    * {@inheritdoc}
109
-    */
108
+     * {@inheritdoc}
109
+     */
110 110
     public function parse(&$tokens): void
111 111
     {
112 112
         $source = $this->parser->getLoader()->read($this->templateName);
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
 
188 188
 
189 189
     /**
190
-    * {@inheritdoc}
191
-    */
190
+     * {@inheritdoc}
191
+     */
192 192
     public function render(Context $context): string
193 193
     {
194 194
         $context->push();
Please login to merge, or discard this patch.
src/Tag/IfchangedTag.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,16 +67,16 @@
 block discarded – undo
67 67
     protected string $lastValue = '';
68 68
 
69 69
     /**
70
-    * {@inheritdoc}
71
-    */
70
+     * {@inheritdoc}
71
+     */
72 72
     public function __construct(string $markup, &$tokens, Parser $parser)
73 73
     {
74 74
         parent::__construct($markup, $tokens, $parser);
75 75
     }
76 76
 
77 77
     /**
78
-    * {@inheritdoc}
79
-    */
78
+     * {@inheritdoc}
79
+     */
80 80
     public function render(Context $context): string
81 81
     {
82 82
         $output = parent::render($context);
Please login to merge, or discard this patch.
src/Tag/ForTag.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
     protected $start;
108 108
 
109 109
     /**
110
-    * {@inheritdoc}
111
-    */
110
+     * {@inheritdoc}
111
+     */
112 112
     public function __construct(string $markup, &$tokens, Parser $parser)
113 113
     {
114 114
         parent::__construct($markup, $tokens, $parser);
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-    * {@inheritdoc}
148
-    */
147
+     * {@inheritdoc}
148
+     */
149 149
     public function render(Context $context): string
150 150
     {
151 151
         if (!$context->hasRegister('for')) {
Please login to merge, or discard this patch.