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 ( ba89cf...799599 )
by Oleg
02:27
created
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/RemoveOrder.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
-$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
 require $vdir.'/../vendor/autoload.php';
7 7
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
 // Remove 2 random orders
32 32
 $orderParameters = Order::fromArray(array(
33
-    'order_ids' => array (
33
+    'order_ids' => array(
34 34
         0 => $randomOrderID1,
35 35
         1 => $randomOrderID2,
36 36
       )
Please login to merge, or discard this patch.
examples/AvoidanceZones/GetAvoidanceZones.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Enum\TerritoryTypes;
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 $avoidancezone = new AvoidanceZone();
14 14
 
15
-$queryparameters = array ();
15
+$queryparameters = array();
16 16
 
17 17
 $azones = $avoidancezone->getAvoidanceZones($queryparameters);
18 18
 
Please login to merge, or discard this patch.