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 ( 8e6f7b...837219 )
by Oleg
05:38 queued 03:43
created
examples/Order/AddScheduledOrder.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -12,25 +12,25 @@
 block discarded – undo
12 12
 Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 
14 14
 $orderParameters = Order::fromArray(array(
15
-    "address_1"                 => "318 S 39th St, Louisville, KY 40212, USA",
16
-    "cached_lat"                => 38.259326,
17
-    "cached_lng"                => -85.814979,
18
-    "curbside_lat"              => 38.259326,
19
-    "curbside_lng"              => -85.814979,
20
-    "address_alias"             => "318 S 39th St 40212",
21
-    "address_city"              => "Louisville",
22
-    "EXT_FIELD_first_name"      => "Lui",
23
-    "EXT_FIELD_last_name"       => "Carol",
24
-    "EXT_FIELD_email"           => "[email protected]",
25
-    "EXT_FIELD_phone"           => "897946541",
26
-    "EXT_FIELD_custom_data"     => array("order_type" => "scheduled order"),
27
-    "day_scheduled_for_YYMMDD"  => date("Y-m-d"),
28
-    "local_time_window_end"     => 39000,
29
-    "local_time_window_end_2"   => 46200,
30
-    "local_time_window_start"   => 37800,
31
-    "local_time_window_start_2" => 45000,
32
-    "local_timezone_string"     => "America/New_York",
33
-    "order_icon"                => "emoji/emoji-bank"
15
+	"address_1"                 => "318 S 39th St, Louisville, KY 40212, USA",
16
+	"cached_lat"                => 38.259326,
17
+	"cached_lng"                => -85.814979,
18
+	"curbside_lat"              => 38.259326,
19
+	"curbside_lng"              => -85.814979,
20
+	"address_alias"             => "318 S 39th St 40212",
21
+	"address_city"              => "Louisville",
22
+	"EXT_FIELD_first_name"      => "Lui",
23
+	"EXT_FIELD_last_name"       => "Carol",
24
+	"EXT_FIELD_email"           => "[email protected]",
25
+	"EXT_FIELD_phone"           => "897946541",
26
+	"EXT_FIELD_custom_data"     => array("order_type" => "scheduled order"),
27
+	"day_scheduled_for_YYMMDD"  => date("Y-m-d"),
28
+	"local_time_window_end"     => 39000,
29
+	"local_time_window_end_2"   => 46200,
30
+	"local_time_window_start"   => 37800,
31
+	"local_time_window_start_2" => 45000,
32
+	"local_timezone_string"     => "America/New_York",
33
+	"order_icon"                => "emoji/emoji-bank"
34 34
 ));
35 35
 
36 36
 $order = new Order();
Please login to merge, or discard this patch.
examples/Order/OrderSearchText.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('11111111111111111111111111111111');
15 15
 
16 16
 $orderParameters = Order::fromArray(array(
17
-    "query"   => "Automated Order",
18
-    "offset"  => 0,
19
-    "limit"   => 5
17
+	"query"   => "Automated Order",
18
+	"offset"  => 0,
19
+	"limit"   => 5
20 20
 ));
21 21
 
22 22
 $order = new Order();
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 $response = $order->getOrder($orderParameters);
25 25
 
26 26
 foreach ($response['results'] as $key => $order) {
27
-    Route4Me::simplePrint($order);
28
-    echo "<br>";
27
+	Route4Me::simplePrint($order);
28
+	echo "<br>";
29 29
 }
Please login to merge, or discard this patch.
examples/Order/GetOrder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
 // Get an order
27 27
 $orderParameters = Order::fromArray(array(
28
-    "order_id"  => $orderID
28
+	"order_id"  => $orderID
29 29
 ));
30 30
 
31 31
 $response = $order->getOrder($orderParameters);
Please login to merge, or discard this patch.
examples/Order/NewOrder.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -14,22 +14,22 @@
 block discarded – undo
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16 16
 $orderParameters = Order::fromArray(array(
17
-    "address_1"                => "1358 E Luzerne St, Philadelphia, PA 19124, US",
18
-    "cached_lat"               => 48.335991,
19
-    "cached_lng"               => 31.18287,
20
-    "address_alias"            => "Auto test address",
21
-    "address_city"             => "Philadelphia",
22
-    "day_scheduled_for_YYMMDD" => date("Y-m-d"),
23
-    "EXT_FIELD_first_name"     => "Igor",
24
-    "EXT_FIELD_last_name"      => "Progman",
25
-    "EXT_FIELD_email"          => "[email protected]",
26
-    "EXT_FIELD_phone"          => "380380380380",
27
-    "EXT_FIELD_custom_data"    => array(
28
-          0 => array(
29
-             'order_id' => '10',
30
-             'name'     => 'Bill Soul'
31
-          )
32
-    )
17
+	"address_1"                => "1358 E Luzerne St, Philadelphia, PA 19124, US",
18
+	"cached_lat"               => 48.335991,
19
+	"cached_lng"               => 31.18287,
20
+	"address_alias"            => "Auto test address",
21
+	"address_city"             => "Philadelphia",
22
+	"day_scheduled_for_YYMMDD" => date("Y-m-d"),
23
+	"EXT_FIELD_first_name"     => "Igor",
24
+	"EXT_FIELD_last_name"      => "Progman",
25
+	"EXT_FIELD_email"          => "[email protected]",
26
+	"EXT_FIELD_phone"          => "380380380380",
27
+	"EXT_FIELD_custom_data"    => array(
28
+		  0 => array(
29
+			 'order_id' => '10',
30
+			 'name'     => 'Bill Soul'
31
+		  )
32
+	)
33 33
 ));
