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/AddressBook/AddAddressBookLocation.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 Route4Me::setApiKey('11111111111111111111111111111111');
12 12
 
13 13
 $AdressBookLocationParameters = AddressBookLocation::fromArray(array(
14
-    "first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
15
-    "address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
16
-    "cached_lat"  => 38.024654,
17
-    "cached_lng"  => -77.338814
14
+	"first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
15
+	"address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
16
+	"cached_lat"  => 38.024654,
17
+	"cached_lng"  => -77.338814
18 18
 ));
19 19
 
20 20
 $abContacts = new AddressBookLocation();
Please login to merge, or discard this patch.
examples/Activities/GetRouteTeamActivities.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
 assert(!is_null($routeId), "Can't retrieve random route_id");
21 21
 
22 22
 $activityParameters = ActivityParameters::fromArray(array(
23
-    "route_id"   => $routeId,
24
-    "team"       => "true"
23
+	"route_id"   => $routeId,
24
+	"team"       => "true"
25 25
 ));
26 26
 
27 27
 $activities = new ActivityParameters();
@@ -30,5 +30,5 @@  discard block
 block discarded – undo
30 30
 
31 31
 foreach ($results as $result) {
32 32
 	Route4Me::simplePrint($result);
33
-    echo "<br>";
33
+	echo "<br>";
34 34
 }
Please login to merge, or discard this patch.
examples/Addresses/mark_address_as_departed.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 $address = new Address();
30 30
 
31 31
 $params = array(
32
-    "route_id"     => $routeId,
33
-    "address_id"   => $route_destination_id,
34
-    "is_departed"  => 1,
35
-    "member_id"    => 1
32
+	"route_id"     => $routeId,
33
+	"address_id"   => $route_destination_id,
34
+	"is_departed"  => 1,
35
+	"member_id"    => 1
36 36
 );
37 37
 
38 38
 $result = $address->markAsDeparted($params);
Please login to merge, or discard this patch.
examples/Addresses/AddRouteDestinations.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -23,25 +23,25 @@
 block discarded – undo
23 23
 $addresses = array();
24 24
 
25 25
 $address1 = (array)Address::fromArray(array(
26
-    'address'   =>  '146 Bill Johnson Rd NE Milledgeville GA 31061',
27
-    'lat'       =>  33.143526,
28
-    'lng'       =>  -83.240354,
29
-    'time'      =>  0
26
+	'address'   =>  '146 Bill Johnson Rd NE Milledgeville GA 31061',
27
+	'lat'       =>  33.143526,
28
+	'lng'       =>  -83.240354,
29
+	'time'      =>  0
30 30
 ));
31 31
 
32 32
 $address2 = (array)Address::fromArray(array(
33
-    'address'   =>  '222 Blake Cir Milledgeville GA 31061',
34
-    'lat'       =>  33.177852,
35
-    'lng'       =>  -83.263535,
36
-    'time'      =>  0
33
+	'address'   =>  '222 Blake Cir Milledgeville GA 31061',
34
+	'lat'       =>  33.177852,
35
+	'lng'       =>  -83.263535,
36
+	'time'      =>  0
37 37
 ));
38 38
 
39 39
 $addresses[] = $address1; 
40 40
 $addresses[] = $address2;
41 41
 
42 42
 $routeParameters = array(
43
-    "route_id"  =>  $routeId,
44
-    "addresses" => array($address1, $address2)
43
+	"route_id"  =>  $routeId,
44
+	"addresses" => array($address1, $address2)
45 45
 );
46 46
 
47 47
 $route1 = new Route();
Please login to merge, or discard this patch.
examples/Addresses/mark_address_as_visited.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@  discard block
 block discarded – undo
23 23
 $addressRand = (array)$route->GetRandomAddressFromRoute($routeId);
24 24
 
