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.
Completed
Branch master (ae3ad2)
by Dan
04:30
created
examples/Order/GetOrder.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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 	
16 16
 	
17
-	$orderParameters=Order::fromArray(array(
17
+	$orderParameters = Order::fromArray(array(
18 18
 		"order_id"	=> 78
19 19
 	));
20 20
 
Please login to merge, or discard this patch.
examples/Order/AddOrder2Route.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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 	
16 16
 	
17
-	$orderParameters=Order::fromArray(array(
17
+	$orderParameters = Order::fromArray(array(
18 18
 		"route_id"	=> "28DAE34FE8341C30CA58726E10B6F8E9",
19 19
 		"redirect"	=> 0,
20 20
 	));
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
 	$order = new Order();
27 27
 	
28
-	$response = $order->addOrder2Route($orderParameters,$body);
28
+	$response = $order->addOrder2Route($orderParameters, $body);
29 29
 	
30 30
 	Route4Me::simplePrint($response);
31 31
 ?>
32 32
\ No newline at end of file
Please login to merge, or discard this patch.
examples/single_driver_route_ten_stops.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-require __DIR__.'/../vendor/autoload.php';;
2
+require __DIR__.'/../vendor/autoload.php'; ;
3 3
 
4 4
 use Route4Me\Route4Me;
5 5
 use Route4Me\Enum\OptimizationType;
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 $json = array_slice($json, 0, 10);
23 23
 
24 24
 $addresses = array();
25
-foreach($json as $address) {
25
+foreach ($json as $address) {
26 26
     $addresses[] = Address::fromArray($address);
27 27
 }
28 28
 
Please login to merge, or discard this patch.
examples/get_route_manifest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-require __DIR__.'/../vendor/autoload.php';;
2
+require __DIR__.'/../vendor/autoload.php'; ;
3 3
 
4 4
 use Route4Me\Route4Me;
5 5
 use Route4Me\Route;
Please login to merge, or discard this patch.
examples/single_driver_round_trip.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
 $json = array_slice($json, 0, 10);
23 23
 
24 24
 $addresses = array();
25
-foreach($json as $address) {
25
+foreach ($json as $address) {
26 26
     $addresses[] = Address::fromArray($address);
27 27
 }
28 28
 
Please login to merge, or discard this patch.
examples/AddressBook/GetAddressBookLocation.php 1 patch
Spacing   +5 added lines, -5 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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -10,14 +10,14 @@  discard block
 block discarded – undo
10 10
 	// Set the api key in the Route4Me class
11 11
 	Route4Me::setApiKey('11111111111111111111111111111111');
12 12
 	
13
-	$abLocation=new AddressBookLocation();
13
+	$abLocation = new AddressBookLocation();
14 14
 	
15 15
 	//Example for retrieving Address Book Location by address_id
16 16
 	//--------------------------------------------------------- 
17
-	$query=4621569;
18
-	$abcResult=$abLocation->getAddressBookLocation($query);
17
+	$query = 4621569;
18
+	$abcResult = $abLocation->getAddressBookLocation($query);
19 19
 	
20
-	$results=$abLocation->getValue($abcResult,"results");
20
+	$results = $abLocation->getValue($abcResult, "results");
21 21
 	
22 22
 	Route4Me::simplePrint($results);
23 23
 	//--------------------------------------------------------- 
Please login to merge, or discard this patch.
examples/AddressBook/RemoveAddressBookLocations.php 1 patch
Spacing   +12 added lines, -12 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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,21 +11,21 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4Me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$AdressBookLocationParameters=AddressBookLocation::fromArray(array(
15
-		"first_name"	=> "Test FirstName ".strval(rand(10000,99999)),
16
-		"address_1"		=> "Test Address1 ".strval(rand(10000,99999)),
14
+	$AdressBookLocationParameters = AddressBookLocation::fromArray(array(
15
+		"first_name"	=> "Test FirstName ".strval(rand(10000, 99999)),
16
+		"address_1"		=> "Test Address1 ".strval(rand(10000, 99999)),
17 17
 		"cached_lat"	=> 38.024654,
18 18
 		"cached_lng"	=> -77.338814
19 19
 	));
20 20
 	
21
-	$abContacts=new AddressBookLocation();
21
+	$abContacts = new AddressBookLocation();
22 22
 	
23
-	$abcResults=$abContacts->addAdressBookLocation($AdressBookLocationParameters);
23
+	$abcResults = $abContacts->addAdressBookLocation($AdressBookLocationParameters);
24 24
 	
25
-	$address_id=-1;
25
+	$address_id = -1;
26 26
 	if (is_array($abcResults)) {
27 27
 		if (isset($abcResults["address_id"])) {
28
-			$address_id=$abcResults["address_id"];
28
+			$address_id = $abcResults["address_id"];
29 29
 		}
30 30
 	}
31 31
 	
@@ -35,13 +35,13 @@  discard block
 block discarded – undo
35 35
 	}
36 36
 	echo "Address Book Location with address_id = ".strval($address_id)." was successfully added<br>";
37 37
 	
38
-	$addressBookLocations=array(6305950);
38
+	$addressBookLocations = array(6305950);
39 39
 	
40
-	$abLocations=new AddressBookLocation();
40
+	$abLocations = new AddressBookLocation();
41 41
 	
42
-	$deleteResult=$abLocations->deleteAdressBookLocation($addressBookLocations);
42
+	$deleteResult = $abLocations->deleteAdressBookLocation($addressBookLocations);
43 43
 	
44
-	if (is_array($deleteResult)){
44
+	if (is_array($deleteResult)) {
45 45
 		if (sizeof($deleteResult)>0) {
46 46
 			echo "Address Book Location with address_id = ".strval($address_id)." was successfully deleted<br>";
47 47
 		} else {
Please login to merge, or discard this patch.
examples/AddressBook/AddAddressBookLocation.php 1 patch
Spacing   +6 added lines, -6 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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,16 +11,16 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$AdressBookLocationParameters=AddressBookLocation::fromArray(array(
15
-		"first_name"	=> "Test FirstName ".strval(rand(10000,99999)),
16
-		"address_1"		=> "Test Address1 ".strval(rand(10000,99999)),
14
+	$AdressBookLocationParameters = AddressBookLocation::fromArray(array(
15
+		"first_name"	=> "Test FirstName ".strval(rand(10000, 99999)),
16
+		"address_1"		=> "Test Address1 ".strval(rand(10000, 99999)),
17 17
 		"cached_lat"	=> 38.024654,
18 18
 		"cached_lng"	=> -77.338814
19 19
 	));
20 20
 	
21
-	$abContacts=new AddressBookLocation();
21
+	$abContacts = new AddressBookLocation();
22 22
 	
23
-	$abcResults=$abContacts->addAdressBookLocation($AdressBookLocationParameters);
23
+	$abcResults = $abContacts->addAdressBookLocation($AdressBookLocationParameters);
24 24
 	
25 25
 	echo "address_id = ".strval($abcResults["address_id"])."<br>";
26 26
 	
Please login to merge, or discard this patch.
examples/AddressBook/GetAddressBookLocations.php 1 patch
Spacing   +5 added lines, -5 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
-	$vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
4
+	$vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/';
5 5
 
6 6
     require $vdir.'/../vendor/autoload.php';
7 7
 	
@@ -11,16 +11,16 @@  discard block
 block discarded – undo
11 11
 	// Set the api key in the Route4Me class
12 12
 	Route4Me::setApiKey('11111111111111111111111111111111');
13 13
 	
14
-	$AdressBookLocationParameters=AddressBookLocation::fromArray(array(
14
+	$AdressBookLocationParameters = AddressBookLocation::fromArray(array(
15 15
 		"limit"		=> 30,
16 16
 		"offset"	=> 0
17 17
 	));
18 18
 	
19
-	$abContacts=new AddressBookLocation();
19
+	$abContacts = new AddressBookLocation();
20 20
 	
21
-	$abcResults=$abContacts->getAddressBookLocations($AdressBookLocationParameters);
21
+	$abcResults = $abContacts->getAddressBookLocations($AdressBookLocationParameters);
22 22
 	
23
-	$results=$abContacts->getValue($abcResults,"results");
23
+	$results = $abContacts->getValue($abcResults, "results");
24 24
 	
25 25
 	Route4Me::simplePrint($results);
26 26
 
Please login to merge, or discard this patch.