Test Failed
Push — master ( 05e238...8a6ea4 )
by Jelmer
15:50
created
Category
src/Acl/BasicAclEntry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         } elseif (substr($this->actorMatcher, -3, 3) === '::*') {
28 28
             return $actor->getType() === substr($this->actorMatcher, 0, -3);
29 29
         }
30
-        return $actor->getType().'::'.$actor->getId() === $this->actorMatcher;
30
+        return $actor->getType() . '::' . $actor->getId() === $this->actorMatcher;
31 31
     }
32 32
 
33 33
     /**
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         } elseif (substr($this->resourceMatcher, -3, 3) === '::*') {
43 43
             return $resource->getType() === substr($this->resourceMatcher, 0, -3);
44 44
         }
45
-        return $resource->getType().'::'.$resource->getId() === $this->resourceMatcher;
45
+        return $resource->getType() . '::' . $resource->getId() === $this->resourceMatcher;
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Rbac/BasicRoleProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function getRolesForActor(AuthorizationEntityInterface $actor): RolesCollection
19 19
     {
20
-        $actorIdentifier = $actor->getType().'::'.$actor->getId();
20
+        $actorIdentifier = $actor->getType() . '::' . $actor->getId();
21 21
         return $this->roleMap[$actorIdentifier] ?? new RolesCollection();
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Rbac/BasicPermission.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         } elseif (substr($this->resourceMatcher, -3, 3) === '::*') {
26 26
             return $resource->getType() === substr($this->resourceMatcher, 0, -3);
27 27
         }
28
-        return $resource->getType().'::'.$resource->getId() === $this->resourceMatcher;
28
+        return $resource->getType() . '::' . $resource->getId() === $this->resourceMatcher;
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.