25 25
 if (isset($addressRand['is_depot'])) {
26
-    if ($addressRand['is_depot']) {
27
-        echo "Random choosed address is depot, it can't be marked!.. Try again.";
28
-        return;
29
-    }
26
+	if ($addressRand['is_depot']) {
27
+		echo "Random choosed address is depot, it can't be marked!.. Try again.";
28
+		return;
29
+	}
30 30
 }
31 31
 
32 32
 // Get random address's id from selected route above
@@ -39,10 +39,10 @@  discard block
 block discarded – undo
39 39
 $address = new Address();
40 40
 
41 41
 $params = array(
42
-    "route_id"    => $routeId,
43
-    "address_id"  =>  $route_destination_id,
44
-    "is_visited"  => 1,
45
-    "member_id"   => 1
42
+	"route_id"    => $routeId,
43
+	"address_id"  =>  $route_destination_id,
44
+	"is_visited"  => 1,
45
+	"member_id"   => 1
46 46
 );
47 47
 
48 48
 $result = $address->markAsVisited($params);
Please login to merge, or discard this patch.
examples/Optimizations/GetOptimizations.php 1 patch
Indentation   +3 added lines, -3 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
 $routeParameters = array(
14
-    'limit'  =>  5,
15
-    'offset' =>  0
14
+	'limit'  =>  5,
15
+	'offset' =>  0
16 16
 );
17 17
 
18 18
 $optimizationProblem = new OptimizationProblem();
@@ -20,5 +20,5 @@  discard block
 block discarded – undo
20 20
 $optimizations = $optimizationProblem->get($routeParameters);
21 21
 
22 22
 foreach ($optimizations as $optimization) {
23
-    echo "Optimization problem ID -> ".$optimization->optimization_problem_id."<br>";
23
+	echo "Optimization problem ID -> ".$optimization->optimization_problem_id."<br>";
24 24
 }
Please login to merge, or discard this patch.
examples/Order/OrderSearchInsertedDate.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16 16
 $orderParameters = Order::fromArray(array(
17
-    "day_added_YYMMDD"  => date("Y-m-d", strtotime('-1 days')),
18
-    "offset"            => 0,
19
-    "limit"             => 5
17
+	"day_added_YYMMDD"  => date("Y-m-d", strtotime('-1 days')),
18
+	"offset"            => 0,
19
+	"limit"             => 5
20 20
 ));
21 21
 
22 22
 $order = new Order();
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 $response = $order->getOrder($orderParameters);
25 25
 
26 26
 foreach ($response['results'] as $key => $order) {
27
-    Route4Me::simplePrint($order);
28
-    echo "<br>";
27
+	Route4Me::simplePrint($order);
28
+	echo "<br>";
29 29
 }
Please login to merge, or discard this patch.
examples/Order/OrderSearchScheduledDate.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16 16
 $orderParameters = Order::fromArray(array(
17
-    "scheduled_for_YYMMDD" => date("Y-m-d", strtotime('-1 days')),
18
-    "offset"               => 0,
19
-    "limit"                => 5
17
+	"scheduled_for_YYMMDD" => date("Y-m-d", strtotime('-1 days')),
18
+	"offset"               => 0,
19
+	"limit"                => 5
20 20
 ));
21 21
 
22 22
 $order = new Order();
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
 $response = $order->getOrder($orderParameters);
25 25
 
26 26
 foreach ($response['results'] as $key => $order) {
27
-    Route4Me::simplePrint($order);
28
-    echo "<br>";
27
+	Route4Me::simplePrint($order);
28
+	echo "<br>";
29 29
 }
Please login to merge, or discard this patch.
examples/Order/UpdateOrder.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
 $randomOrder['address_2'] = "Lviv";
28 28
 $randomOrder['EXT_FIELD_phone'] = "032268593";
29 29
 $randomOrder['EXT_FIELD_custom_data'] = array(
30
-            0 => array(
31
-               "customer_no" => "11"
32
-            )
33
-        );
30
+			0 => array(
31
+			   "customer_no" => "11"
32
+			)
33
+		);
34 34
 
35 35
 $response = $order->updateOrder($randomOrder);
36 36
 
Please login to merge, or discard this patch.