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
examples/AvoidanceZones/CreateRectZone.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@
 block discarded – undo
16 16
 
17 17
 $territoryParams['type'] = TerritoryTypes::RECT;
18 18
 $territoryParams['data'] = array(
19
-    "43.51668853502909,-109.3798828125",
20
-    "46.98025235521883,-101.865234375"
19
+	"43.51668853502909,-109.3798828125",
20
+	"46.98025235521883,-101.865234375"
21 21
 );
22 22
 
23 23
 $AvoidanceZoneParameters = AvoidanceZone::fromArray(array(
24
-    "territory_name"   => "Test Rectangular Avoidance Zone ".strval(rand(10000, 99999)),
25
-    "territory_color"  => "ff7700",
26
-    "territory"        => $territoryParams
24
+	"territory_name"   => "Test Rectangular Avoidance Zone ".strval(rand(10000, 99999)),
25
+	"territory_color"  => "ff7700",
26
+	"territory"        => $territoryParams
27 27
 ));
28 28
 
29 29
 $avoidancezone = new AvoidanceZone();
Please login to merge, or discard this patch.
examples/AvoidanceZones/CreatePolyZone.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -16,21 +16,21 @@
 block discarded – undo
16 16
 
17 17
 $territoryParams['type'] = TerritoryTypes::POLY;
18 18
 $territoryParams['data'] = array(
19
-    "37.769752822786455,-77.67833251953125",
20
-        "37.75886716305343,-77.68974800109863",
21
-        "37.74763966054455,-77.6917221069336",
22
-        "37.74655084306813,-77.68863220214844",
23
-        "37.7502255383101,-77.68125076293945",
24
-        "37.74797991274437,-77.67498512268066",
25
-        "37.73327960206065,-77.6411678314209",
26
-        "37.74430510679532,-77.63172645568848",
27
-        "37.76641925847049,-77.66846199035645"
19
+	"37.769752822786455,-77.67833251953125",
20
+		"37.75886716305343,-77.68974800109863",
21
+		"37.74763966054455,-77.6917221069336",
22
+		"37.74655084306813,-77.68863220214844",
23
+		"37.7502255383101,-77.68125076293945",
24
+		"37.74797991274437,-77.67498512268066",
25
+		"37.73327960206065,-77.6411678314209",
26
+		"37.74430510679532,-77.63172645568848",
27
+		"37.76641925847049,-77.66846199035645"
28 28
 );
29 29
 
30 30
 $AvoidanceZoneParameters = AvoidanceZone::fromArray(array(
31
-    "territory_name"   => "Test Poligonian Avoidance Zone ".strval(rand(10000, 99999)),
32
-    "territory_color"  => "ff7700",
33
-    "territory"        => $territoryParams
31
+	"territory_name"   => "Test Poligonian Avoidance Zone ".strval(rand(10000, 99999)),
32
+	"territory_color"  => "ff7700",
33
+	"territory"        => $territoryParams
34 34
 ));
35 35
 
36 36
 $avoidancezone = new AvoidanceZone();
Please login to merge, or discard this patch.
examples/AvoidanceZones/GetAvoidanceZone.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
 
19 19
 $territoryParams['type'] = TerritoryTypes::CIRCLE;
20 20
 $territoryParams['data'] = array(
21
-    "37.569752822786455,-77.47833251953125",
22
-    "5000"
21
+	"37.569752822786455,-77.47833251953125",
22
+	"5000"
23 23
 );
24 24
 
25 25
 $AvoisanceZoneParameters = AvoidanceZone::fromArray(array(
26
-    "territory_name"   => "Test Territory ".strval(rand(10000, 99999)),
27
-    "territory_color"  => "ff7700",
28
-    "territory"        => $territoryParams
26
+	"territory_name"   => "Test Territory ".strval(rand(10000, 99999)),
27
+	"territory_color"  => "ff7700",
28
+	"territory"        => $territoryParams
29 29
 ));
30 30
 
31 31
 $avoidancezone = new AvoidanceZone();
Please login to merge, or discard this patch.
examples/AvoidanceZones/UpdateAvoidanceZone.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
 
19 19
 $territoryParams['type'] = TerritoryTypes::CIRCLE;
20 20
 $territoryParams['data'] = array(
21
-    "37.569752822786455,-77.47833251953125",
22
-    "5000"
21
+	"37.569752822786455,-77.47833251953125",
22
+	"5000"
23 23
 );
24 24
 
25 25
 $AvoidanceZoneParameters = AvoidanceZone::fromArray(array(
26
-    "territory_name"   => "Test Territory ".strval(rand(10000, 99999)),
27
-    "territory_color"  => "ff7700",
28
-    "territory"        => $territoryParams
26
+	"territory_name"   => "Test Territory ".strval(rand(10000, 99999)),
27
+	"territory_color"  => "ff7700",
28
+	"territory"        => $territoryParams
29 29
 ));
30 30
 
31 31
 $avoidancezone = new AvoidanceZone();
@@ -41,15 +41,15 @@  discard block
 block discarded – undo
41 41
 $territory = new Territory();
42 42
 $territory->type = TerritoryTypes::RECT;
43 43
 $territory->data = array(
44
-    "37.869752822786455,-77.49833251953125",
45
-    "5000"
44
+	"37.869752822786455,-77.49833251953125",
45
+	"5000"
46 46
 );
