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.
Test Failed
Push — master ( 733b13...0e4df4 )
by Igor
08:58 queued 13s
created
examples/Geocoding/get_street_adddresses_limit.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'offset' => 0,
15
-    'limit'  => 5,
14
+	'offset' => 0,
15
+	'limit'  => 5,
16 16
 ]);
17 17
 
18 18
 $geoCoding = new Geocoding();
@@ -20,6 +20,6 @@  discard block
 block discarded – undo
20 20
 $response = $geoCoding->getStreetData($gcParameters);
21 21
 
22 22
 foreach ($response as $gCode) {
23
-    Route4Me::simplePrint($gCode);
24
-    echo '<br>';
23
+	Route4Me::simplePrint($gCode);
24
+	echo '<br>';
25 25
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'offset' => 0,
15 15
     'limit'  => 5,
16 16
 ]);
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_house_limit.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'zipcode'       => '00601',
15
-    'housenumber'   => 17,
16
-    'offset'        => 0,
17
-    'limit'         => 10,
14
+	'zipcode'       => '00601',
15
+	'housenumber'   => 17,
16
+	'offset'        => 0,
17
+	'limit'         => 10,
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'zipcode'       => '00601',
15 15
     'housenumber'   => 17,
16 16
     'offset'        => 0,
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_house_all.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'zipcode'       => '00601',
15
-    'housenumber'   => 17,
14
+	'zipcode'       => '00601',
15
+	'housenumber'   => 17,
16 16
 ]);
17 17
 
18 18
 $geoCoding = new Geocoding();
@@ -20,6 +20,6 @@  discard block
 block discarded – undo
20 20
 $response = $geoCoding->getService($gcParameters);
21 21
 
22 22
 foreach ($response as $gCode) {
23
-    Route4Me::simplePrint($gCode);
24
-    echo '<br>';
23
+	Route4Me::simplePrint($gCode);
24
+	echo '<br>';
25 25
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'zipcode'       => '00601',
15 15
     'housenumber'   => 17,
16 16
 ]);
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddress_single.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'pk' => 4,
14
+	'pk' => 4,
15 15
 ]);
16 16
 
17 17
 $geoCoding = new Geocoding();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'pk' => 4,
15 15
 ]);
16 16
 
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_limit.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'zipcode'   => '00601',
15
-    'offset'    => 0,
16
-    'limit'     => 20,
14
+	'zipcode'   => '00601',
15
+	'offset'    => 0,
16
+	'limit'     => 20,
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'zipcode'   => '00601',
15 15
     'offset'    => 0,
16 16
     'limit'     => 20,
Please login to merge, or discard this patch.
examples/Geocoding/batch_geocode_addresses.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -11,16 +11,16 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $addressList = [
14
-    'Los Angeles International Airport, CA',
15
-    'n512, Florida Pl, Barberton, OH,44203',
16
-    '3495, Purdue St, Cuyahoga Falls,OH,44221',
14
+	'Los Angeles International Airport, CA',
15
+	'n512, Florida Pl, Barberton, OH,44203',
16
+	'3495, Purdue St, Cuyahoga Falls,OH,44221',
17 17
 ];
18 18
 
19 19
 $addressesString = implode('\n', $addressList);
20 20
 
21 21
 $geoCodingParameters = [
22
-    'strExportFormat'   => 'json',
23
-    'addresses'         => $addressesString,
22
+	'strExportFormat'   => 'json',
23
+	'addresses'         => $addressesString,
24 24
 ];
25 25
 
26 26
 $fGeoCoding = new Geocoding();
@@ -28,13 +28,13 @@  discard block
 block discarded – undo
28 28
 $bgResults = $fGeoCoding->forwardGeocoding($geoCodingParameters);
29 29
 
