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
Push — master ( 7df5b3...76b098 )
by Oleg
13:52 queued 11:32
created
examples/AddressBook/GetAddressBookLocation.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 // Get reandom address book location
15 15
 $AddressBookLocationParameters = array(
16
-        "limit"   => 30,
17
-        "offset"  => 0
16
+		"limit"   => 30,
17
+		"offset"  => 0
18 18
 );
19 19
 
20 20
 $randomLocation = $abLocation->getRandomAddressBookLocation($AddressBookLocationParameters);
Please login to merge, or discard this patch.
examples/AddressBook/RemoveAddressBookLocations.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
 Route4Me::setApiKey('11111111111111111111111111111111');
15 15
 
16 16
 $AddressBookLocationParameters = AddressBookLocation::fromArray(array(
17
-    "first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
18
-    "address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
19
-    "cached_lat"  => 38.024654,
20
-    "cached_lng"  => -77.338814
17
+	"first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
18
+	"address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
19
+	"cached_lat"  => 38.024654,
20
+	"cached_lng"  => -77.338814
21 21
 ));
22 22
 
23 23
 $abContacts = new AddressBookLocation();
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 $address_id = -1;
28 28
 
29 29
 if (isset($createdContact['address_id'])) {
30
-    $address_id = $createdContact["address_id"];
30
+	$address_id = $createdContact["address_id"];
31 31
 }
32 32
 
33 33
 assert($address_id!=-1, "Creating of Address Book Location was failed. Try again!.. <br>");
Please login to merge, or discard this patch.
examples/AddressBook/GetAddressBookLocations.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 // Example refers to getting the address book locations
14 14
 
15 15
 $AddressBookLocationParameters = array(
16
-    "limit"   => 30,
17
-    "offset"  => 0
16
+	"limit"   => 30,
17
+	"offset"  => 0
18 18
 );
19 19
 
20 20
 $abContacts = new AddressBookLocation();
@@ -25,5 +25,5 @@  discard block
 block discarded – undo
25 25
 
26 26
 foreach ($results as $result) {
27 27
 	Route4Me::simplePrint($result);
28
-    echo "<br>";
28
+	echo "<br>";
29 29
 }
Please login to merge, or discard this patch.
examples/AddressBook/UpdateAddressBookLocation.php 1 patch
Indentation   +5 added lines, -5 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
 $AddressBookLocationParameters = AddressBookLocation::fromArray(array(
16
-    "first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
17
-    "address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
18
-    "cached_lat"  => 38.024654,
19
-    "cached_lng"  => -77.338814
16
+	"first_name"  => "Test FirstName ".strval(rand(10000, 99999)),
17
+	"address_1"   => "Test Address1 ".strval(rand(10000, 99999)),
18
+	"cached_lat"  => 38.024654,
19
+	"cached_lng"  => -77.338814
20 20
 ));
21 21
 
22 22
 $abLocation = new AddressBookLocation();
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 assert(isset($abcResult['address_id']), "Cannot create an address book location. <br><br>");
29 29
 
30 30
 if (isset($abcResult["address_id"])) {
31
-    $address_id = $abcResult["address_id"];
31
+	$address_id = $abcResult["address_id"];
32 32
 }
33 33
 
34 34
 assert($address_id!=-1, "Cannot create an address book location. <br><br>");
Please login to merge, or discard this patch.
src/Route4Me/ActivityParameters.php 1 patch
Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -6,78 +6,78 @@
 block discarded – undo
6 6
 
7 7
 class ActivityParameters extends Common
