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 ( f8b914...a425f6 )
by Oleg
01:57
created
examples/Vehicles/CreateLightTruck.php 2 patches
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -18,33 +18,33 @@
 block discarded – undo
18 18
 $vehicle = new Vehicle();
19 19
 
20 20
 $vehicleParameters = Vehicle::fromArray(array (
21
-    'vehicle_alias'                    => 'GMC TopKick C5500 Light',
22
-    'vehicle_vin'                      => 'SAJXA01A06FN08012',
23
-    'vehicle_license_plate'            => 'CVH4561',
24
-    'vehicle_model'                    => 'TopKick C5500',
25
-    'vehicle_model_year'               => 1995,
26
-    'vehicle_year_acquired'            => 2008,
27
-    'vehicle_reg_country_id'           => '223',
28
-    'vehicle_make'                     => 'GMC',
29
-    'vehicle_type_id'                  => 'pickup_truck',
30
-    'vehicle_axle_count'               => 2,
31
-    'mpg_city'                         => 7,
32
-    'mpg_highway'                      => 14,
33
-    'fuel_type'                        => 'diesel',
34
-    'height_inches'                    => 97,
35
-    'height_metric'                    => 243,
36
-    'weight_lb'                        => 19000,
37
-    'maxWeightPerAxleGroupInPounds'    => 9500,
38
-    'max_weight_per_axle_group_metric' => 4300,
39
-    'widthInInches'                    => 96,
40
-    'width_metric'                     => 240,
41
-    'lengthInInches'                   => 244,
42
-    'length_metric'                    => 610,
43
-    'Use53FootTrailerRouting'          => 'NO',
44
-    'UseTruckRestrictions'             => 'NO',
45
-    'DividedHighwayAvoidPreference'    => 'NEUTRAL',
46
-    'FreewayAvoidPreference'           => 'NEUTRAL',
47
-    'truck_config'                     => 'FULLSIZEVAN',
21
+	'vehicle_alias'                    => 'GMC TopKick C5500 Light',
22
+	'vehicle_vin'                      => 'SAJXA01A06FN08012',
23
+	'vehicle_license_plate'            => 'CVH4561',
24
+	'vehicle_model'                    => 'TopKick C5500',
25
+	'vehicle_model_year'               => 1995,
26
+	'vehicle_year_acquired'            => 2008,
27
+	'vehicle_reg_country_id'           => '223',
28
+	'vehicle_make'                     => 'GMC',
29
+	'vehicle_type_id'                  => 'pickup_truck',
30
+	'vehicle_axle_count'               => 2,
31
+	'mpg_city'                         => 7,
32
+	'mpg_highway'                      => 14,
33
+	'fuel_type'                        => 'diesel',
34
+	'height_inches'                    => 97,
35
+	'height_metric'                    => 243,
36
+	'weight_lb'                        => 19000,
37
+	'maxWeightPerAxleGroupInPounds'    => 9500,
38
+	'max_weight_per_axle_group_metric' => 4300,
39
+	'widthInInches'                    => 96,
40
+	'width_metric'                     => 240,
41
+	'lengthInInches'                   => 244,
42
+	'length_metric'                    => 610,
43
+	'Use53FootTrailerRouting'          => 'NO',
44
+	'UseTruckRestrictions'             => 'NO',
45
+	'DividedHighwayAvoidPreference'    => 'NEUTRAL',
46
+	'FreewayAvoidPreference'           => 'NEUTRAL',
47
+	'truck_config'                     => 'FULLSIZEVAN',
48 48
 ));
49 49
 
50 50
 $result = $vehicle->createVehicle($vehicleParameters);
Please login to merge, or discard this 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'                    => 'GMC TopKick C5500 Light',
22 22
     'vehicle_vin'                      => 'SAJXA01A06FN08012',
23 23
     'vehicle_license_plate'            => 'CVH4561',
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_limit.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $gcParameters = (array)Geocoding::fromArray(array(
16
-    "zipcode" => '00601',
17
-    "offset"  => 0,
18
-    "limit"   => 20
16
+	"zipcode" => '00601',
17
+	"offset"  => 0,
18
+	"limit"   => 20
19 19
 ));
20 20
 
21 21
 $geocoding = new Geocoding();
@@ -23,6 +23,6 @@  discard block
 block discarded – undo
23 23
 $response = $geocoding->getZipCode($gcParameters);
24 24
 
25 25
 foreach ($response as $gcode) {
26
-    Route4Me::simplePrint($gcode);
27
-    echo "<br>";
26
+	Route4Me::simplePrint($gcode);
27
+	echo "<br>";
28 28
 }
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_house_all.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $gcParameters = (array)Geocoding::fromArray(array(
16
-    "zipcode"     => '00601',
17
-    "housenumber" => 17
16
+	"zipcode"     => '00601',
17
+	"housenumber" => 17
18 18
 ));
19 19
 
20 20
 $geocoding = new Geocoding();
@@ -22,6 +22,6 @@  discard block
 block discarded – undo
22 22
 $response = $geocoding->getService($gcParameters);
23 23
 
