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.
Test Failed
Push — master ( 47d764...311795 )
by Igor
02:54 queued 01:29
created
examples/AvoidanceZones/AddAvoidanceZone.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::CIRCLE;
18 18
 $territoryParams['data'] = [
19
-    '37.569752822786455,-77.47833251953125',
20
-    '5000',
19
+	'37.569752822786455,-77.47833251953125',
20
+	'5000',
21 21
 ];
22 22
 
23 23
 $AvoidanceZoneParameters = AvoidanceZone::fromArray([
24
-    'territory_name'    => 'Test Circle Avoidance Zone '.strval(rand(10000, 99999)),
25
-    'territory_color'   => 'ff7700',
26
-    'territory'         => $territoryParams,
24
+	'territory_name'    => 'Test Circle 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/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'] = [
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([
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'] = [
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([
31
-    'territory_name'    => 'Test Polygonal Avoidance Zone '.strval(rand(10000, 99999)),
32
-    'territory_color'   => 'ff7700',
33
-    'territory'         => $territoryParams,
31
+	'territory_name'    => 'Test Polygonal 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/UpdateAvoidanceZone.php 2 patches
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'] = [
21
-    '37.569752822786455,-77.47833251953125',
22
-    '5000',
21
+	'37.569752822786455,-77.47833251953125',
22
+	'5000',
23 23
 ];
24 24
 
25 25
 $avoidanceZoneParameters = AvoidanceZone::fromArray([
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 = [
44
-    '37.869752822786455,-77.49833251953125',
45
-    '5000',
44
+	'37.869752822786455,-77.49833251953125',
45
+	'5000',
46 46
 ];
47 47
 
48 48
 $avoidanceZoneParameters = [
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 $avoidanceZone = new AvoidanceZone();
32 32
 
33
-$result = (array) $avoidanceZone->addAvoidanceZone($avoidanceZoneParameters);
33
+$result = (array)$avoidanceZone->addAvoidanceZone($avoidanceZoneParameters);
34 34
 
35 35
 assert(isset($result), 'Failed to create new Avoidance Zone');
36 36
 
Please login to merge, or discard this patch.
examples/AvoidanceZones/DeleteAvoidanceZone.php 2 patches
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'] = [
21
-    '37.569752822786455,-77.47833251953125',
22
-    '5000',
21
+	'37.569752822786455,-77.47833251953125',
22
+	'5000',
23 23
 ];
24 24
 
25 25
 $avoidanceZoneParameters = AvoidanceZone::fromArray([
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 $avoidanceZone = new AvoidanceZone();
32 32
 
33
-$result = (array) $avoidanceZone->addAvoidanceZone($avoidanceZoneParameters);
33
+$result = (array)$avoidanceZone->addAvoidanceZone($avoidanceZoneParameters);
34 34
 
35 35
 assert(isset($result), 'Failed to create new Avoidance Zone');
36 36
 
Please login to merge, or discard this patch.
examples/multiple_depot_multiple_driver.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,20 +21,20 @@
 block discarded – undo
21 21
 
22 22
 $addresses = [];
23 23
 foreach ($json as $address) {
24
-    $addresses[] = Address::fromArray($address);
24
+	$addresses[] = Address::fromArray($address);
25 25
 }
26 26
 
27 27
 $parameters = RouteParameters::fromArray([
28
-    'algorithm_type'            => AlgorithmType::CVRP_TW_SD,
29
-    'distance_unit'             => DistanceUnit::MILES,
30
-    'device_type'               => DeviceType::WEB,
31
-    'optimize'                  => OptimizationType::DISTANCE,
32
-    'metric'                    => Metric::GEODESIC,
33
-    'route_max_duration'        => 86400 * 2,
34
-    'travel_mode'               => TravelMode::DRIVING,
35
-    'vehicle_capacity'          => 50,
36
-    'vehicle_max_distance_mi'   => 10000,
37
-    'parts'                     => 50,
28
+	'algorithm_type'            => AlgorithmType::CVRP_TW_SD,
29
+	'distance_unit'             => DistanceUnit::MILES,
30
+	'device_type'               => DeviceType::WEB,
31
+	'optimize'                  => OptimizationType::DISTANCE,
32
+	'metric'                    => Metric::GEODESIC,
33
+	'route_max_duration'        => 86400 * 2,
34
+	'travel_mode'               => TravelMode::DRIVING,
35
+	'vehicle_capacity'          => 50,
36
+	'vehicle_max_distance_mi'   => 10000,
37
+	'parts'                     => 50,
38 38
 ]);
39 39
 
40 40
 $optimizationParams = new OptimizationProblemParams();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,4 +40,4 @@
 block discarded – undo
40 40
 
41 41
 $problem = OptimizationProblem::optimize($optimizationParams);
42 42
 
43
-Route4Me::simplePrint((array) $problem, true);
43
+Route4Me::simplePrint((array)$problem, true);
Please login to merge, or discard this patch.
examples/Territories/CreatePolygonianTerritory.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'] = [
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
 $TerritoryParameters = Territory::fromArray([
31
-    'territory_name'    => 'Test Polygonal Territory '.strval(rand(10000, 99999)),
32
-    'territory_color'   => 'ff7700',
33
-    'territory'         => $territoryParams,
31
+	'territory_name'    => 'Test Polygonal Territory '.strval(rand(10000, 99999)),
32
+	'territory_color'   => 'ff7700',
33
+	'territory'         => $territoryParams,
34 34
 ]);
35 35
 
36 36
 $territory = new Territory();
Please login to merge, or discard this patch.
examples/Territories/DeleteTerritory.php 2 patches
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'] = [
21
-    '37.569752822786455,-77.47833251953125',
22
-    '5000',
21
+	'37.569752822786455,-77.47833251953125',
22
+	'5000',
23 23
 ];
24 24
 
25 25
 $TerritoryParameters = Territory::fromArray([
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
 $territory = new Territory();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 $territory = new Territory();
32 32
 
33
-$result = (array) $territory->addTerritory($TerritoryParameters);
33
+$result = (array)$territory->addTerritory($TerritoryParameters);
34 34
 
35 35
 assert(!is_null($result), "Cannot create a territory");
36 36
 assert(isset($result['territory_id']), "Cannot create a territory");
Please login to merge, or discard this patch.
examples/Territories/GetTerritories.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 $territory = new Territory();
12 12
 
13 13
 $queryParameters = [
14
-    'offset' => 0,
15
-    'limit'  => 20,
14
+	'offset' => 0,
15
+	'limit'  => 20,
16 16
 ];
17 17
 
18 18
 $response = $territory->getTerritories($queryParameters);
19 19
 
20 20
 foreach ($response as $terr1) {
21
-    Route4Me::simplePrint($terr1, true);
22
-    echo '<br>';
21
+	Route4Me::simplePrint($terr1, true);
22
+	echo '<br>';
23 23
 }
Please login to merge, or discard this patch.