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
Branch Editing-Fixing (c4d168)
by Igor
03:30
created
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/OrderSearchScheduledDate.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
-    "scheduled_for_YYMMDD" => date("Y-m-d", strtotime( '-1 days' )),
18
-    "offset"               => 0,
19
-    "limit"                => 5
17
+	"scheduled_for_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.
examples/Order/UpdateOrder.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
 $randomOrder['address_2']="Lviv";
28 28
 $randomOrder['EXT_FIELD_phone']="032268593";
29 29
 $randomOrder['EXT_FIELD_custom_data']=array(
30
-            0 => array(
31
-               "customer_no" => "11"
32
-            )
33
-        );
30
+			0 => array(
31
+			   "customer_no" => "11"
32
+			)
33
+		);
34 34
 
35 35
 $response = $order->updateOrder($randomOrder);
36 36
 
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/OrderSearchCustomFields.php 1 patch
Indentation   +4 added lines, -4 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
-    "fields" => "order_id,member_id",
18
-    "offset" => 0,
19
-    "limit"  => 5
17
+	"fields" => "order_id,member_id",
18
+	"offset" => 0,
19
+	"limit"  => 5
20 20
 ));
21 21
 
22 22
 $order = new Order();
@@ -24,5 +24,5 @@  discard block
 block discarded – undo
24 24
 $response = $order->getOrder($orderParameters);
25 25
 
26 26
 foreach ($response as $key => $order) {
27
-    Route4Me::simplePrint($order);
27
+	Route4Me::simplePrint($order);
28 28
 }
Please login to merge, or discard this patch.
examples/Order/AddOrder2Optimization.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
 
27 27
 // Add an order to an optimization
28 28
 $orderParameters=array(
29
-    "optimization_problem_id" => $optimizationProblemId,
30
-    "redirect"                => 0,
31
-    "device_type"             => "web",
29
+	"optimization_problem_id" => $optimizationProblemId,
30
+	"redirect"                => 0,
31
+	"device_type"             => "web",
32 32
 );
33 33
 
34 34
 $jfile = file_get_contents("add_order_to_optimization_data.json");
Please login to merge, or discard this patch.
examples/Order/RemoveOrder.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
 
31 31
 // Remove 2 random orders
32 32
 $orderParameters = Order::fromArray(array(
33
-    'order_ids' => array (
34
-        0 => $randomOrderID1,
35
-        1 => $randomOrderID2,
36
-      )
33
+	'order_ids' => array (
34
+		0 => $randomOrderID1,
35
+		1 => $randomOrderID2,
36
+	  )
37 37
 ));
38 38
 
39 39
 $response = $order->removeOrder($orderParameters);
Please login to merge, or discard this patch.
examples/Order/AddOrder2Route.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 
26 26
 // Add an order to a route
27 27
 $orderParameters=Order::fromArray(array(
28
-    "route_id"    => $routeID,
29
-    "redirect"    => 0,
28
+	"route_id"    => $routeID,
29
+	"redirect"    => 0,
30 30
 ));
31 31
 
32 32
 $jfile = file_get_contents("add_order_to_route_data.json");
Please login to merge, or discard this patch.
examples/AvoidanceZones/AddAvoidanceZone.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,14 +15,14 @@
 block discarded – undo
15 15
 $territory = new Territory();
16 16
 $territory->type = TerritoryTypes::CIRCLE;
17 17
 $territory->data = array (
18
-    "37.569752822786455,-77.47833251953125",
19
-    "5000"
18
+	"37.569752822786455,-77.47833251953125",
19
+	"5000"
20 20
 );
21 21
 
22 22
 $AvoisanceZoneParameters = AvoidanceZone::fromArray(array(
23
-    "territory_name"   => "Test Circle Avoidance Zone ".strval(rand(10000,99999)),
24
-    "territory_color"  => "ff7700",
25
-    "territory"        => $territory
23
+	"territory_name"   => "Test Circle Avoidance Zone ".strval(rand(10000,99999)),
24
+	"territory_color"  => "ff7700",
25
+	"territory"        => $territory
26 26
 ));
27 27
 
28 28
 $avoidancezone = new AvoidanceZone();
Please login to merge, or discard this patch.