24 24
 foreach ($response as $gcode) {
25
-    Route4Me::simplePrint($gcode);
26
-    echo "<br>";
25
+	Route4Me::simplePrint($gcode);
26
+	echo "<br>";
27 27
 }
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_all.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
 $response = $geocoding->getStreetData($gcParameters);
20 20
 
21 21
 foreach ($response as $gcode) {
22
-    Route4Me::simplePrint($gcode);
23
-    echo "<br>";
22
+	Route4Me::simplePrint($gcode);
23
+	echo "<br>";
24 24
 }
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_house_limit.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $gcParameters = (array)Geocoding::fromArray(array(
16
-    "zipcode"     => '00601',
17
-    "housenumber" => 17,
18
-    "offset"      => 0,
19
-    "limit"       => 10
16
+	"zipcode"     => '00601',
17
+	"housenumber" => 17,
18
+	"offset"      => 0,
19
+	"limit"       => 10
20 20
 ));
21 21
 
22 22
 $geocoding = new Geocoding();
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 $response = $geocoding->getService($gcParameters);
25 25
 
26 26
 foreach ($response as $gcode) {
27
-    Route4Me::simplePrint($gcode);
28
-    echo "<br>";
27
+	Route4Me::simplePrint($gcode);
28
+	echo "<br>";
29 29
 }
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_all.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $gcParameters = (array)Geocoding::fromArray(array(
16
-    "zipcode" => '00601'
16
+	"zipcode" => '00601'
17 17
 ));
18 18
 
19 19
 $geocoding = new Geocoding();
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
 $response = $geocoding->getZipCode($gcParameters);
22 22
 
23 23
 foreach ($response as $gcode) {
24
-    Route4Me::simplePrint($gcode);
25
-    echo "<br>";
24
+	Route4Me::simplePrint($gcode);
25
+	echo "<br>";
26 26
 }
Please login to merge, or discard this patch.
examples/Notes/AddCustomNoteToRoute.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,15 +27,15 @@
 block discarded – undo
27 27
 
28 28
 // Add a custom note to a route
29 29
 $noteParameters = array(
30
-    'route_id'             =>  $routeId,
31
-    'address_id'           =>  $route_destination_id,
32
-    'format'               =>  'json',
33
-    'dev_lat'              =>  33.132675170898,
34
-    'dev_lng'              =>  -83.244743347168,
35
-    'custom_note_type[11]' => 'slippery',
36
-    'custom_note_type[10]' => 'Backdoor',
37
-    'strUpdateType'        => 'dropoff',
38
-    'strNoteContents'      => 'test1111'
30
+	'route_id'             =>  $routeId,
31
+	'address_id'           =>  $route_destination_id,
32
+	'format'               =>  'json',
33
+	'dev_lat'              =>  33.132675170898,
34
+	'dev_lng'              =>  -83.244743347168,
35
+	'custom_note_type[11]' => 'slippery',
36
+	'custom_note_type[10]' => 'Backdoor',
37
+	'strUpdateType'        => 'dropoff',
38
+	'strNoteContents'      => 'test1111'
39 39
 );
40 40
 
41 41
 $address = new Address();
Please login to merge, or discard this patch.
examples/Notes/RemoveCustomNoteType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
 // Remove a custom note type
27 27
 $noteParameters = array(
28
-    "id" => $randomCustomNoteID
28
+	"id" => $randomCustomNoteID
29 29
 );
30 30
 
31 31
 $address = new Address();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Route;
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
 $customNotes = $address->getAllCustomNoteTypes();
20 20
 
21 21
 assert(!is_null($customNotes), "Can't retrieve all custom note types");
22
-assert(sizeof($customNotes) > 0, "There is no custom note type in the user's account");
22
+assert(sizeof($customNotes)>0, "There is no custom note type in the user's account");
23 23
 
24
-$randomCustomNoteID = $customNotes[rand(0,sizeof($customNotes)-1)]['note_custom_type_id']; 
24
+$randomCustomNoteID = $customNotes[rand(0, sizeof($customNotes) - 1)]['note_custom_type_id']; 
25 25
 
26 26
 // Remove a custom note type
27 27
 $noteParameters = array(
Please login to merge, or discard this patch.
examples/Notes/AddAddressNote.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
 
28 28
 // Add an address note
29 29
 $noteParameters = array(
30
-    "route_id"        => $route_id,
31
-    "address_id"      => $route_destination_id,
32
-    "dev_lat"         => 33.132675170898,
33
-    "dev_lng"         => -83.244743347168,
34
-    "device_type"     => "web",
35
-    "strUpdateType"   => "dropoff",
36
-    "strNoteContents" => "Test"
30
+	"route_id"        => $route_id,
31
+	"address_id"      => $route_destination_id,
32
+	"dev_lat"         => 33.132675170898,
33
+	"dev_lng"         => -83.244743347168,
34
+	"device_type"     => "web",
35
+	"strUpdateType"   => "dropoff",
36
+	"strNoteContents" => "Test"
37 37
 );
38 38
 
39 39
 $address = new Address();
Please login to merge, or discard this patch.