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 ( 55318a...b54c2e )
by Oleg
02:27
created
examples/Notes/RemoveCustomNoteType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Route;
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
 $customNotes = $address->getAllCustomNoteTypes();
20 20
 
21 21
 assert(!is_null($customNotes), "Can't retrieve all custom note types");
22
-assert(sizeof($customNotes) > 0, "There is no custom note type in the user's account");
22
+assert(sizeof($customNotes)>0, "There is no custom note type in the user's account");
23 23
 
24
-$randomCustomNoteID = $customNotes[rand(0,sizeof($customNotes)-1)]['note_custom_type_id']; 
24
+$randomCustomNoteID = $customNotes[rand(0, sizeof($customNotes) - 1)]['note_custom_type_id']; 
25 25
 
26 26
 // Remove a custom note type
27 27
 $noteParameters = array(
Please login to merge, or discard this patch.
examples/Notes/GetAddressNotes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Route;
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     "dev_lng"         => -83.244743347168,
35 35
     "device_type"     => "web",
36 36
     "strUpdateType"   => "dropoff",
37
-    "strNoteContents" => "Test ". time()
37
+    "strNoteContents" => "Test ".time()
38 38
 );
39 39
 
40 40
 $address = new Address();
Please login to merge, or discard this patch.
examples/SingleDriverMultipleTimeWindows.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
-$root=realpath(dirname(__FILE__).'/../');
4
+$root = realpath(dirname(__FILE__).'/../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -24,14 +24,14 @@  discard block
 block discarded – undo
24 24
 $json = json_decode(file_get_contents('./addresses.json'), true);
25 25
 
26 26
 $addresses = array();
27
-foreach($json as $address) {
27
+foreach ($json as $address) {
28 28
     $addresses[] = Address::fromArray($address);
29 29
 }
30 30
 
31 31
 $parameters = RouteParameters::fromArray(array(
32 32
     "algorithm_type"     => Algorithmtype::TSP,
33 33
     "route_name"         => "Single Driver Multiple TimeWindows 12 Stops",
34
-    "route_date"         => time() + 24*60*60,
34
+    "route_date"         => time() + 24 * 60 * 60,
35 35
     "route_time"         => 5 * 3600 + 30 * 60,
36 36
     "distance_unit"      => DistanceUnit::MILES,
37 37
     "device_type"        => DeviceType::WEB,
Please login to merge, or discard this patch.
examples/SingleDepotMultipleDriverNoTimeWindow.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
-$root=realpath(dirname(__FILE__).'/../');
4
+$root = realpath(dirname(__FILE__).'/../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -25,14 +25,14 @@  discard block
 block discarded – undo
25 25
 $json = json_decode(file_get_contents('./addresses.json'), true);
26 26
 
27 27
 $addresses = array();
28
-foreach($json as $address) {
28
+foreach ($json as $address) {
29 29
     $addresses[] = Address::fromArray($address);
30 30
 }
31 31
 
32 32
 $parameters = RouteParameters::fromArray(array(
33 33
     "algorithm_type"          => Algorithmtype::CVRP_TW_SD,
34 34
     "route_name"              => "Single Depot, Multiple Driver, No Time Window",
35
-    "route_date"              => time() + 24*60*60,
35
+    "route_date"              => time() + 24 * 60 * 60,
36 36
     "route_time"              => 60 * 60 * 7,
37 37
     "rt"                      => TRUE,
38 38
     "distance_unit"           => DistanceUnit::MILES,
Please login to merge, or discard this patch.
examples/single_driver_round_trip.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
-$root=realpath(dirname(__FILE__).'/../');
4
+$root = realpath(dirname(__FILE__).'/../');
5 5
 require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
 $addresses = array();
28 28
 
29
-foreach($json as $address) {
29
+foreach ($json as $address) {
30 30
     $addresses[] = Address::fromArray($address);
31 31
 }
32 32
 
Please login to merge, or discard this patch.
examples/Members/create_device_record.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Member;
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 // Set the API key in the Route4Me class
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15
-$recordParameters=Member::fromArray(array(
15
+$recordParameters = Member::fromArray(array(
16 16
     'device_id'   => '546546516',
17 17
     'device_type' => 'IPAD',
18 18
     'format'      => 'json',
Please login to merge, or discard this patch.
examples/Members/get_single_user.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Member;
@@ -25,14 +25,14 @@  discard block
 block discarded – undo
25 25
 assert(isset($users['results']), "Cannot retrieve list of the users");
26 26
 assert(isset($users['total']), "Cannot retrieve list of the users");
27 27
 
28
-$randIndex = rand(0, $users["total"]-1);
28
+$randIndex = rand(0, $users["total"] - 1);
29 29
 
30 30
 $randomUserID = $users['results'][$randIndex]["member_id"];
31 31
 
32 32
 echo "Random user ID -> $randomUserID <br><br>";
33 33
 
34 34
 // Get of 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.
examples/Members/member_create.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Member;
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 // Set the api key in the Route4me class
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15
-$params = Member::fromArray(array (
15
+$params = Member::fromArray(array(
16 16
     "HIDE_ROUTED_ADDRESSES" => "FALSE",
17 17
     "member_phone"          => "571-259-5939",
18 18
     "member_zipcode"        => "22102",
Please login to merge, or discard this patch.
examples/Members/member_authenticate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Route4Me;
3 3
 
4
-$root = realpath(dirname(__FILE__) . '/../../');
5
-require $root . '/vendor/autoload.php';
4
+$root = realpath(dirname(__FILE__).'/../../');
5
+require $root.'/vendor/autoload.php';
6 6
 
7 7
 use Route4Me\Route4Me;
8 8
 use Route4Me\Member;
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 // Set the API key in the Route4Me class
13 13
 Route4Me::setApiKey('11111111111111111111111111111111');
14 14
 
15
-$recordParameters=Member::fromArray(array(
15
+$recordParameters = Member::fromArray(array(
16 16
     'strEmail' => '[email protected]',
17 17
     'strPassword' => 'pppppppp',
18 18
     'format' => 'json',
Please login to merge, or discard this patch.