Test Failed
Push — b2.0.0 ( 2234e4...c0a407 )
by Sebastian
05:36 queued 03:28
created
src/Linna/CsrfGuard/Provider/EncryptionTokenProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
         $size = \count($nonces);
184 184
 
185 185
         //try to decrypt starting from last stored nonce
186
-        for ($i = $size -1; $i > -1; $i--) {
186
+        for ($i = $size - 1; $i > -1; $i--) {
187 187
             
188 188
             //get nonce
189 189
             $nonce = $nonces[$i];
Please login to merge, or discard this patch.
src/Linna/CsrfGuard/Provider/SynchronizerTokenProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         //current time
123 123
         $time = \time();
124 124
 
125
-        for ($i = $size -1; $i > -1; $i--) {
125
+        for ($i = $size - 1; $i > -1; $i--) {
126 126
             //get token from storage
127 127
             //if token in storage doesn't match user token continue
128 128
             if (($tmpToken = \substr($tokens[$i], 0, $chars)) !== $token) {
Please login to merge, or discard this patch.