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 ( 55318a...b54c2e )
by Oleg
02:27
created
src/Route4Me/OptimizationProblemParams.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             $param->setParameters(RouteParameters::fromArray($params['parameters']));
35 35
         }
36 36
 
37
-        foreach($params['addresses'] as $address) {
37
+        foreach ($params['addresses'] as $address) {
38 38
             if (!($address instanceof Address)) {
39 39
                 $address = Address::fromArray($address);
40 40
             }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $addresses = array();
79 79
         
80
-        foreach($this->addresses as $address) {
80
+        foreach ($this->addresses as $address) {
81 81
             $addresses[] = $address->toArray();
82 82
         }
83 83
         
Please login to merge, or discard this patch.
src/Route4Me/Enum/Endpoint.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -44,18 +44,18 @@
 block discarded – undo
44 44
   const ORDER_V4 = '/api.v4/order.php';
45 45
   
46 46
   const ROUTE_V4 = '/api.v4/route.php';
47
-  const ROUTE_DUPLICATE ='/actions/duplicate_route.php';
48
-  const ROUTES_DELETE ='/actions/delete_routes.php';
49
-  const REOPTIMIZE_V3_2 ='/api.v3/route/reoptimize_2.php';
50
-  const ROUTES_MERGE ='/actions/merge_routes.php';
51
-  const ROUTE_SHARE ='/actions/route/share_route.php';
52
-  const ROUTE_NOTES_ADD ='/actions/addRouteNotes.php';
53
-  const STATUS_V4 ='/api.v4/status.php';
54
-  const GET_DEVICE_LOCATION ='/api/track/get_device_location.php';
55
-  
56
-  const TRACK_SET ='/track/set.php';
57
-  
58
-  const NOTE_CUSTOM_TYPES_V4 ='/api.v4/note_custom_types.php';
47
+  const ROUTE_DUPLICATE = '/actions/duplicate_route.php';
48
+  const ROUTES_DELETE = '/actions/delete_routes.php';
49
+  const REOPTIMIZE_V3_2 = '/api.v3/route/reoptimize_2.php';
50
+  const ROUTES_MERGE = '/actions/merge_routes.php';
51
+  const ROUTE_SHARE = '/actions/route/share_route.php';
52
+  const ROUTE_NOTES_ADD = '/actions/addRouteNotes.php';
53
+  const STATUS_V4 = '/api.v4/status.php';
54
+  const GET_DEVICE_LOCATION = '/api/track/get_device_location.php';
55
+  
56
+  const TRACK_SET = '/track/set.php';
57
+  
58
+  const NOTE_CUSTOM_TYPES_V4 = '/api.v4/note_custom_types.php';
59 59
   
60 60
   const VEHICLE_V4 = '/api/vehicles';
61 61
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/AlgorithmType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,6 @@
 block discarded – undo
10 10
     const TSP_TW = 5;
11 11
     const TSP_TW_CR = 6;
12 12
     const BBCVRP = 7;
13
-    const ALG_NONE  =  100;
13
+    const ALG_NONE  = 100;
14 14
     const ALG_LEGACY_DISTRIBUTED = 101;
15 15
 }
Please login to merge, or discard this patch.
src/Route4Me/AvoidanceZone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 
8 8
 class AvoidanceZone extends Common
9 9
 {
10
-    public $territory_id;  // Avoidance zone id
10
+    public $territory_id; // Avoidance zone id
11 11
     public $territory_name; 
12 12
     public $territory_color;
13 13
     public $orders;
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         
31 31
         $avoidanceZoneParameters = new AvoidanceZone();
32 32
         
33
-        foreach($params as $key => $value) {
33
+        foreach ($params as $key => $value) {
34 34
             if (property_exists($avoidanceZoneParameters, $key)) {
35 35
                 $avoidanceZoneParameters->{$key} = $value;
36 36
             }
Please login to merge, or discard this patch.
examples/Activities/GetActivities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 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;
Please login to merge, or discard this patch.
examples/Addresses/AddDestinationToOptimization.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 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\Route;
Please login to merge, or discard this patch.
examples/Addresses/GetAddress.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 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\Route;
Please login to merge, or discard this patch.
examples/Addresses/RemoveRouteDestination.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 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\Route;
Please login to merge, or discard this patch.
examples/Addresses/AddRouteDestinations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 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\Route;
Please login to merge, or discard this patch.