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 ( df61f9...6c209c )
by Oleg
03:05
created
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.
examples/Activities/GetRouteActivities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 $route = new Route();
20 20
 $route_id = $route->getRandomRouteId(0, 10);
21 21
 echo "route_id -> $route_id <br>";
22
-$count=0;
22
+$count = 0;
23 23
 
24 24
 // Itereate through all the existing activity types
25 25
 foreach ($activityTypes->getConstants() as $prop => $value) {
Please login to merge, or discard this patch.