30 30
 if ('json' == $geoCodingParameters['strExportFormat']) {
31
-    foreach ($bgResults as $bgResult) {
32
-        Route4Me::simplePrint($bgResult);
33
-        echo '<br>';
34
-    }
31
+	foreach ($bgResults as $bgResult) {
32
+		Route4Me::simplePrint($bgResult);
33
+		echo '<br>';
34
+	}
35 35
 } else {
36
-    foreach ($bgResults['destination'] as $bgResult) {
37
-        Route4Me::simplePrint($bgResult);
38
-        echo '<br>';
39
-    }
36
+	foreach ($bgResults['destination'] as $bgResult) {
37
+		Route4Me::simplePrint($bgResult);
38
+		echo '<br>';
39
+	}
40 40
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 $bgResults = $fGeoCoding->forwardGeocoding($geoCodingParameters);
29 29
 
30
-if ('json' == $geoCodingParameters['strExportFormat']) {
30
+if ('json'==$geoCodingParameters['strExportFormat']) {
31 31
     foreach ($bgResults as $bgResult) {
32 32
         Route4Me::simplePrint($bgResult);
33 33
         echo '<br>';
Please login to merge, or discard this patch.
examples/Geocoding/reverse_geocode.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
 Route4Me::setApiKey(Constants::API_KEY);
10 10
 
11 11
 $geoCodingParameters = [
12
-    'format'    => 'xml',
13
-    'addresses' => '42.35863,-71.05670',
12
+	'format'    => 'xml',
13
+	'addresses' => '42.35863,-71.05670',
14 14
 ];
15 15
 
16 16
 $fGeoCoding = new Geocoding();
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
 $fgResult = $fGeoCoding->reverseGeocoding($geoCodingParameters);
19 19
 
20 20
 if ('json' == $geoCodingParameters['format']) {
21
-    foreach ($fgResult as $dest) {
22
-        Route4Me::simplePrint($dest);
23
-        echo '<br>';
24
-    }
21
+	foreach ($fgResult as $dest) {
22
+		Route4Me::simplePrint($dest);
23
+		echo '<br>';
24
+	}
25 25
 } else {
26
-    foreach ($fgResult['destination'] as $dest) {
27
-        Route4Me::simplePrint($dest);
28
-        echo '<br>';
29
-    }
26
+	foreach ($fgResult['destination'] as $dest) {
27
+		Route4Me::simplePrint($dest);
28
+		echo '<br>';
29
+	}
30 30
 }
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
 $fgResult = $fGeoCoding->reverseGeocoding($geoCodingParameters);
19 19
 
20
-if ('json' == $geoCodingParameters['format']) {
20
+if ('json'==$geoCodingParameters['format']) {
21 21
     foreach ($fgResult as $dest) {
22 22
         Route4Me::simplePrint($dest);
23 23
         echo '<br>';
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddresses_zip_all.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13 13
 $gcParameters = (array) Geocoding::fromArray([
14
-    'zipcode' => '00601',
14
+	'zipcode' => '00601',
15 15
 ]);
16 16
 
17 17
 $geoCoding = new Geocoding();
@@ -19,6 +19,6 @@  discard block
 block discarded – undo
19 19
 $response = $geoCoding->getZipCode($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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 // Set the api key in the Route4me class
11 11
 Route4Me::setApiKey(Constants::API_KEY);
12 12
 
13
-$gcParameters = (array) Geocoding::fromArray([
13
+$gcParameters = (array)Geocoding::fromArray([
14 14
     'zipcode' => '00601',
15 15
 ]);
16 16
 
Please login to merge, or discard this patch.
examples/Geocoding/forward_geocode.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
 Route4Me::setApiKey(Constants::API_KEY);
10 10
 
11 11
 $geoCodingParameters = [
12
-    'strExportFormat' => 'json',
13
-    'addresses'       => 'Los20%Angeles20%International20%Airport,20%CA',
12
+	'strExportFormat' => 'json',
13
+	'addresses'       => 'Los20%Angeles20%International20%Airport,20%CA',
14 14
 ];
15 15
 
16 16
 $fGeoCoding = new Geocoding();
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 $fgResult = $fGeoCoding->forwardGeocoding($geoCodingParameters);
19 19
 
20 20
 if ('json' == $geoCodingParameters['strExportFormat']) {
21
-    Route4Me::simplePrint($fgResult);
21
+	Route4Me::simplePrint($fgResult);
22 22
 } else {
23
-    Route4Me::simplePrint($fgResult['destination']);
23
+	Route4Me::simplePrint($fgResult['destination']);
24 24
 }
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
 $fgResult = $fGeoCoding->forwardGeocoding($geoCodingParameters);
19 19
 
20
-if ('json' == $geoCodingParameters['strExportFormat']) {
20
+if ('json'==$geoCodingParameters['strExportFormat']) {
21 21
     Route4Me::simplePrint($fgResult);
22 22
 } else {
23 23
     Route4Me::simplePrint($fgResult['destination']);
Please login to merge, or discard this patch.