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 ( d9a634...e591c7 )
by Juan Jose
07:17 queued 16s
created
src/Route4Me/GeocodingResponse.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -10,39 +10,39 @@
 block discarded – undo
10 10
  */
11 11
 class GeocodingResponse extends Common
12 12
 {
13
-    /**
14
-     * A geocoded address
15
-     * @var string
16
-     */
17
-    public $address;
18
-
19
-    /**
20
-     * Latitude
21
-     * @var double
22
-     */
23
-    public $lat;
24
-
25
-    /**
26
-     * Longitude
27
-     * @var double
28
-     */
29
-    public $lng;
30
-
31
-    /**
32
-     * Geocoded area level type
33
-     * @var string
34
-     */
35
-    public $type;
36
-
37
-    /**
38
-     * Confidence ("high", "medium", "low")
39
-     * @var string
40
-     */
41
-    public $confidence;
42
-
43
-    /**
44
-     * Content of the original string (an address or geopoint) sent by HTTP
45
-     * @var Route
46
-     */
47
-    public $original;
13
+	/**
14
+	 * A geocoded address
15
+	 * @var string
16
+	 */
17
+	public $address;
18
+
19
+	/**
20
+	 * Latitude
21
+	 * @var double
22
+	 */
23
+	public $lat;
24
+
25
+	/**
26
+	 * Longitude
27
+	 * @var double
28
+	 */
29
+	public $lng;
30
+
31
+	/**
32
+	 * Geocoded area level type
33
+	 * @var string
34
+	 */
35
+	public $type;
36
+
37
+	/**
38
+	 * Confidence ("high", "medium", "low")
39
+	 * @var string
40
+	 */
41
+	public $confidence;
42
+
43
+	/**
44
+	 * Content of the original string (an address or geopoint) sent by HTTP
45
+	 * @var Route
46
+	 */
47
+	public $original;
48 48
 }
Please login to merge, or discard this patch.
src/Route4Me/OrderCustomField.php 1 patch
Indentation   +76 added lines, -76 removed lines patch added patch discarded remove patch
@@ -5,80 +5,80 @@
 block discarded – undo
5 5
 
6 6
 class OrderCustomField extends Common
