Test Setup Failed
Pull Request — master (#11)
by
unknown
18:13 queued 15:43
created
src/Features/Feature.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct(string $name, bool $enabled, array $rules = [])
26 26
     {
27
-        $this->name      = $name;
27
+        $this->name = $name;
28 28
         $this->enabled = $enabled;
29 29
 
30 30
         foreach ($rules as $rule) {
Please login to merge, or discard this patch.
src/Doorkeeper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         }
65 65
 
66 66
         $cache_key = md5(sprintf('%s:%s', $featureName, ($requestor) ? $requestor->getIdentityHash() : ''));
67
-        $fallback = function () use ($featureName, $requestor, $logContext): bool {
67
+        $fallback = function() use ($featureName, $requestor, $logContext): bool {
68 68
             $feature = $this->featureSet->getFeatureByName($featureName);
69 69
 
70 70
             if (!$feature->isEnabled()) {
Please login to merge, or discard this patch.
src/Identification/PipedComposite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     protected function validate($value): void
10 10
     {
11
-        if (!$value || mb_strpos((string)$value, '|') === false) {
11
+        if (!$value || mb_strpos((string) $value, '|') === false) {
12 12
             throw new \InvalidArgumentException("{$value} is not a pipe delimited composite");
13 13
         }
14 14
     }
Please login to merge, or discard this patch.
src/Rules/UserId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
 
27 27
     protected function childCanBeSatisfied(?RequestorInterface $requestor = null): bool
28 28
     {
29
-        return $this->requestorHasMatchingId( $this->userId, $requestor );
29
+        return $this->requestorHasMatchingId($this->userId, $requestor);
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Rules/AbstractRule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     protected function requestorHasMatchingId(
60 60
         Identification\IdentificationInterface $identification,
61
-		?RequestorInterface $requestor = null
61
+        ?RequestorInterface $requestor = null
62 62
     ): bool {
63 63
         if (!$requestor) {
64 64
             return false;
Please login to merge, or discard this patch.
src/Rules/Random.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
     protected function childCanBeSatisfied(?RequestorInterface $requestor = null): bool
20 20
     {
21 21
         return ($this->randomizer->generateRangedRandomInt(1, 100)
22
-         === $this->randomizer->generateRangedRandomInt(1, 100));
22
+            === $this->randomizer->generateRangedRandomInt(1, 100));
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
src/Rules/StringHash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
 
24 24
     protected function childCanBeSatisfied(?RequestorInterface $requestor = null): bool
25 25
     {
26
-        return $this->requestorHasMatchingId( $this->hash, $requestor );
26
+        return $this->requestorHasMatchingId($this->hash, $requestor);
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/Rules/Environment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
 
24 24
     protected function childCanBeSatisfied(?RequestorInterface $requestor = null): bool
25 25
     {
26
-        return $this->requestorHasMatchingId( $this->environment, $requestor );
26
+        return $this->requestorHasMatchingId($this->environment, $requestor);
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/Rules/PipedComposite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
 
24 24
     protected function childCanBeSatisfied(?RequestorInterface $requestor = null): bool
25 25
     {
26
-        return $this->requestorHasMatchingId( $this->pipedComposite, $requestor );
26
+        return $this->requestorHasMatchingId($this->pipedComposite, $requestor);
27 27
     }
28 28
 }
Please login to merge, or discard this patch.