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.
Passed
Push — master ( 6be19d...df61f9 )
by Oleg
02:42
created
examples/Activities/GetRouteActivities.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -23,26 +23,26 @@
 block discarded – undo
23 23
 
24 24
 // Itereate through all the existing activity types
25 25
 foreach ($activityTypes->getConstants() as $prop => $value) {
26
-    $activityParameters = ActivityParameters::fromArray(array(
27
-        "activity_type" => $value,
28
-        "limit"         => 2,
29
-        "offset"        => 0,
30
-        "route_id"      => $route_id
31
-    ));
26
+	$activityParameters = ActivityParameters::fromArray(array(
27
+		"activity_type" => $value,
28
+		"limit"         => 2,
29
+		"offset"        => 0,
30
+		"route_id"      => $route_id
31
+	));
32 32
     
33
-    $activities = new ActivityParameters();
34
-    $results = $activities->searcActivities($activityParameters);
33
+	$activities = new ActivityParameters();
34
+	$results = $activities->searcActivities($activityParameters);
35 35
     
36
-    if (!is_array($results) || !is_array($results['results']) || sizeof($results['results'])<1) {
37
-        continue;
38
-    }
36
+	if (!is_array($results) || !is_array($results['results']) || sizeof($results['results'])<1) {
37
+		continue;
38
+	}
39 39
     
40
-    $count++;
40
+	$count++;
41 41
 	
42
-    foreach ($results as $key => $activity) {
43
-        Route4Me::simplePrint($activity);
44
-        echo "<br>";
45
-    }
42
+	foreach ($results as $key => $activity) {
43
+		Route4Me::simplePrint($activity);
44
+		echo "<br>";
45
+	}
46 46
     
47
-    echo "------------------- <br><br>";
47
+	echo "------------------- <br><br>";
48 48
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 $route = new Route();
20 20
 $route_id = $route->getRandomRouteId(0, 10);
21 21
 echo "route_id -> $route_id <br>";
22
-$count=0;
22
+$count = 0;
23 23
 
24 24
 // Itereate through all the existing activity types
25 25
 foreach ($activityTypes->getConstants() as $prop => $value) {
Please login to merge, or discard this patch.