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.
Test Failed
Push — master ( d9a634...e591c7 )
by Juan Jose
07:17 queued 16s
created
examples/AdvancedConstraints/PersistentLocation.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,9 @@  discard block
 block discarded – undo
86 86
 foreach ($json as $address) {
87 87
 
88 88
     // skip persistent
89
-    if($address['address'] == '4738 BELLEVUE AVE, Louisville, KY, 40215') continue;
89
+    if($address['address'] == '4738 BELLEVUE AVE, Louisville, KY, 40215') {
90
+    	continue;
91
+    }
90 92
 
91 93
     $addresses[] = Address::fromArray([
92 94
         'address' => $address['address'],
@@ -112,5 +114,7 @@  discard block
 block discarded – undo
112 114
     echo "\tDistance: " . $route->trip_distance . PHP_EOL;
113 115
     echo "\tAddresses:" . PHP_EOL;
114 116
 
115
-    foreach($route->addresses as $address) echo "\t\t" . $address->address . PHP_EOL;
116
-}
117
+    foreach($route->addresses as $address) {
118
+    	echo "\t\t" . $address->address . PHP_EOL;
119
+    }
120
+    }
Please login to merge, or discard this patch.
examples/AdvancedConstraints/RetailLocation.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,8 +79,12 @@  discard block
 block discarded – undo
79 79
 foreach ($json as $address) {
80 80
 
81 81
     // skip retail
82
-    if($address['address'] == '1407 MCCOY, Louisville, KY, 40215') continue;
83
-    if($address['address'] == '4738 BELLEVUE AVE, Louisville, KY, 40215') continue;
82
+    if($address['address'] == '1407 MCCOY, Louisville, KY, 40215') {
83
+    	continue;
84
+    }
85
+    if($address['address'] == '4738 BELLEVUE AVE, Louisville, KY, 40215') {
86
+    	continue;
87
+    }
84 88
 
85 89
     $addresses[] = Address::fromArray([
86 90
         'address' => $address['address'],
@@ -107,5 +111,7 @@  discard block
 block discarded – undo
107 111
     echo "\tDistance: " . $route->trip_distance . PHP_EOL;
108 112
     echo "\tAddresses:" . PHP_EOL;
109 113
 
110
-    foreach($route->addresses as $address) echo "\t\t" . $address->address . PHP_EOL;
111
-}
114
+    foreach($route->addresses as $address) {
115
+    	echo "\t\t" . $address->address . PHP_EOL;
116
+    }
117
+    }
Please login to merge, or discard this patch.
src/Route4Me/Enum/OptimizationStates.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,9 @@
 block discarded – undo
20 20
         $refl = new ReflectionClass(__CLASS__);
21 21
         foreach($refl->getConstants() AS $key => $val)
22 22
         {
23
-            if($val == $state) return $key;
23
+            if($val == $state) {
24
+            	return $key;
25
+            }
24 26
         }
25 27
         return 'UNKNOWN';
26 28
     }
Please login to merge, or discard this patch.
src/Route4Me/V5/Addresses/AddressNote.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,9 @@
 block discarded – undo
178 178
             'method'    => 'GET',
179 179
         ]);
180 180
 
181
-        if (is_null($result) || !is_array($result)) return null;
181
+        if (is_null($result) || !is_array($result)) {
182
+        	return null;
183
+        }
182 184
 
183 185
         foreach ($result as $custNoteType) {
184 186
             if (isset($custNoteType["note_custom_type"]) && $custNoteType["note_custom_type"] == $params) {
Please login to merge, or discard this patch.
examples/AdvancedConstraints/DriversSkills.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,5 +103,7 @@
 block discarded – undo
103 103
     echo "\tDistance: " . $route->trip_distance . PHP_EOL;
104 104
     echo "\tAddresses:" . PHP_EOL;
105 105
 
106
-    foreach($route->addresses as $address) echo "\t\t" . $address->address . PHP_EOL;
107
-}
106
+    foreach($route->addresses as $address) {
107
+    	echo "\t\t" . $address->address . PHP_EOL;
108
+    }
109
+    }
Please login to merge, or discard this patch.
examples/AdvancedConstraints/DriversDifferentWorkingTime.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,5 +103,7 @@
 block discarded – undo
103 103
     echo "\tDistance: " . $route->trip_distance . PHP_EOL;
104 104
     echo "\tAddresses:" . PHP_EOL;
105 105
 
106
-    foreach($route->addresses as $address) echo "\t\t" . $address->address . PHP_EOL;
107
-}
106
+    foreach($route->addresses as $address) {
107
+    	echo "\t\t" . $address->address . PHP_EOL;
108
+    }
109
+    }
Please login to merge, or discard this patch.
examples/AdvancedConstraints/DriversTimeShift.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,5 +103,7 @@
 block discarded – undo
103 103
     echo "\tDistance: " . $route->trip_distance . PHP_EOL;
104 104
     echo "\tAddresses:" . PHP_EOL;
105 105
 
106
-    foreach($route->addresses as $address) echo "\t\t" . $address->address . PHP_EOL;
107
-}
106
+    foreach($route->addresses as $address) {
107
+    	echo "\t\t" . $address->address . PHP_EOL;
108
+    }
109
+    }
Please login to merge, or discard this patch.