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.
Completed
Push — master ( 0a9ac4...7df5b3 )
by Oleg
12:12
created
examples/Activities/GetRouteActivities.php 1 patch
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->searchActivities($activityParameters);
33
+	$activities = new ActivityParameters();
34
+	$results = $activities->searchActivities($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.