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 ( 49fd2d...63bb85 )
by Oleg
02:40 queued 42s
created
examples/Routes/UpdateRouteDestination.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 // Update the route destination
31 31
 $route->parameters = new \stdClass();
32 32
 
33
-$route->addresses = array( Address::fromArray(array(
33
+$route->addresses = array(Address::fromArray(array(
34 34
     "alias"                   =>  "new address alias",
35 35
     "first_name"              =>  "Edi",
36 36
     "last_name"               =>  "Jacobson",
Please login to merge, or discard this patch.
examples/Routes/DeleteRoutes.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/Routes/MergeRoutes.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/Routes/UpdateRouteParameters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     "member_id"           => $randomRoute->member_id,
34 34
     "optimize"            => "Distance",
35 35
     "route_max_duration"  => "82400",
36
-    "route_name"          => "updated " . date('m-d-Y')
36
+    "route_name"          => "updated ".date('m-d-Y')
37 37
 );
38 38
 
39 39
 $route->httpheaders = 'Content-type: application/json';
Please login to merge, or discard this patch.
examples/Territories/GetTerritories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
 $territory = new Territory();
14 14
 
15
-$queryparameters = array (
15
+$queryparameters = array(
16 16
     "offset" => 0,
17 17
     "limit"  => 20
18 18
 );
Please login to merge, or discard this patch.
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.