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 ( 98cce4...6812ac )
by Oleg
01:58
created
examples/multiple_depot_with_time_window.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -27,23 +27,23 @@  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::CVRP_TW_SD,
35
-    "route_name"              => "Multiple Depot, Multiple Driver, Time Window",
36
-    "route_date"              => time() + 24 * 60 * 60,
37
-    "route_time"              => 60 * 60 * 7,
38
-    "rt"                      => TRUE,
39
-    "distance_unit"           => DistanceUnit::MILES,
40
-    "device_type"             => DeviceType::WEB,
41
-    "optimize"                => OptimizationType::TIME,
42
-    "metric"                  => Metric::GEODESIC,
43
-    "route_max_duration"      => 86400 * 3,
44
-    "travel_mode"             => TravelMode::DRIVING,
45
-    "vehicle_capacity"        => 99,
46
-    "vehicle_max_distance_mi" => 99999
34
+	"algorithm_type"          => Algorithmtype::CVRP_TW_SD,
35
+	"route_name"              => "Multiple Depot, Multiple Driver, Time Window",
36
+	"route_date"              => time() + 24 * 60 * 60,
37
+	"route_time"              => 60 * 60 * 7,
38
+	"rt"                      => TRUE,
39
+	"distance_unit"           => DistanceUnit::MILES,
40
+	"device_type"             => DeviceType::WEB,
41
+	"optimize"                => OptimizationType::TIME,
42
+	"metric"                  => Metric::GEODESIC,
43
+	"route_max_duration"      => 86400 * 3,
44
+	"travel_mode"             => TravelMode::DRIVING,
45
+	"vehicle_capacity"        => 99,
46
+	"vehicle_max_distance_mi" => 99999
47 47
 ));
48 48
 
49 49
 $optimizationParams = new OptimizationProblemParams;
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
 $problem = OptimizationProblem::optimize($optimizationParams);
54 54
 
55 55
 foreach ((array)$problem as $key => $value) {
56
-    if (is_string($value)) {
57
-        echo $key." --> ".$value."<br>";
58
-    } else {
59
-        echo "************ $key ************* <br>";
60
-        Route4Me::simplePrint((array)$value, true);
61
-        echo "******************************* <br>";
62
-    }
56
+	if (is_string($value)) {
57
+		echo $key." --> ".$value."<br>";
58
+	} else {
59
+		echo "************ $key ************* <br>";
60
+		Route4Me::simplePrint((array)$value, true);
61
+		echo "******************************* <br>";
62
+	}
63 63
 }
Please login to merge, or discard this patch.