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 ( 6c805f...bce16d )
by Igor
09:12 queued 14s
created
examples/Activities/GetRouteActivities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     $activities = new ActivityParameters();
33 33
     $results = $activities->searchActivities($activityParameters);
34 34
 
35
-    if (!is_array($results) || !is_array($results['results']) || sizeof($results['results']) < 1) {
35
+    if (!is_array($results) || !is_array($results['results']) || sizeof($results['results'])<1) {
36 36
         continue;
37 37
     }
38 38
 
Please login to merge, or discard this patch.
examples/Notes/RemoveCustomNoteType.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
 $customNotes = $addressNote->getAllCustomNoteTypes();
18 18
 
19 19
 assert(!is_null($customNotes), "Cannot retrieve all custom note types");
20
-assert(sizeof($customNotes) > 0, "There is no custom note type in the user's account");
20
+assert(sizeof($customNotes)>0, "There is no custom note type in the user's account");
21 21
 
22 22
 $randomCustomNoteID = $customNotes[rand(0, sizeof($customNotes) - 1)]['note_custom_type_id'];
23 23
 
Please login to merge, or discard this patch.
examples/Notes/GetAddressNotes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 assert(!is_null($route_id), "Cannot retrieve random route_id");
20 20
 
21 21
 // Get random address's id from selected route above
22
-$addressRand = (array) $route->GetRandomAddressFromRoute($route_id);
22
+$addressRand = (array)$route->GetRandomAddressFromRoute($route_id);
23 23
 $route_destination_id = $addressRand['route_destination_id'];
24 24
 
25 25
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     echo '========== Notes ==================<br>';
58 58
     echo 'note_id --> '.$note['note_id'].'<br>';
59 59
     $content = isset($note['contents']) ? $note['contents'] : '';
60
-    if (strlen($content) > 0) {
60
+    if (strlen($content)>0) {
61 61
         echo "contents --> $content".'<br>';
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
examples/Notes/AddCustomNoteToRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 assert(!is_null($routeId), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from the above selected route
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($routeId);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
22 22
 $route_destination_id = $addressRand['route_destination_id'];
23 23
 
24 24
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
Please login to merge, or discard this patch.
examples/Notes/FIleNoteUploading.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 assert(!is_null($route_id), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from selected route above
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($route_id);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($route_id);
22 22
 $route_destination_id = $addressRand['route_destination_id'];
23 23
 
24 24
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
Please login to merge, or discard this patch.
examples/Notes/AddAddressNote.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 assert(!is_null($route_id), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from selected route above
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($route_id);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($route_id);
22 22
 $route_destination_id = $addressRand['route_destination_id'];
23 23
 
24 24
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
@@ -41,4 +41,4 @@  discard block
 block discarded – undo
41 41
 
42 42
 $address1 = $addressNote->AddAddressNote($noteParameters);
43 43
 
44
-Route4Me::simplePrint((array) $address1, true);
44
+Route4Me::simplePrint((array)$address1, true);
Please login to merge, or discard this patch.
examples/Addresses/mark_address_as_detected_as_departed.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 assert(!is_null($routeId), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from selected route above
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($routeId);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
22 22
 
23 23
 if (isset($addressRand['is_depot'])) {
24 24
     if ($addressRand['is_depot']) {
@@ -29,13 +29,13 @@  discard block
 block discarded – undo
29 29
 }
30 30
 
31 31
 // Get random address's id from selected route above
32
-$addressRand = (array) $route->GetRandomAddressFromRoute($routeId);
32
+$addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
33 33
 $route_destination_id = $addressRand['route_destination_id'];
34 34
 
35 35
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
36 36
 
37 37
 // Mark the address as detected as deoarted
38
-$addressParameters = (array) Address::fromArray([
38
+$addressParameters = (array)Address::fromArray([
39 39
     'route_id'              => $routeId,
40 40
     'route_destination_id'  => $route_destination_id,
41 41
     'is_departed'           => true,
Please login to merge, or discard this patch.
examples/Addresses/AddDestinationToOptimization.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 assert(!is_null($routeId), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from selected route above
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($routeId);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
22 22
 $optimization_problem_id = $addressRand['optimization_problem_id'];
23 23
 
24 24
 assert(!is_null($optimization_problem_id), "Cannot retrieve random address");
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 // Add an address to the optimization
27 27
 $addresses = [];
28 28
 
29
-$address1 = (array) Address::fromArray([
29
+$address1 = (array)Address::fromArray([
30 30
     'address'   => '717 5th Ave New York, NY 10021',
31 31
     'alias'     => 'Giorgio Armani',
32 32
     'lat'       => 40.7669692,
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
 $addresses[0] = $address1;
38 38
 
39
-$OptimizationParameters = (array) OptimizationProblem::fromArray([
39
+$OptimizationParameters = (array)OptimizationProblem::fromArray([
40 40
     'optimization_problem_id'   => $optimization_problem_id,
41 41
     'addresses'                 => $addresses,
42 42
     'reoptimize'                => 1,
Please login to merge, or discard this patch.
examples/Addresses/GetAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 assert(!is_null($routeId), "Cannot retrieve random route_id");
19 19
 
20 20
 // Get random address's id from selected route above
21
-$addressRand = (array) $route->GetRandomAddressFromRoute($routeId);
21
+$addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
22 22
 $route_destination_id = $addressRand['route_destination_id'];
23 23
 
24 24
 assert(!is_null($route_destination_id), "Cannot retrieve random address");
@@ -28,4 +28,4 @@  discard block
 block discarded – undo
28 28
 
29 29
 $addressRetrieved = $address->getAddress($routeId, $route_destination_id);
30 30
 
31
-Route4Me::simplePrint((array) $addressRetrieved);
31
+Route4Me::simplePrint((array)$addressRetrieved);
Please login to merge, or discard this patch.