Passed
Push — master ( 675b68...20672d )
by Dominik
01:42
created
src/CsrfTokenGeneratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
Please login to merge, or discard this patch.
src/CsrfTokenGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
Please login to merge, or discard this patch.
src/CsrfMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
Please login to merge, or discard this patch.
src/CsrfProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     {
19 19
         $container['csrf.tokenGenerator.entropy'] = 256;
20 20
 
21
-        $container['csrf.tokenGenerator'] = function () use ($container) {
21
+        $container['csrf.tokenGenerator'] = function() use ($container) {
22 22
             return new CsrfTokenGenerator($container['csrf.tokenGenerator.entropy']);
23 23
         };
24 24
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             }
34 34
         };
35 35
 
36
-        $container['csrf.middleware'] = function () use ($container) {
36
+        $container['csrf.middleware'] = function() use ($container) {
37 37
             return new CsrfErrorResponseMiddleware(
38 38
                 $container['csrf.tokenGenerator'],
39 39
                 $container['session'],
Please login to merge, or discard this patch.
src/CsrfErrorResponseMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
Please login to merge, or discard this patch.
src/CsrfErrorHandlerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Csrf;
6 6
 
Please login to merge, or discard this patch.