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
examples/Territories/UpdateTerritory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 echo "---------------------------------------------------------------<br><br>";
38 38
 
39 39
 // Update territory
40
-$territoryParameters = array (
40
+$territoryParameters = array(
41 41
     "type" => TerritoryTypes::RECT,
42 42
     "data" => array(
43 43
         "29.6600127358956,-95.6593322753906",
Please login to merge, or discard this patch.
examples/Routes/SearchRoute.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;
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     $results = (array)$routeResult;
26 26
     
27 27
     if (isset($results['route_id'])) {
28
-        echo "Route ID - > " . $results['route_id'] . "<br>";
28
+        echo "Route ID - > ".$results['route_id']."<br>";
29 29
     }
30 30
     
31 31
     if (isset($results['parameters']->route_name)) {
Please login to merge, or discard this patch.
src/Route4Me/OptimizationProblem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             
147 147
         $rOptimization = $optimizations[rand(0, sizeof($optimizations) - 1)];
148 148
         
149
-        if(!isset($rOptimization->optimization_problem_id)) {
149
+        if (!isset($rOptimization->optimization_problem_id)) {
150 150
             if (sizeof($optimizations)>9) {
151 151
                 $this->getRandomOptimizationId($offset, $limit);
152 152
             } else {
Please login to merge, or discard this patch.
src/Route4Me/Member.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
     
66 66
     public static function fromArray(array $params) 
67 67
     {
68
-        $member= new Member();
68
+        $member = new Member();
69 69
         
70
-        foreach($params as $key => $value) {
70
+        foreach ($params as $key => $value) {
71 71
             if (property_exists($member, $key)) {
72 72
                 $member->{$key} = $value;
73 73
             }
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         foreach ($members['results'] as $memb) {
157 157
             if (isset($memb['member_id']) && isset($memb['member_type'])) {
158 158
                 if ($memberType==$memb['member_type']) {
159
-                    $memberIDs[]=$memb['member_id'];
159
+                    $memberIDs[] = $memb['member_id'];
160 160
                 }
161 161
             }
162 162
         }
Please login to merge, or discard this patch.
src/Route4Me/Vehicle.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
     public $weight_metric;
60 60
     public $max_weight_per_axle_group_metric;
61 61
     
62
-    public function __construct () 
62
+    public function __construct() 
63 63
     {
64 64
         Route4Me::setBaseUrl(Endpoint::WH_BASE_URL);
65 65
     }
66 66
     
67 67
     public static function fromArray(array $params) {
68
-        $vehicle= new Vehicle();
68
+        $vehicle = new Vehicle();
69 69
         foreach ($params as $key => $value) {
70 70
             if (property_exists($vehicle, $key)) {
71 71
                 $vehicle->{$key} = $value;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         return $response;
89 89
     }
90 90
     
91
-    public function getRandomVehicleId($page,$perPage)
91
+    public function getRandomVehicleId($page, $perPage)
92 92
     {
93 93
         $params = array(
94 94
             'page'             => isset($page) ? $page : 1,
Please login to merge, or discard this patch.
examples/MultipleDepotMultipleDriverWith24StopsTimeWindow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 $parameters = RouteParameters::fromArray(array(
33 33
     "algorithm_type"          => Algorithmtype::CVRP_TW_SD,
34 34
     "route_name"              => "Multiple Depot, Multiple Driver with 24 Stops, Time Window",
35
-    "route_date"              => time() + 24*60*60,
35
+    "route_date"              => time() + 24 * 60 * 60,
36 36
     "route_time"              => 60 * 60 * 7,
37 37
     "distance_unit"           => DistanceUnit::MILES,
38 38
     "device_type"             => DeviceType::WEB,
Please login to merge, or discard this patch.