47 47
 
48 48
 $AvoidanceZoneParameters = array(
49
-    "territory_id"     => $territory_id,
50
-    "territory_name"   => "Test Territory Updated",
51
-    "territory_color"  => "ff5500",
52
-    "territory"        => $territory
49
+	"territory_id"     => $territory_id,
50
+	"territory_name"   => "Test Territory Updated",
51
+	"territory_color"  => "ff5500",
52
+	"territory"        => $territory
53 53
 );
54 54
 
55 55
 $result1 = $avoidancezone->updateAvoidanceZone($AvoidanceZoneParameters);
Please login to merge, or discard this patch.
examples/Geocoding/forward_geocode.php 1 patch
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('11111111111111111111111111111111');
12 12
 
13 13
 $geocodingParameters = array(
14
-    'strExportFormat'  => 'json',
15
-    'addresses'        => 'Los20%Angeles20%International20%Airport,20%CA'
14
+	'strExportFormat'  => 'json',
15
+	'addresses'        => 'Los20%Angeles20%International20%Airport,20%CA'
16 16
 );
17 17
 
18 18
 $fGeoCoding = new Geocoding();
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 $fgResult = $fGeoCoding->forwardGeocoding($geocodingParameters);
21 21
 
22 22
 if ($geocodingParameters['strExportFormat']=='json') {
23
-    Route4Me::simplePrint($fgResult);
23
+	Route4Me::simplePrint($fgResult);
24 24
 } else {
25
-    Route4Me::simplePrint($fgResult['destination']);
25
+	Route4Me::simplePrint($fgResult['destination']);
26 26
 }
Please login to merge, or discard this patch.
examples/Geocoding/get_street_adddress_single.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $gcParameters = (array)Geocoding::fromArray(array(
16
-    "pk" => 4
16
+	"pk" => 4
17 17
 ));
18 18
 
19 19
 $geocoding = new Geocoding();
Please login to merge, or discard this patch.
examples/Geocoding/batch_geocode_addresses.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@  discard block
 block discarded – undo
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15 15
 $addressList = array(
16
-    "Los Angeles International Airport, CA",
17
-    "n512,Florida Pl,Barberton,OH,44203",
18
-    "3495,Purdue St,Cuyahoga Falls,OH,44221"
16
+	"Los Angeles International Airport, CA",
17
+	"n512,Florida Pl,Barberton,OH,44203",
18
+	"3495,Purdue St,Cuyahoga Falls,OH,44221"
19 19
 );
20 20
 
21 21
 $addressesString = implode('\n', $addressList);
22 22
 
23 23
 $geocodingParameters = array(
24
-    'strExportFormat'  => 'json',
25
-    'addresses'        => $addressesString
24
+	'strExportFormat'  => 'json',
25
+	'addresses'        => $addressesString
26 26
 );
27 27
 
28 28
 $fGeoCoding = new Geocoding();
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 $bgResults = $fGeoCoding->forwardGeocoding($geocodingParameters);
31 31
 
32 32
 if ($geocodingParameters['strExportFormat']=='json') {
33
-    foreach ($bgResults as $bgResult) {
34
-        Route4Me::simplePrint($bgResult);
35
-        echo "<br>";
36
-    }
33
+	foreach ($bgResults as $bgResult) {
34
+		Route4Me::simplePrint($bgResult);
35
+		echo "<br>";
36
+	}
37 37
 } else {
38
-    foreach ($bgResults['destination'] as $bgResult) {
39
-        Route4Me::simplePrint($bgResult);
40
-        echo "<br>";
41
-    }
38
+	foreach ($bgResults['destination'] as $bgResult) {
39
+		Route4Me::simplePrint($bgResult);
40
+		echo "<br>";
41
+	}
42 42
 }
Please login to merge, or discard this patch.
examples/Notes/AddCustomNoteType.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 
13 13
 // Create a custom note type
14 14
 $noteParameters=array(
15
-    "type"   => 'To Do',
16
-    "values" => array(
17
-                  'Pass a package',
18
-                  'Pickup package',
19
-                  'Do a service'
20
-                )
15
+	"type"   => 'To Do',
16
+	"values" => array(
17
+				  'Pass a package',
18
+				  'Pickup package',
19
+				  'Do a service'
20
+				)
21 21
 );
22 22
 
23 23
 $address = new Address();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 Route4Me::setApiKey('11111111111111111111111111111111');
12 12
 
13 13
 // Create a custom note type
14
-$noteParameters=array(
14
+$noteParameters = array(
15 15
     "type"   => 'To Do',
16 16
     "values" => array(
17 17
                   'Pass a package',
Please login to merge, or discard this patch.
examples/Members/get_single_user.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
 // Get a specified user with details
35 35
 $param = array (
36
-    "member_id" => $randomUserID
36
+	"member_id" => $randomUserID
37 37
 );
38 38
 
39 39
 $response = $member->getUser($param);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 echo "Random user ID -> $randomUserID <br><br>";
33 33
 
34 34
 // Get a specified user with details
35
-$param = array (
35
+$param = array(
36 36
     "member_id" => $randomUserID
37 37
 );
38 38
 
Please login to merge, or discard this patch.