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 ( 16ec0a...d9a634 )
by Igor
08:39 queued 14s
created
examples/Activities/SendUserMessage.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 $route_id = $route->getRandomRouteId(0, 10);
16 16
 
17 17
 $postParameters = ActivityParameters::fromArray([
18
-    'activity_type'     => 'user_message',
19
-    'activity_message'  => 'Hello - php!',
20
-    'route_id'          => $route_id,
18
+	'activity_type'     => 'user_message',
19
+	'activity_message'  => 'Hello - php!',
20
+	'route_id'          => $route_id,
21 21
 ]);
22 22
 
23 23
 $activities = new ActivityParameters();
Please login to merge, or discard this patch.
examples/Activities/GetActivitiesByMember.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 $memberId = $response['results'][1]["member_id"];
24 24
 
25 25
 $activityParameters = ActivityParameters::fromArray([
26
-    'member_id' => $memberId,
27
-    'limit' => 10,
28
-    'offset' => 0,
26
+	'member_id' => $memberId,
27
+	'limit' => 10,
28
+	'offset' => 0,
29 29
 ]);
30 30
 
31 31
 $activities = new ActivityParameters();
@@ -33,6 +33,6 @@  discard block
 block discarded – undo
33 33
 $results = $activities->getValue($actResults, 'results');
34 34
 
35 35
 foreach ($results as $result) {
36
-    Route4Me::simplePrint($result);
37
-    echo '<br>';
36
+	Route4Me::simplePrint($result);
37
+	echo '<br>';
38 38
 }
Please login to merge, or discard this patch.
examples/Activities/GetLastActivities.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 Route4Me::setApiKey(Constants::API_KEY);
15 15
 
16 16
 $activityParameters = ActivityParameters::fromArray([
17
-    'limit' => 10,
18
-    'offset' => 0,
19
-    'start' => strtotime('-1 week'),
17
+	'limit' => 10,
18
+	'offset' => 0,
19
+	'start' => strtotime('-1 week'),
20 20
 ]);
21 21
 
22 22
 $activities = new ActivityParameters();
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 $results = $activities->getValue($actResults, 'results');
25 25
 
26 26
 foreach ($results as $result) {
27
-    Route4Me::simplePrint($result);
28
-    echo '<br>';
27
+	Route4Me::simplePrint($result);
28
+	echo '<br>';
29 29
 }
Please login to merge, or discard this patch.
examples/Activities/GetRouteActivities.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -22,26 +22,26 @@
 block discarded – undo
22 22
 
23 23
 // Itereate through all the existing activity types
24 24
 foreach ($activityTypes->getConstants() as $prop => $value) {
25
-    $activityParameters = ActivityParameters::fromArray([
26
-        'activity_type' => $value,
27
-        'limit' => 2,
28
-        'offset' => 0,
29
-        'route_id' => $route_id,
30
-    ]);
25
+	$activityParameters = ActivityParameters::fromArray([
26
+		'activity_type' => $value,
27
+		'limit' => 2,
28
+		'offset' => 0,
29
+		'route_id' => $route_id,
30
+	]);
31 31
 
32
-    $activities = new ActivityParameters();
33
-    $results = $activities->searchActivities($activityParameters);
32
+	$activities = new ActivityParameters();
33
+	$results = $activities->searchActivities($activityParameters);
34 34
 
35
-    if (!is_array($results) || !is_array($results['results']) || sizeof($results['results']) < 1) {
36
-        continue;
37
-    }
35
+	if (!is_array($results) || !is_array($results['results']) || sizeof($results['results']) < 1) {
36
+		continue;
37
+	}
38 38
 
39
-    ++$count;
39
+	++$count;
40 40
 
41
-    foreach ($results as $key => $activity) {
42
-        Route4Me::simplePrint($activity);
43
-        echo '<br>';
44
-    }
41
+	foreach ($results as $key => $activity) {
42
+		Route4Me::simplePrint($activity);
43
+		echo '<br>';
44
+	}
45 45
 
46
-    echo '------------------- <br><br>';
46
+	echo '------------------- <br><br>';
47 47
 }
Please login to merge, or discard this patch.
examples/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/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/get_route_tracking.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 assert(!is_null($route_id), "Cannot retrieve a random route ID");
18 18
 
19 19
 $params = [
20
-    'device_tracking_history'   => true,
21
-    'route_id'                  => $route_id,
20
+	'device_tracking_history'   => true,
21
+	'route_id'                  => $route_id,
22 22
 ];
23 23
 
24 24
 // Get route tracking
Please login to merge, or discard this patch.
examples/Notes/RemoveCustomNoteType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
 // Remove a custom note type
25 25
 $noteParameters = [
26
-    'id' => $randomCustomNoteID,
26
+	'id' => $randomCustomNoteID,
27 27
 ];
28 28
 
29 29
 $addressNote = new AddressNote();
Please login to merge, or discard this patch.
examples/Notes/GetAddressNotes.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
 
27 27
 // Add an address note
28 28
 $noteParameters = [
29
-    'route_id'          => $route_id,
30
-    'address_id'        => $route_destination_id,
31
-    'dev_lat'           => $addressRand['lat'],
32
-    'dev_lng'           => $addressRand['lng'],
33
-    'device_type'       => 'web',
34
-    'strUpdateType'     => 'dropoff',
35
-    'strNoteContents'   => 'Test '.time(),
29
+	'route_id'          => $route_id,
30
+	'address_id'        => $route_destination_id,
31
+	'dev_lat'           => $addressRand['lat'],
32
+	'dev_lng'           => $addressRand['lng'],
33
+	'device_type'       => 'web',
34
+	'strUpdateType'     => 'dropoff',
35
+	'strNoteContents'   => 'Test '.time(),
36 36
 ];
37 37
 
38 38
 $addressNote = new AddressNote();
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 
44 44
 // Get address notes
45 45
 $noteParameters = [
46
-    'route_id'              => $route_id,
47
-    'route_destination_id'  => $route_destination_id,
46
+	'route_id'              => $route_id,
47
+	'route_destination_id'  => $route_destination_id,
48 48
 ];
49 49
 
50 50
 $addressNote = new AddressNote();
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
 echo 'Destination note count --> '.$notes['destination_note_count'].'<br>';
55 55
 
56 56
 foreach ($notes['notes'] as $note) {
57
-    echo '========== Notes ==================<br>';
58
-    echo 'note_id --> '.$note['note_id'].'<br>';
59
-    $content = isset($note['contents']) ? $note['contents'] : '';
60
-    if (strlen($content) > 0) {
61
-        echo "contents --> $content".'<br>';
62
-    }
57
+	echo '========== Notes ==================<br>';
58
+	echo 'note_id --> '.$note['note_id'].'<br>';
59
+	$content = isset($note['contents']) ? $note['contents'] : '';
60
+	if (strlen($content) > 0) {
61
+		echo "contents --> $content".'<br>';
62
+	}
63 63
 }
Please login to merge, or discard this patch.