GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 35d367...dc130e )
by Axel
02:52
created
src/Comparison/ArrayComparison.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
      * @return boolean
55 55
      */
56 56
     public function contains($policyRuleAttributes, $attributes, $extraData = []) {
57
-        foreach($extraData['attribute']->getValue() as $attribute) {
57
+        foreach ($extraData['attribute']->getValue() as $attribute) {
58 58
             $result = true;
59
-            foreach($policyRuleAttributes as $pra) {
59
+            foreach ($policyRuleAttributes as $pra) {
60 60
                 $attributeData = $pra->getAttribute();
61
-                if(!$this->comparisonManager->compare(
61
+                if (!$this->comparisonManager->compare(
62 62
                     $pra->getComparisonType(),
63 63
                     $pra->getComparison(),
64 64
                     $pra->getValue(),
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                     break;
69 69
                 }
70 70
             }
71
-            if($result === true) {
71
+            if ($result === true) {
72 72
                 return true;
73 73
             }
74 74
         }
Please login to merge, or discard this patch.
example/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      * @return \PhpAbac\Example\User
102 102
      */
103 103
     public function removeVisa(Visa $visa) {
104
-        if(isset($this->visas[$visa->getId()])) {
104
+        if (isset($this->visas[$visa->getId()])) {
105 105
             unset($this->visas[$visa->getId()]);
106 106
         }
107 107
         return $this;
Please login to merge, or discard this patch.