7 7
 {
8
-    public $order_custom_field_id;
9
-    public $order_custom_field_name;
10
-    public $order_custom_field_label;
11
-    public $order_custom_field_type;
12
-    public $order_custom_field_value;
13
-    public $root_owner_member_id;
14
-    public $order_custom_field_type_info;
15
-
16
-    public function __construct()
17
-    {
18
-        Route4Me::setBaseUrl(Endpoint::BASE_URL);
19
-    }
20
-
21
-    public static function addOrderCustomUserField($params)
22
-    {
23
-        $excludeFields = ['order_custom_field_id'];
24
-
25
-        $allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
26
-
27
-        $response = Route4Me::makeRequst([
28
-            'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
29
-            'method'    => 'POST',
30
-            'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
31
-        ]);
32
-
33
-        return $response;
34
-    }
35
-
36
-    public static function getOrderCustomUserFields($params)
37
-    {
38
-        $allQueryFields = [];
39
-
40
-        $response = Route4Me::makeRequst([
41
-            'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
42
-            'method'    => 'GET',
43
-            'query'     => Route4Me::generateRequestParameters($allQueryFields, $params),
44
-        ]);
45
-
46
-        return $response;
47
-    }
48
-
49
-    public static function updateOrderCustomUserField($params)
50
-    {
51
-        $excludeFields = ['order_custom_field_name'];
52
-
53
-        $allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
54
-
55
-        $response = Route4Me::makeRequst([
56
-            'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
57
-            'method'    => 'PUT',
58
-            'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
59
-        ]);
60
-
61
-        return $response;
62
-    }
63
-
64
-    public static function removeOrderCustomUserField($params)
65
-    {
66
-        $excludeFields = [
67
-            'order_custom_field_name',
68
-            'order_custom_field_type',
69
-            'order_custom_field_label',
70
-            'order_custom_field_type_info',
71
-            'root_owner_member_id'
72
-        ];
73
-
74
-        $allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
75
-
76
-        $response = Route4Me::makeRequst([
77
-            'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
78
-            'method'    => 'DELETE',
79
-            'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
80
-        ]);
81
-
82
-        return $response;
83
-    }
8
+	public $order_custom_field_id;
9
+	public $order_custom_field_name;
10
+	public $order_custom_field_label;
11
+	public $order_custom_field_type;
12
+	public $order_custom_field_value;
13
+	public $root_owner_member_id;
14
+	public $order_custom_field_type_info;
15
+
16
+	public function __construct()
17
+	{
18
+		Route4Me::setBaseUrl(Endpoint::BASE_URL);
19
+	}
20
+
21
+	public static function addOrderCustomUserField($params)
22
+	{
23
+		$excludeFields = ['order_custom_field_id'];
24
+
25
+		$allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
26
+
27
+		$response = Route4Me::makeRequst([
28
+			'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
29
+			'method'    => 'POST',
30
+			'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
31
+		]);
32
+
33
+		return $response;
34
+	}
35
+
36
+	public static function getOrderCustomUserFields($params)
37
+	{
38
+		$allQueryFields = [];
39
+
40
+		$response = Route4Me::makeRequst([
41
+			'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
42
+			'method'    => 'GET',
43
+			'query'     => Route4Me::generateRequestParameters($allQueryFields, $params),
44
+		]);
45
+
46
+		return $response;
47
+	}
48
+
49
+	public static function updateOrderCustomUserField($params)
50
+	{
51
+		$excludeFields = ['order_custom_field_name'];
52
+
53
+		$allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
54
+
55
+		$response = Route4Me::makeRequst([
56
+			'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
57
+			'method'    => 'PUT',
58
+			'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
59
+		]);
60
+
61
+		return $response;
62
+	}
63
+
64
+	public static function removeOrderCustomUserField($params)
65
+	{
66
+		$excludeFields = [
67
+			'order_custom_field_name',
68
+			'order_custom_field_type',
69
+			'order_custom_field_label',
70
+			'order_custom_field_type_info',
71
+			'root_owner_member_id'
72
+		];
73
+
74
+		$allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
75
+
76
+		$response = Route4Me::makeRequst([
77
+			'url'       => Endpoint::ORDER_CUSTOM_FIELDS_V4,
78
+			'method'    => 'DELETE',
79
+			'body'      => Route4Me::generateRequestParameters($allBodyFields, $params),
80
+		]);
81
+
82
+		return $response;
83
+	}
84 84
 }
