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/Territories/AddTerritory.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
 
19 19
 $territoryParams['type'] = TerritoryTypes::CIRCLE;
20 20
 $territoryParams['data'] = [
21
-    '37.569752822786455,-77.47833251953125',
22
-    '5000',
21
+	'37.569752822786455,-77.47833251953125',
22
+	'5000',
23 23
 ];
24 24
 
25 25
 $TerritoryParameters = Territory::fromArray([
26
-    'territory_name'    => 'Test Territory '.strval(rand(10000, 99999)),
27
-    'territory_color'   => 'ff7700',
28
-    'territory'         => $territoryParams,
26
+	'territory_name'    => 'Test Territory '.strval(rand(10000, 99999)),
27
+	'territory_color'   => 'ff7700',
28
+	'territory'         => $territoryParams,
29 29
 ]);
30 30
 
31 31
 $territory = new Territory();
Please login to merge, or discard this patch.
examples/AddressBook/AddAddressBookLocation.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 Route4Me::setApiKey(Constants::API_KEY);
10 10
 
11 11
 $AddressBookLocationParameters = AddressBookLocation::fromArray([
12
-    'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
13
-    'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
14
-    'cached_lat'    => 38.024654,
15
-    'cached_lng'    => -77.338814,
12
+	'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
13
+	'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
14
+	'cached_lat'    => 38.024654,
15
+	'cached_lng'    => -77.338814,
16 16
 ]);
17 17
 
18 18
 $abContacts = new AddressBookLocation();
Please login to merge, or discard this patch.
examples/AddressBook/RemoveAddressBookLocations.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
 Route4Me::setApiKey(Constants::API_KEY);
13 13
 
14 14
 $AddressBookLocationParameters = AddressBookLocation::fromArray([
15
-    'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
16
-    'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
17
-    'cached_lat'    => 38.024654,
18
-    'cached_lng'    => -77.338814,
15
+	'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
16
+	'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
17
+	'cached_lat'    => 38.024654,
18
+	'cached_lng'    => -77.338814,
19 19
 ]);
20 20
 
21 21
 $abContacts = new AddressBookLocation();
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 $address_id = -1;
26 26
 
27 27
 if (isset($createdContact['address_id'])) {
28
-    $address_id = $createdContact['address_id'];
28
+	$address_id = $createdContact['address_id'];
29 29
 }
30 30
 
31 31
 assert($address_id != -1, 'Creating of Address Book Location was failed. Try again!.. <br>');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     $address_id = $createdContact['address_id'];
29 29
 }
30 30
 
31
-assert($address_id != -1, 'Creating of Address Book Location was failed. Try again!.. <br>');
31
+assert($address_id!=-1, 'Creating of Address Book Location was failed. Try again!.. <br>');
32 32
 
33 33
 echo 'Address Book Location with address_id = '.strval($address_id).' was successfully added<br>';
34 34
 
Please login to merge, or discard this patch.
examples/AddressBook/UpdateAddressBookLocation.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
 Route4Me::setApiKey(Constants::API_KEY);
13 13
 
14 14
 $AddressBookLocationParameters = AddressBookLocation::fromArray([
15
-    'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
16
-    'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
17
-    'cached_lat'    => 38.024654,
18
-    'cached_lng'    => -77.338814,
15
+	'first_name'    => 'Test FirstName '.strval(rand(10000, 99999)),
16
+	'address_1'     => 'Test Address1 '.strval(rand(10000, 99999)),
17
+	'cached_lat'    => 38.024654,
18
+	'cached_lng'    => -77.338814,
19 19
 ]);
20 20
 
21 21
 $abLocation = new AddressBookLocation();
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 assert(isset($abcResult['address_id']), 'Cannot create an address book location. <br><br>');
28 28
 
29 29
 if (isset($abcResult['address_id'])) {
30
-    $address_id = $abcResult['address_id'];
30
+	$address_id = $abcResult['address_id'];
31 31
 }
32 32
 
33 33
 assert($address_id != -1, 'Cannot create an address book location. <br><br>');
Please login to merge, or discard this 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.
examples/AddressBook/GetAddressBookLocations.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 // Example refers to getting the address book locations
12 12
 
13 13
 $AddressBookLocationParameters = [
14
-    'limit'     => 30,
15
-    'offset'    => 0,
14
+	'limit'     => 30,
15
+	'offset'    => 0,
16 16
 ];
17 17
 
18 18
 $abContacts = new AddressBookLocation();
@@ -22,6 +22,6 @@  discard block
 block discarded – undo
22 22
 $results = $abContacts->getValue($abcResults, 'results');
23 23
 
24 24
 foreach ($results as $result) {
25
-    Route4Me::simplePrint($result);
26
-    echo '<br>';
25
+	Route4Me::simplePrint($result);
26
+	echo '<br>';
27 27
 }
Please login to merge, or discard this patch.
examples/AddressBook/SearchRoutedLocations.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 // Example refers to the process of searching for the routed locations
17 17
 
18 18
 $params = [
19
-    'offset'    => 0,
20
-    'limit'     => 5,
21
-    'display'   => 'routed',
19
+	'offset'    => 0,
20
+	'limit'     => 5,
21
+	'display'   => 'routed',
22 22
 ];
23 23
 
24 24
 $abcResult = $abLocation->searchAddressBookLocations($params);
Please login to merge, or discard this patch.
examples/AddressBook/SearchTextSpecifiedFields.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 // Example refers to the process of searching for text and specifing returned fields.
17 17
 
18 18
 $params = [
19
-    'query'     => 'David',
20
-    'fields'    => 'first_name,address_email',
21
-    'offset'    => 0,
22
-    'limit'     => 5,
19
+	'query'     => 'David',
20
+	'fields'    => 'first_name,address_email',
21
+	'offset'    => 0,
22
+	'limit'     => 5,
23 23
 ];
24 24
 
25 25
 $abcResult = $abLocation->searchAddressBookLocations($params);
Please login to merge, or discard this patch.
examples/AddressBook/GetAddressBookLocationsByIDs.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 // Get two random locations IDs
12 12
 
13 13
 $addressBookLocationParameters = [
14
-    'limit'     => 30,
15
-    'offset'    => 0,
14
+	'limit'     => 30,
15
+	'offset'    => 0,
16 16
 ];
17 17
 
18 18
 $abContacts = new AddressBookLocation();
@@ -36,6 +36,6 @@  discard block
 block discarded – undo
36 36
 $results = $abLocation->getValue($abcResult, 'results');
37 37
 
38 38
 foreach ($results as $result) {
39
-    Route4Me::simplePrint($result);
40
-    echo '<br>';
39
+	Route4Me::simplePrint($result);
40
+	echo '<br>';
41 41
 }
Please login to merge, or discard this patch.
examples/AddressBook/AddressBookLocationSearch.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
 $abLocation = new AddressBookLocation();
14 14
 
15 15
 $params = [
16
-    'query'     => 'Test',
17
-    'fields'    => 'address_1,address_group,first_name,last_name',
18
-    'offset'    => 0,
19
-    'limit'     => 20,
16
+	'query'     => 'Test',
17
+	'fields'    => 'address_1,address_group,first_name,last_name',
18
+	'offset'    => 0,
19
+	'limit'     => 20,
20 20
 ];
21 21
 
22 22
 $abcResult = $abLocation->searchAddressBookLocations($params);
Please login to merge, or discard this patch.