34 34
 
35 35
 $order = new Order();
Please login to merge, or discard this patch.
examples/Order/AddOrder2Optimization.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
 $body = json_decode($jfile);
32 32
 
33 33
 $orderParameters = array(
34
-    "optimization_problem_id" => $optimizationProblemId,
35
-    "redirect"                => 0,
36
-    "device_type"             => "web",
37
-    "addresses"               => $body->addresses
34
+	"optimization_problem_id" => $optimizationProblemId,
35
+	"redirect"                => 0,
36
+	"device_type"             => "web",
37
+	"addresses"               => $body->addresses
38 38
 );
39 39
 
40 40
 $order = new Order();
Please login to merge, or discard this patch.
examples/get_route_manifest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,13 +20,13 @@
 block discarded – undo
20 20
 
21 21
 // Get route manifest 
22 22
 $params = array(
23
-    "directions" => 1,
24
-    "route_id"   => $route_id
23
+	"directions" => 1,
24
+	"route_id"   => $route_id
25 25
 );
26 26
 
27 27
 $route = Route::getRoutes($params);
28 28
 
29 29
 foreach ($route->addresses as $addr1) {
30
-    Route4Me::simplePrint((array)$addr1, true);
31
-    echo "<br>";
30
+	Route4Me::simplePrint((array)$addr1, true);
31
+	echo "<br>";
32 32
 }
Please login to merge, or discard this patch.
examples/Addresses/mark_address_as_detected_as_visited.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
 
26 26
 if (isset($addressRand['is_depot']))
27 27
 {
28
-    if ($addressRand['is_depot']) {
29
-        echo "Random choosed address is depot, it can't be marked!.. Try again.";
30
-        return;
31
-    }
28
+	if ($addressRand['is_depot']) {
29
+		echo "Random choosed address is depot, it can't be marked!.. Try again.";
30
+		return;
31
+	}
32 32
 }
33 33
 
34 34
 $address_id = $addressRand['route_destination_id'];
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
 
38 38
 // Mark the address as detected as visited
39 39
 $addressParameters = (array)Address::fromArray(array(
40
-    "route_id"              => $routeId,
41
-    "route_destination_id"  => $address_id,
42
-    "is_visited"            => TRUE
40
+	"route_id"              => $routeId,
41
+	"route_destination_id"  => $address_id,
42
+	"is_visited"            => TRUE
43 43
 ));
44 44
 
45 45
 $address = new Address();
Please login to merge, or discard this patch.
examples/Addresses/mark_address_as_detected_as_departed.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
 
26 26
 if (isset($addressRand['is_depot']))
27 27
 {
28
-    if ($addressRand['is_depot']) {
29
-        echo "Random choosed address is depot, it can't be marked!.. Try again.";
30
-        return;
31
-    }
28
+	if ($addressRand['is_depot']) {
29
+		echo "Random choosed address is depot, it can't be marked!.. Try again.";
30
+		return;
31
+	}
32 32
 }
33 33
 
34 34
 // Get random address's id from selected route above
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
 
40 40
 // Mark the address as detected as deoarted
41 41
 $addressParameters = (array)Address::fromArray(array(
42
-    "route_id"              => $routeId,
43
-    "route_destination_id"  => $route_destination_id,
44
-    "is_departed"           => TRUE
42
+	"route_id"              => $routeId,
43
+	"route_destination_id"  => $route_destination_id,
44
+	"is_departed"           => TRUE
45 45
 ));
46 46
 
47 47
 $address = new Address();
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
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 assert(!is_null($route_id), "Can't retrieve a random route ID");
20 20
 
21 21
 $params = array(
22
-    'device_tracking_history' => true, 
23
-    'route_id' => $route_id
22
+	'device_tracking_history' => true, 
23
+	'route_id' => $route_id
24 24
 );
25 25
 
26 26
 // Get route tracking
Please login to merge, or discard this patch.