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 ( 07471e...521018 )
by Oleg
02:22
created
examples/single_driver_round_trip.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -27,19 +27,19 @@  discard block
 block discarded – undo
27 27
 $addresses = array();
28 28
 
29 29
 foreach ($json as $address) {
30
-    $addresses[] = Address::fromArray($address);
30
+	$addresses[] = Address::fromArray($address);
31 31
 }
32 32
 
33 33
 $parameters = RouteParameters::fromArray(array(
34
-    "algorithm_type"          => AlgorithmType::TSP,
35
-    "distance_unit"           => DistanceUnit::MILES,
36
-    "device_type"             => DeviceType::WEB,
37
-    "optimize"                => OptimizationType::DISTANCE,
38
-    "travel_mode"             => TravelMode::DRIVING,
39
-    "route_max_duration"      => 86400,
40
-    "vehicle_capacity"        => 1,
41
-    "vehicle_max_distance_mi" => 10000,
42
-    "rt"                      => true
34
+	"algorithm_type"          => AlgorithmType::TSP,
35
+	"distance_unit"           => DistanceUnit::MILES,
36
+	"device_type"             => DeviceType::WEB,
37
+	"optimize"                => OptimizationType::DISTANCE,
38
+	"travel_mode"             => TravelMode::DRIVING,
39
+	"route_max_duration"      => 86400,
40
+	"vehicle_capacity"        => 1,
41
+	"vehicle_max_distance_mi" => 10000,
42
+	"rt"                      => true
43 43
 ));
44 44
 
45 45
 $optimizationParams = new OptimizationProblemParams;
@@ -49,11 +49,11 @@  discard block
 block discarded – undo
49 49
 $problems = OptimizationProblem::optimize($optimizationParams);
50 50
 
51 51
 foreach ($problems as $problem) {
52
-    if (is_array($problem) || is_object($problem)) {
53
-        foreach ($problem as $key => $value) {
54
-            if (!is_object($value)) {
55
-                echo $key." --> ".$value."<br>";
56
-            }
57
-        }
58
-    }
52
+	if (is_array($problem) || is_object($problem)) {
53
+		foreach ($problem as $key => $value) {
54
+			if (!is_object($value)) {
55
+				echo $key." --> ".$value."<br>";
56
+			}
57
+		}
58
+	}
59 59
 }
Please login to merge, or discard this patch.