Passed
Push — master ( 9fe120...b5cbcc )
by Dominik
04:33
created
src/Authentication/FormAuthentication.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param Request $request
110 110
      *
111
-     * @return UserPasswordInterface|null
111
+     * @return null|\Chubbyphp\Model\ModelInterface
112 112
      */
113 113
     public function getAuthenticatedUser(Request $request)
114 114
     {
Please login to merge, or discard this 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\Security\Authentication;
6 6
 
Please login to merge, or discard this patch.
src/Authorization/AuthorizationStack.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\Security\Authorization;
6 6
 
Please login to merge, or discard this patch.
src/Authentication/Exception/AuthenticationExceptionInterface.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\Security\Authentication\Exception;
6 6
 
Please login to merge, or discard this patch.
src/UserInterface.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\Security;
6 6
 
Please login to merge, or discard this patch.
src/Authorization/RoleAuthorization.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\Security\Authorization;
6 6
 
Please login to merge, or discard this patch.
src/Authorization/RoleHierarchyResolver.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\Security\Authorization;
6 6
 
Please login to merge, or discard this patch.
src/Authorization/AuthorizationInterface.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\Security\Authorization;
6 6
 
Please login to merge, or discard this patch.
src/Authorization/AuthorizationProvider.php 1 patch
Spacing   +5 added lines, -5 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\Security\Authorization;
6 6
 
@@ -16,11 +16,11 @@  discard block
 block discarded – undo
16 16
     {
17 17
         $this->registerRoleHierarchyResolver($container);
18 18
 
19
-        $container['security.authorization.authorizations'] = function () use ($container) {
19
+        $container['security.authorization.authorizations'] = function() use ($container) {
20 20
             return [];
21 21
         };
22 22
 
23
-        $container['security.authorization'] = function () use ($container) {
23
+        $container['security.authorization'] = function() use ($container) {
24 24
             return new AuthorizationStack($container['security.authorization.authorizations']);
25 25
         };
26 26
     }
@@ -30,11 +30,11 @@  discard block
 block discarded – undo
30 30
      */
31 31
     private function registerRoleHierarchyResolver(Container $container)
32 32
     {
33
-        $container['security.authorization.rolehierarchy'] = function () use ($container) {
33
+        $container['security.authorization.rolehierarchy'] = function() use ($container) {
34 34
             return [];
35 35
         };
36 36
 
37
-        $container['security.authorization.rolehierarchyresolver'] = function () use ($container) {
37
+        $container['security.authorization.rolehierarchyresolver'] = function() use ($container) {
38 38
             return new RoleHierarchyResolver(
39 39
                 $container['security.authorization.rolehierarchy'],
40 40
                 $container['logger'] ?? null
Please login to merge, or discard this patch.
src/Authorization/OwnedByUserModelInterface.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\Security\Authorization;
6 6
 
Please login to merge, or discard this patch.