8 8
 {
9
-    public $route_id;
10
-    public $device_id;
11
-    public $member_id;
12
-    public $team;
13
-    public $limit;
14
-    public $offset;
15
-    public $start;
16
-    public $end;
17
-    public $activity_type;
18
-    public $activity_message;
9
+	public $route_id;
10
+	public $device_id;
11
+	public $member_id;
12
+	public $team;
13
+	public $limit;
14
+	public $offset;
15
+	public $start;
16
+	public $end;
17
+	public $activity_type;
18
+	public $activity_message;
19 19
     
20
-    public $activity_id;
21
-    public $activity_timestamp;
22
-    public $route_destination_id;
23
-    public $note_id;
24
-    public $member;
25
-    public $note_type;
26
-    public $note_contents;
27
-    public $route_name;
28
-    public $note_file;
29
-    public $destination_name;
30
-    public $destination_alias;
20
+	public $activity_id;
21
+	public $activity_timestamp;
22
+	public $route_destination_id;
23
+	public $note_id;
24
+	public $member;
25
+	public $note_type;
26
+	public $note_contents;
27
+	public $route_name;
28
+	public $note_file;
29
+	public $destination_name;
30
+	public $destination_alias;
31 31
     
32
-    public static function fromArray(array $params) 
33
-    {
34
-        $activityparameters = new ActivityParameters();
32
+	public static function fromArray(array $params) 
33
+	{
34
+		$activityparameters = new ActivityParameters();
35 35
         
36
-        foreach ($params as $key => $value) {
37
-            if (property_exists($activityparameters, $key)) {
38
-                $activityparameters->{$key} = $value;
39
-            }
40
-        }
36
+		foreach ($params as $key => $value) {
37
+			if (property_exists($activityparameters, $key)) {
38
+				$activityparameters->{$key} = $value;
39
+			}
40
+		}
41 41
         
42
-        return $activityparameters;
43
-    }
42
+		return $activityparameters;
43
+	}
44 44
     
45
-    public static function getActivities($params)
46
-    {
47
-        $allQueryFields = array('route_id', 'team', 'limit', 'offset', 'start');
45
+	public static function getActivities($params)
46
+	{
47
+		$allQueryFields = array('route_id', 'team', 'limit', 'offset', 'start');
48 48
         
49
-        $activity = Route4Me::makeRequst(array(
50
-            'url'    => Endpoint::GET_ACTIVITIES,
51
-            'method' => 'GET',
52
-            'query'  => Route4Me::generateRequestParameters($allQueryFields, $params)
53
-        ));
49
+		$activity = Route4Me::makeRequst(array(
50
+			'url'    => Endpoint::GET_ACTIVITIES,
51
+			'method' => 'GET',
52
+			'query'  => Route4Me::generateRequestParameters($allQueryFields, $params)
53
+		));
54 54
 
55
-        return $activity;
56
-    }
55
+		return $activity;
56
+	}
57 57
 
58
-    public static function searchActivities($params)
59
-    {
60
-        $allQueryFields = array('route_id', 'limit', 'offset', 'activity_type');
58
+	public static function searchActivities($params)
59
+	{
60
+		$allQueryFields = array('route_id', 'limit', 'offset', 'activity_type');
61 61
         
62
-        $activity = Route4Me::makeRequst(array(
63
-            'url'    => Endpoint::GET_ACTIVITIES,
64
-            'method' => 'GET',
65
-            'query'  => Route4Me::generateRequestParameters($allQueryFields, $params)
66
-        ));
62
+		$activity = Route4Me::makeRequst(array(
63
+			'url'    => Endpoint::GET_ACTIVITIES,
64
+			'method' => 'GET',
65
+			'query'  => Route4Me::generateRequestParameters($allQueryFields, $params)
66
+		));
67 67
 
68
-        return $activity;
69
-    }
68
+		return $activity;
69
+	}
70 70
     
71
-    public static function sendUserMessage($params)
72
-    {
73
-        $allBodyFields = array('activity_type', 'activity_message', 'route_id');
71
+	public static function sendUserMessage($params)
72
+	{
73
+		$allBodyFields = array('activity_type', 'activity_message', 'route_id');
74 74
         
75
-        $result = Route4Me::makeRequst(array(
76
-            'url'    => Endpoint::ACTIVITY_FEED,
77
-            'method' => 'POST',
78
-            'body'   => Route4Me::generateRequestParameters($allBodyFields, $params)
79
-        ));
75
+		$result = Route4Me::makeRequst(array(
76
+			'url'    => Endpoint::ACTIVITY_FEED,
77
+			'method' => 'POST',
78
+			'body'   => Route4Me::generateRequestParameters($allBodyFields, $params)
79
+		));
80 80
         
81
-        return $result;
82
-    }
81
+		return $result;
82
+	}
83 83
 }
Please login to merge, or discard this patch.