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/GetOrder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 assert(!is_null($orderID), "Can't retrieve a random order ID");
25 25
 
26 26
 // Get an order
27
-$orderParameters=Order::fromArray(array(
27
+$orderParameters = Order::fromArray(array(
28 28
     "order_id"  => $orderID
29 29
 ));
30 30
 
Please login to merge, or discard this patch.
examples/Order/OrderSearchInsertedDate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 // This example not available for demo API key
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16
-$orderParameters=Order::fromArray(array(
17
-    "day_added_YYMMDD"  => date("Y-m-d", strtotime( '-1 days' )),
16
+$orderParameters = Order::fromArray(array(
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
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 // This example not available for demo API key
12 12
 Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 
14
-$orderParameters=Order::fromArray(array(
14
+$orderParameters = Order::fromArray(array(
15 15
     "address_1"                 => "318 S 39th St, Louisville, KY 40212, USA",
16 16
     "cached_lat"                => 38.259326,
17 17
     "cached_lng"                => -85.814979,
Please login to merge, or discard this patch.
examples/Order/NewOrder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 // This example not available for demo API key
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16
-$orderParameters=Order::fromArray(array(
16
+$orderParameters = Order::fromArray(array(
17 17
     "address_1"                => "1358 E Luzerne St, Philadelphia, PA 19124, US",
18 18
     "cached_lat"               => 48.335991,
19 19
     "cached_lng"               => 31.18287,
Please login to merge, or discard this patch.
examples/Order/OrderSearchScheduledDate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 // This example not available for demo API key
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16
-$orderParameters=Order::fromArray(array(
17
-    "scheduled_for_YYMMDD" => date("Y-m-d", strtotime( '-1 days' )),
16
+$orderParameters = Order::fromArray(array(
17
+    "scheduled_for_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/UpdateOrder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
 assert(!is_null($randomOrder), "Can't retrieve a random order");
25 25
 
26 26
 // Update the order
27
-$randomOrder['address_2']="Lviv";
28
-$randomOrder['EXT_FIELD_phone']="032268593";
29
-$randomOrder['EXT_FIELD_custom_data']=array(
27
+$randomOrder['address_2'] = "Lviv";
28
+$randomOrder['EXT_FIELD_phone'] = "032268593";
29
+$randomOrder['EXT_FIELD_custom_data'] = array(
30 30
             0 => array(
31 31
                "customer_no" => "11"
32 32
             )
Please login to merge, or discard this patch.
examples/Order/OrderSearchText.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 // This example not available for demo API key
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16
-$orderParameters=Order::fromArray(array(
16
+$orderParameters = Order::fromArray(array(
17 17
     "query"   => "Automated Order",
18 18
     "offset"  => 0,
19 19
     "limit"   => 5
Please login to merge, or discard this patch.
examples/Order/OrderSearchCustomFields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 // This example not available for demo API key
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16
-$orderParameters=Order::fromArray(array(
16
+$orderParameters = Order::fromArray(array(
17 17
     "fields" => "order_id,member_id",
18 18
     "offset" => 0,
19 19
     "limit"  => 5
Please login to merge, or discard this patch.
examples/Order/AddOrder2Optimization.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root=realpath(dirname(__FILE__).'/../../');
4
+$root = realpath(dirname(__FILE__).'/../../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 assert(!is_null($optimizationProblemId), "Can't retrieve a random optimization problem ID");
26 26
 
27 27
 // Add an order to an optimization
28
-$orderParameters=array(
28
+$orderParameters = array(
29 29
     "optimization_problem_id" => $optimizationProblemId,
30 30
     "redirect"                => 0,
31 31
     "device_type"             => "web",
@@ -37,6 +37,6 @@  discard block
 block discarded – undo
37 37
 
38 38
 $order = new Order();
39 39
 
40
-$response = $order->addOrder2Optimization($orderParameters,$body);
40
+$response = $order->addOrder2Optimization($orderParameters, $body);
41 41
 
42 42
 Route4Me::simplePrint($response);
Please login to merge, or discard this patch.