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 ( b54c2e...66b33a )
by Oleg
01:58
created
examples/Addresses/RemoveDestinationFromOptimization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 assert(!is_null($route_destination_id), "Can't retrieve random address");
39 39
 
40 40
 // Remove the destination from the optimization
41
-$params = array (
41
+$params = array(
42 42
     "optimization_problem_id"  => $optimization_problem_id,
43 43
     "route_destination_id"     => $route_destination_id
44 44
 );
Please login to merge, or discard this patch.
examples/Addresses/insert_address_into_route_optimal_position.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,5 +52,5 @@
 block discarded – undo
52 52
 assert(isset($result->addresses), "Can't insert a destination into the route");
53 53
 
54 54
 foreach ($result->addresses as $address) {
55
-	echo "Address -> ".$address->address , ", Sequence number -> ".$address->sequence_no."<br>";
55
+	echo "Address -> ".$address->address, ", Sequence number -> ".$address->sequence_no."<br>";
56 56
 }
Please login to merge, or discard this patch.
examples/Addresses/MoveDestinationToRoute.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
 // Get random source route from test routes
28 28
 $route = new Route();
29 29
 
30
-$route_id0 = $routes[rand(0, sizeof($routes)-1)]->route_id;
30
+$route_id0 = $routes[rand(0, sizeof($routes) - 1)]->route_id;
31 31
 
32
-echo "<br> From the route -> ".$route_id0 ."<br>";
32
+echo "<br> From the route -> ".$route_id0."<br>";
33 33
 
34 34
 if (is_null($route_id0)) {
35 35
     echo "Can't retrieve random route_id!.. Try again.";
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     $to_route_id = $routes[rand(0, sizeof($routes) - 1)]->route_id;
52 52
 }
53 53
 
54
-echo "<br> to the route -> ".$to_route_id ."<br>";
54
+echo "<br> to the route -> ".$to_route_id."<br>";
55 55
 
56 56
 if (is_null($to_route_id)) {
57 57
     echo "Can't retrieve random route_id!.. Try again.";
Please login to merge, or discard this patch.
examples/Tracking/GetDeviceTrackingHistoryFromTimeRange.php 1 patch
Spacing   +3 added lines, -3 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\Enum\DeviceType;
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
 assert($status['status'], "Can't send GPS position to the selected route");
47 47
 
48 48
 // Get the device tracking history from a time range
49
-$startDate = time() - 30*24*3600;
50
-$endDate = time() + 1*24*3600;
49
+$startDate = time() - 30 * 24 * 3600;
50
+$endDate = time() + 1 * 24 * 3600;
51 51
 
52 52
 $params = array(
53 53
     'route_id'     => $routeId,
Please login to merge, or discard this patch.
examples/Optimizations/RemoveOptimization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 assert(!is_null($optimizationProblemId), "Can't retrieve a random optimization problem ID");
24 24
 
25 25
 // Remove an optimization
26
-$params = array (
26
+$params = array(
27 27
     "optimization_problem_ids"  => array(
28 28
         "0" => $optimizationProblemId
29 29
     ),
Please login to merge, or discard this patch.
examples/Order/RemoveOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
 // Remove 2 random orders
31 31
 $orderParameters = Order::fromArray(array(
32
-    'order_ids' => array (
32
+    'order_ids' => array(
33 33
         0 => $randomOrderID1,
34 34
         1 => $randomOrderID2,
35 35
       )
Please login to merge, or discard this patch.
examples/AvoidanceZones/GetAvoidanceZones.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
 $avoidancezone = new AvoidanceZone();
14 14
 
15
-$queryparameters = array ();
15
+$queryparameters = array();
16 16
 
17 17
 $azones = $avoidancezone->getAvoidanceZones($queryparameters);
18 18
 
Please login to merge, or discard this patch.
examples/Vehicles/UpdateVehicle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 assert(!is_null($randomVehicleID), "Can't retrieve a random vehilce ID");
23 23
 
24 24
 // Update the vehicle
25
-$vehicleParameters = Vehicle::fromArray(array (
25
+$vehicleParameters = Vehicle::fromArray(array(
26 26
     'vehicle_id'             => $randomVehicleID,
27 27
     'vehicle_model_year'     => 2013,
28 28
     'vehicle_year_acquired'  => 2016,
Please login to merge, or discard this patch.
examples/Vehicles/CreateHeavyTruck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
 $vehicle = new Vehicle();
19 19
 
20
-$vehicleParameters = Vehicle::fromArray(array (
20
+$vehicleParameters = Vehicle::fromArray(array(
21 21
     'vehicle_alias'                    => 'Peterbilt 579',
22 22
     'vehicle_vin'                      => '1NP5DB9X93N507873',
23 23
     'vehicle_license_plate'            => 'PPV7516',
Please login to merge, or discard this patch.