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/Routes/GetRoutePathPoints.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
     'route_id'          => $route_id,
26 26
 ];
27 27
 
28
-$routeResults = (array) $route->getRoutePoints($params);
28
+$routeResults = (array)$route->getRoutePoints($params);
29 29
 
30 30
 if (isset($routeResults['addresses'])) {
31 31
     foreach ($routeResults['addresses'] as $key => $address) {
32
-        $araddress = (array) $address;
32
+        $araddress = (array)$address;
33 33
 
34 34
         if (isset($araddress['route_destination_id'])) {
35 35
             echo 'route_destination_id='.$araddress['route_destination_id'].'<br>';
Please login to merge, or discard this patch.
examples/Routes/SearchRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 $routeResults = $route->getRoutes($RouteParameters);
20 20
 
21 21
 foreach ($routeResults as $routeResult) {
22
-    $results = (array) $routeResult;
22
+    $results = (array)$routeResult;
23 23
 
24 24
     if (isset($results['route_id'])) {
25 25
         echo 'Route ID - > '.$results['route_id'].'<br>';
Please login to merge, or discard this patch.
examples/Routes/ResequenceRoute.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
 
26 26
 foreach ($routes as $route1) {
27 27
     if (isset($route1->destination_count)) {
28
-        if ($route1->destination_count > 4) {
28
+        if ($route1->destination_count>4) {
29 29
             $selectedRoute = $route->getRoutes(['route_id' => $route1->route_id]);
30 30
             break;
31 31
         }
Please login to merge, or discard this patch.
examples/AddressBookGroups/GetAddressBookContactsByGroup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
 // The example refers to the process of getting the address book locations by a group ID.
14 14
 
15
-$groupIds=$abGroup->getAddressBookGroupIdByName( 'Louisville Group Temp');
15
+$groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
16 16
 
17 17
 if ($groupIds==null) {
18 18
     include('CreateAddressBookGroup.php');
19
-    $groupIds=$abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
19
+    $groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
20 20
 }
21 21
 
22 22
 $searchParameters = [
Please login to merge, or discard this patch.
examples/AddressBookGroups/GetAddressBookGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
 $randomGroup = $abGroup->getRandomAddressBookGroup($addressBookGroupParameters);
22 22
 
23
-if (assert(null != $randomGroup, 'Cannot get a random address book group'));
23
+if (assert(null!=$randomGroup, 'Cannot get a random address book group'));
24 24
 
25 25
 // Get the address book group by group_id
26 26
 $groupId = $randomGroup['group_id'];
Please login to merge, or discard this patch.
examples/AddressBookGroups/UpdateAddressBookGroup.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@
 block discarded – undo
14 14
 // Note: you can find the allowed colors for the address book group at this link:
15 15
 // https://github.com/route4me/route4me-json-schemas/blob/master/ColorSamples/AddressBookGroupAvailableColors.png
16 16
 
17
-$groupIds=$abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
17
+$groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
18 18
 
19 19
 if ($groupIds==null) {
20 20
     include('CreateAddressBookGroup.php');
21
-    $groupIds=$abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
21
+    $groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
22 22
 }
23 23
 
24
-$updateParameters= [
24
+$updateParameters = [
25 25
     'group_id'      => $groupIds[0],
26 26
     'group_color'   => '7bd148'
27 27
 ];
Please login to merge, or discard this patch.
examples/AddressBookGroups/RemoveAddressBookGroup.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
 
13 13
 // The example refers to the process of removing an address book group from a user's account.
14 14
 
15
-$groupIds=$abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
15
+$groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
16 16
 
17 17
 if ($groupIds==null) {
18 18
     include('CreateAddressBookGroup.php');
19
-    $groupIds=$abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
19
+    $groupIds = $abGroup->getAddressBookGroupIdByName('Louisville Group Temp');
20 20
 }
21 21
 
22
-$updateParameters= [
22
+$updateParameters = [
23 23
     'group_id' => $groupIds[0]
24 24
 ];
25 25
 
Please login to merge, or discard this patch.
examples/AddressBookGroups/CreateAddressBookGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 // Note: you can find the allowed colors for the address book group at this link:
15 15
 // https://github.com/route4me/route4me-json-schemas/blob/master/ColorSamples/AddressBookGroupAvailableColors.png
16 16
 
17
-$createParameters= [
17
+$createParameters = [
18 18
     'group_name'   => 'Louisville Group Temp',
19 19
     'group_color'  => '92e1c0',
20 20
     'filter' => [
Please login to merge, or discard this patch.
examples/UpdateAddressBookLocation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     $address_id = $abcResult['address_id'];
31 31
 }
32 32
 
33
-assert($address_id != -1, 'Cannot create an address book location. <br><br>');
33
+assert($address_id!=-1, 'Cannot create an address book location. <br><br>');
34 34
 
35 35
 echo 'Address Book Location with <b>address_id = '.strval($address_id).'</b> and <b>first_name = '.$abcResult['first_name'].'</b> was successfully added<br>';
36 36
 
@@ -40,6 +40,6 @@  discard block
 block discarded – undo
40 40
 
41 41
 assert(isset($abcResult['first_name']), 'Cannot update the address book location. <br><br>');
42 42
 
43
-assert('Test First Name Updated' == $abcResult['first_name'], 'Cannot update the address book location. <br><br>');
43
+assert('Test First Name Updated'==$abcResult['first_name'], 'Cannot update the address book location. <br><br>');
44 44
 
45 45
 echo 'The field <b>first_name</b> in the address book location <b>'.$address_id.'</b> was update to <b>Test First Name Updated</b> successfuly <br>';
Please login to merge, or discard this patch.