Please login to merge, or discard this patch.
src/Route4Me/AddressBookLocationSearchResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class AddressBookLocationSearchResponse
8 8
 {
9
-    public $results=[];
10
-    public $total;
11
-    public $fields=[];
9
+	public $results=[];
10
+	public $total;
11
+	public $fields=[];
12 12
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class AddressBookLocationSearchResponse
8 8
 {
9
-    public $results=[];
9
+    public $results = [];
10 10
     public $total;
11
-    public $fields=[];
11
+    public $fields = [];
12 12
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RouteParametersQuery.php 1 patch
Indentation   +135 added lines, -135 removed lines patch added patch discarded remove patch
@@ -12,139 +12,139 @@
 block discarded – undo
12 12
  */
13 13
 class RouteParametersQuery extends Common
14 14
 {
15
-    /** Route IDs concatenated with a comma
16
-     * @var string $route_id
17
-     */
18
-    public $route_id;
19
-
20
-    /** Require Route directions in the results.
21
-     * @var boolean $directions
22
-     */
23
-    public $directions;
24
-
25
-    /** Path output style.
26
-     * Available values:
27
-     * - Points;
28
-     * - Encoded;
29
-     * - None.
30
-     * @var string $route_path_output
31
-     */
32
-    public $route_path_output;
33
-
34
-    /** Output route tracking data in response
35
-     * @var boolean $device_tracking_history
36
-     */
37
-    public $device_tracking_history;
38
-
39
-    /** Limit of the queried records number.
40
-     * @var integer $limit
41
-     */
42
-    public $limit;
43
-
44
-    /** Offset from the beginning of the queried records.
45
-     * @var integer $offset
46
-     */
47
-    public $offset;
48
-
49
-    /** Start timestamp of the date range
50
-     * @var integer $start_date
51
-     */
52
-    public $start_date;
53
-
54
-    /** End timestamp of the date range.
55
-     * @var integer $end_date
56
-     */
57
-    public $end_date;
58
-
59
-    /** Output addresses and directions in the original optimization request sequence.
60
-     * This is to allow us to compare routes before & after optimization.
61
-     * @var boolean $original
62
-     */
63
-    public $original;
64
-
65
-    /** Require Route notes in the results.
66
-     * @var boolean $notes
67
-     */
68
-    public $notes;
69
-
70
-    /** Require Order Inventories in the results.
71
-     * @var boolean $order_inventory
72
-     */
73
-    public $order_inventory;
74
-
75
-    /** If true, not visited destinations of an active route re-optimized (re-sequenced).
76
-     * @var boolean $remaining
77
-     */
78
-    public $remaining;
79
-
80
-    /** Search the query for a Route
81
-     * @var string $query
82
-     */
83
-    public $query;
84
-
85
-    /** Updating a route supports the reoptimize=1 parameter,
86
-     * which reoptimizes only that route.
87
-     * Also supports the parameters from GET.
88
-     * @var boolean $reoptimize
89
-     */
90
-    public $reoptimize;
91
-
92
-    /** Whether disable or not a route optimization.
93
-     * @var boolean $disable_optimization
94
-     */
95
-    public $disable_optimization;
96
-
97
-    /** The driving directions will be generated biased for this selection. This has no impact on route sequencing.
98
-     * <para>Available values: </para>
99
-     * <value>'Distance', 'Time', 'timeWithTraffic'.</value>
100
-     * <remarks><para>Query parameter.</para></remarks>
101
-     * @var string $optimize
102
-     */
103
-    public $optimize;
104
-
105
-    /** By sending recompute_directions=1 we request that the route directions
106
-     * be recomputed (note that this does happen automatically if certain properties
107
-     * of the route are updated, such as stop sequence_no changes or round-tripness)
108
-     * @var boolean $recompute_directions
109
-     */
110
-    public $recompute_directions;
111
-
112
-    /** Response format('json', 'csv', 'xml')
113
-     * @var string $response_format
114
-     */
115
-    public $response_format;
116
-
117
-    /** Route destination ID
118
-     * @var integer $route_destination_id
119
-     */
120
-    public $route_destination_id;
121
-
122
-    /**
123
-     * @var boolean $redirect
124
-     */
125
-    public $redirect;
126
-
127
-    /** Require bundled Items in the results.
128
-     * @var boolean $bundling_items
129
-     */
130
-    public $bundling_items;
131
-
132
-    /** Requested page.
133
-     * @var integer $page
134
-     */
135
-    public $page;
136
-
137
-    /** Number of Routes per page.
138
-     * @var integer $per_page
139
-     */
140
-    public $per_page;
141
-
142
-    public static function getAllProperties()
143
-    {
144
-        $routeQueryParams = new self();
145
-
146
-        $fields = array_keys(get_object_vars($routeQueryParams));
147
-
148
-        return $fields;
149
-    }
15
+	/** Route IDs concatenated with a comma
16
+	 * @var string $route_id
17
+	 */
18
+	public $route_id;
19
+
20
+	/** Require Route directions in the results.
21
+	 * @var boolean $directions
22
+	 */
23
+	public $directions;
24
+
25
+	/** Path output style.
26
+	 * Available values:
27
+	 * - Points;
28
+	 * - Encoded;
29
+	 * - None.
30
+	 * @var string $route_path_output
31
+	 */
32
+	public $route_path_output;
33
+
34
+	/** Output route tracking data in response
35
+	 * @var boolean $device_tracking_history
36
+	 */
37
+	public $device_tracking_history;
38
+
39
+	/** Limit of the queried records number.
40
+	 * @var integer $limit
41
+	 */
42
+	public $limit;
43
+
44
+	/** Offset from the beginning of the queried records.
45
+	 * @var integer $offset
46
+	 */
47
+	public $offset;
48
+
49
+	/** Start timestamp of the date range
50
+	 * @var integer $start_date
51
+	 */
52
+	public $start_date;
53
+
54
+	/** End timestamp of the date range.
55
+	 * @var integer $end_date
56
+	 */
57
+	public $end_date;
58
+
59
+	/** Output addresses and directions in the original optimization request sequence.
60
+	 * This is to allow us to compare routes before & after optimization.
61
+	 * @var boolean $original
62
+	 */
63
+	public $original;
64
+
65
+	/** Require Route notes in the results.
66
+	 * @var boolean $notes
67
+	 */
68
+	public $notes;
69
+
70
+	/** Require Order Inventories in the results.
71
+	 * @var boolean $order_inventory
72
+	 */
73
+	public $order_inventory;
74
+
75
+	/** If true, not visited destinations of an active route re-optimized (re-sequenced).
76
+	 * @var boolean $remaining
77
+	 */
78
+	public $remaining;
79
+
80
+	/** Search the query for a Route
81
+	 * @var string $query
82
+	 */
83
+	public $query;
84
+
85
+	/** Updating a route supports the reoptimize=1 parameter,
86
+	 * which reoptimizes only that route.
87
+	 * Also supports the parameters from GET.
88
+	 * @var boolean $reoptimize
89
+	 */
90
+	public $reoptimize;
91
+
92
+	/** Whether disable or not a route optimization.
93
+	 * @var boolean $disable_optimization
94
+	 */
95
+	public $disable_optimization;
96
+
97
+	/** The driving directions will be generated biased for this selection. This has no impact on route sequencing.
98
+	 * <para>Available values: </para>
99
+	 * <value>'Distance', 'Time', 'timeWithTraffic'.</value>
100
+	 * <remarks><para>Query parameter.</para></remarks>
101
+	 * @var string $optimize
102
+	 */
103
+	public $optimize;
104
+
105
+	/** By sending recompute_directions=1 we request that the route directions
106
+	 * be recomputed (note that this does happen automatically if certain properties
107
+	 * of the route are updated, such as stop sequence_no changes or round-tripness)
108
+	 * @var boolean $recompute_directions
109
+	 */
110
+	public $recompute_directions;
111
+
112
+	/** Response format('json', 'csv', 'xml')
113
+	 * @var string $response_format
114
+	 */
115
+	public $response_format;
116
+
117
+	/** Route destination ID
118
+	 * @var integer $route_destination_id
119
+	 */
120
+	public $route_destination_id;
121
+
122
+	/**
123
+	 * @var boolean $redirect
124
+	 */
125
+	public $redirect;
126
+
127
+	/** Require bundled Items in the results.
128
+	 * @var boolean $bundling_items
129
+	 */
130
+	public $bundling_items;
131
+
132
+	/** Requested page.
133
+	 * @var integer $page
134
+	 */
135
+	public $page;
136
+
137
+	/** Number of Routes per page.
138
+	 * @var integer $per_page
139
+	 */
140
+	public $per_page;
141
+
142
+	public static function getAllProperties()
143
+	{
144
+		$routeQueryParams = new self();
145
+
146
+		$fields = array_keys(get_object_vars($routeQueryParams));
147
+
148
+		return $fields;
149
+	}
150 150
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RouteDuplicateResponse.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -10,18 +10,18 @@
 block discarded – undo
10 10
  */
11 11
 class RouteDuplicateResponse extends \Route4Me\Common
12 12
 {
13
-    /** If true, the route duplicated successfully.
14
-     * @var boolean $status
15
-     */
16
-    public $status;
13
+	/** If true, the route duplicated successfully.
14
+	 * @var boolean $status
15
+	 */
16
+	public $status;
17 17
 
18
-    /** If true, the route duplication process was asynchronous.
19
-     * @var boolean $async
20
-     */
21
-    public $async;
18
+	/** If true, the route duplication process was asynchronous.
19
+	 * @var boolean $async
20
+	 */
21
+	public $async;
22 22
 
23
-    /** An array of the duplicated route IDs.
24
-     * @var string[] $route_ids
25
-     */
26
-    public $route_ids = [];
23
+	/** An array of the duplicated route IDs.
24
+	 * @var string[] $route_ids
25
+	 */
26
+	public $route_ids = [];
27 27
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RouteDataTableConfigResponse.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
  */
10 10
 class RouteDataTableConfigResponse extends \Route4Me\Common
11 11
 {
12
-    /** API Capabilities
13
-     * @var ApiCapabilities $api_capabilities
14
-     */
15
-    public $api_capabilities = [];
12
+	/** API Capabilities
13
+	 * @var ApiCapabilities $api_capabilities
14
+	 */
15
+	public $api_capabilities = [];
16 16
 
17
-    /** API Preferences
18
-     * @var ApiPreferences $api_preferences
19
-     */
20
-    public $api_preferences = [];
17
+	/** API Preferences
18
+	 * @var ApiPreferences $api_preferences
19
+	 */
20
+	public $api_preferences = [];
21 21
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/ApiPreferences.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@
 block discarded – undo
4 4
 
5 5
 class ApiPreferences extends \Route4Me\Common
6 6
 {
7
-    /**
8
-     * @var boolean $force_server_side_search
9
-     */
10
-    public $force_server_side_search;
7
+	/**
8
+	 * @var boolean $force_server_side_search
9
+	 */
10
+	public $force_server_side_search;
11 11
 
12
-    /**
13
-     * @var boolean $partial_load
14
-     */
15
-    public $partial_load;
12
+	/**
13
+	 * @var boolean $partial_load
14
+	 */
15
+	public $partial_load;
16 16
 
17
-    /**
18
-     * @var boolean $simple_pagination
19
-     */
20
-    public $simple_pagination;
17
+	/**
18
+	 * @var boolean $simple_pagination
19
+	 */
20
+	public $simple_pagination;
21 21
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/ApiCapabilities.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -4,28 +4,28 @@
 block discarded – undo
4 4
 
5 5
 class ApiCapabilities extends \Route4Me\Common
6 6
 {
7
-    /** Sortable Fields
8
-     * @var string[] $sortable_fields
9
-     */
10
-    public $sortable_fields = [];
7
+	/** Sortable Fields
8
+	 * @var string[] $sortable_fields
9
+	 */
10
+	public $sortable_fields = [];
11 11
 
12
-    /** Combinations of the sortable fields
13
-     * @var Array $sortable_fields_combinations
14
-     */
15
-    public $sortable_fields_combinations = [];
12
+	/** Combinations of the sortable fields
13
+	 * @var Array $sortable_fields_combinations
14
+	 */
15
+	public $sortable_fields_combinations = [];
16 16
 
17
-    /** If true, multi-sorting enabled.
18
-     * @var boolean $multi_sorting_enabled
19
-     */
20
-    public $multi_sorting_enabled;
17
+	/** If true, multi-sorting enabled.
18
+	 * @var boolean $multi_sorting_enabled
19
+	 */
20
+	public $multi_sorting_enabled;
21 21
 
22
-    /** An array of the filterable fields.
23
-     * @var string[] $filterable_fields
24
-     */
25
-    public $filterable_fields = [];
22
+	/** An array of the filterable fields.
23
+	 * @var string[] $filterable_fields
24
+	 */
25
+	public $filterable_fields = [];
26 26
 
27
-    /** If true, search enabled.
28
-     * @var boolean $search
29
-     */
30
-    public $search;
27
+	/** If true, search enabled.
28
+	 * @var boolean $search
29
+	 */
30
+	public $search;
31 31
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RoutesDeleteResponse.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -10,23 +10,23 @@
 block discarded – undo
10 10
  */
11 11
 class RoutesDeleteResponse extends \Route4Me\Common
12 12
 {
13
-    /** If true, the route duplicated successfully.
14
-     * @var boolean $deleted
15
-     */
16
-    public $deleted;
13
+	/** If true, the route duplicated successfully.
14
+	 * @var boolean $deleted
15
+	 */
16
+	public $deleted;
17 17
 
18
-    /** If true, the route duplication process was asynchronous.
19
-     * @var bool $async
20
-     */
21
-    public $async;
18
+	/** If true, the route duplication process was asynchronous.
19
+	 * @var bool $async
20
+	 */
21
+	public $async;
22 22
 
23
-    /** Route ID
24
-     * @var string $route_id
25
-     */
26
-    public $route_id;
23
+	/** Route ID
24
+	 * @var string $route_id
25
+	 */
26
+	public $route_id;
27 27
 
28
-    /** An array of the duplicated route IDs.
29
-     * @var string[] $route_ids
30
-     */
31
-    public $route_ids;
28
+	/** An array of the duplicated route IDs.
29
+	 * @var string[] $route_ids
30
+	 */
31
+	public $route_ids;
32 32
 }
Please login to merge, or discard this patch.