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 ( 7f01d7...1527b5 )
by Oleg
02:36
created
examples/Order/AddOrder2Route.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
 $body = json_decode($jfile);
31 31
 
32 32
 $orderParameters = Order::fromArray(array(
33
-    "route_id"    => $routeID,
34
-    "redirect"    => 0,
35
-    "addresses"   => $body->addresses
33
+	"route_id"    => $routeID,
34
+	"redirect"    => 0,
35
+	"addresses"   => $body->addresses
36 36
 ));
37 37
 
38 38
 $order = new Order();
Please login to merge, or discard this patch.
examples/Order/OrderSearchInsertedDate.php 2 patches
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
-    "day_added_YYMMDD"  => date("Y-m-d", strtotime( '-1 days' )),
18
-    "offset"            => 0,
19
-    "limit"             => 5
17
+	"day_added_YYMMDD"  => date("Y-m-d", strtotime( '-1 days' )),
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16 16
 $orderParameters = Order::fromArray(array(
17
-    "day_added_YYMMDD"  => date("Y-m-d", strtotime( '-1 days' )),
17
+    "day_added_YYMMDD"  => date("Y-m-d", strtotime('-1 days')),
18 18
     "offset"            => 0,
19 19
     "limit"             => 5
20 20
 ));
Please login to merge, or discard this patch.
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/MoveDestinationToRoute.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
 $route = new Route();
17 17
 
18 18
 $grParams = array(
19
-    'offset' => 0,
20
-    'limit'  => 10
19
+	'offset' => 0,
20
+	'limit'  => 10
21 21
 );
22 22
 
23 23
 $routes = $route->getRoutes($grParams);
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
 echo "<br> From the route -> " . $route_id0 ."<br>";
33 33
 
34 34
 if (is_null($route_id0)) {
35
-    echo "Can't retrieve random route_id!.. Try again.";
36
-    return;
35
+	echo "Can't retrieve random route_id!.. Try again.";
36
+	return;
37 37
 }
38 38
 
39 39
 // Get random source destination from selected source route above
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
 $to_route_id = $route_id0;
49 49
 
50 50
 while ($to_route_id == $route_id0) {
51
-    $to_route_id = $routes[rand(0, sizeof($routes)-1)]->route_id;
51
+	$to_route_id = $routes[rand(0, sizeof($routes)-1)]->route_id;
52 52
 }
53 53
 
54 54
 echo "<br> to the route -> " . $to_route_id ."<br>";
55 55
 
56 56
 if (is_null($to_route_id)) {
57
-    echo "Can't retrieve random route_id!.. Try again.";
58
-    return;
57
+	echo "Can't retrieve random route_id!.. Try again.";
58
+	return;
59 59
 }
60 60
 
61 61
 // Get random destination destination from selected source route above
@@ -64,17 +64,17 @@  discard block
 block discarded – undo
64 64
 $after_destination_id = $addressRand2['route_destination_id'];
65 65
 
66 66
 if (is_null($after_destination_id)) {
67
-    echo "can't retrieve random address!.. Try again.";
68
-    return;
67
+	echo "can't retrieve random address!.. Try again.";
68
+	return;
69 69
 }
70 70
 
71 71
 echo "after_destination_id = $after_destination_id <br>";
72 72
 
73 73
 // Move the destination to the route     
74 74
 $routeparams = array(
75
-    'to_route_id'           =>  $to_route_id,
76
-    'route_destination_id'  =>  strval($route_destination_id),
77
-    'after_destination_id'  =>  strval($after_destination_id)
75
+	'to_route_id'           =>  $to_route_id,
76
+	'route_destination_id'  =>  strval($route_destination_id),
77
+	'after_destination_id'  =>  strval($after_destination_id)
78 78
 );
79 79
 
80 80
 $address = new Address();
Please login to merge, or discard this patch.