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 ( e32f99...71857c )
by Oleg
01:56
created
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/Tracking/TrackDeviceLastLocationHistory.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\Enum\DeviceType;
Please login to merge, or discard this patch.
examples/Tracking/AssetTracking.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\Enum\DeviceType;
Please login to merge, or discard this patch.
examples/Optimizations/hybridOptimization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
 /* Get Hybrid Optimization */
98 98
 
99
-$ep = time()+604800;
99
+$ep = time() + 604800;
100 100
 $sched_date = date("Y-m-d", $ep);
101 101
 
102 102
 $hybridParams = array(
Please login to merge, or discard this patch.
examples/optimizationWithCallbackUrl.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;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
 $addresses = array();
28 28
 
29
-foreach($json as $address) {
29
+foreach ($json as $address) {
30 30
     $addresses[] = Address::fromArray($address);
31 31
 }
32 32
 
Please login to merge, or discard this patch.
examples/Routes/ResequenceAllAddresses.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.
src/Route4Me/Route4Me.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
         
135 135
         if ($file!=null) {
136 136
             curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
137
-            $fp=fopen($file, 'r');
137
+            $fp = fopen($file, 'r');
138 138
             curl_setopt($ch, CURLOPT_INFILE, $fp);
139 139
             curl_setopt($ch, CURLOPT_INFILESIZE, filesize($file));
140 140
         }
Please login to merge, or discard this patch.
examples/get_route_tracking.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;
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 $route = new Route();
16 16
 
17 17
 // Get a random route ID
18
-$route_id=$route->getRandomRouteId(0, 10);
18
+$route_id = $route->getRandomRouteId(0, 10);
19 19
 assert(!is_null($route_id), "Can't retrieve a random route ID");
20 20
 
21 21
 $params = array(
Please login to merge, or discard this patch.