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 ( 84c959...e5b8eb )
by Igor
10:00 queued 12s
created
src/Route4Me/Enum/Endpoint.php 1 patch
Indentation   +67 added lines, -67 removed lines patch added patch discarded remove patch
@@ -4,74 +4,74 @@
 block discarded – undo
4 4
 
5 5
 class Endpoint
6 6
 {
7
-    const BASE_URL = 'https://api.route4me.com';
8
-    const WH_BASE_URL = 'https://wh.route4me.com/modules';
9
-
10
-    const AVOIDANCE_ZONE = '/api.v4/avoidance.php';
11
-    const TERRITORY_V4 = '/api.v4/territory.php';
12
-
13
-    const GET_ACTIVITIES = '/api/get_activities.php';
14
-    const ACTIVITY_FEED = '/api.v4/activity_feed.php';
15
-
16
-    const ADDRESS_V4 = '/api.v4/address.php';
17
-    const MOVE_ROUTE_DESTINATION = '/actions/route/move_route_destination.php';
18
-    const MARK_ADDRESS_DEPARTED = '/api/route/mark_address_departed.php';
19
-    const UPDATE_ADDRESS_VISITED = '/actions/address/update_address_visited.php';
20
-
21
-    const ADDRESS_BOOK_V4 = '/api.v4/address_book.php';
22
-    const ADDRESS_BOOK_GROUP = '/api.v4/address_book_group.php';
23
-    const ADDRESS_BOOK_SEARCH = '/api/address_book/get_search_group_addresses.php';
24
-    const MODIFY_CONTACT = '/api/address_book/modify_contact.php';
25
-
26
-    const GEOCODER = '/api/geocoder.php';
27
-    const JSON_GEOCODE = '/actions/upload/json-geocode.php';
28
-    const STREET_DATA = 'https://rapid.route4me.com/street_data/';
29
-    const STREET_DATA_ZIPCODE = 'https://rapid.route4me.com/street_data/zipcode/';
30
-    const STREET_DATA_SERVICE = 'https://rapid.route4me.com/street_data/service/';
31
-
32
-    const USER_V4 = '/api.v4/user.php';
33
-    const VERIFY_DEVICE_LICENSE = '/api/device/verify_device_license.php';
34
-    const USER_LICENSE = '/api/member/user_license.php';
35
-    const WEBINAR_REGISTER = '/actions/webinar_register.php';
36
-    const EXPIRE_SESSION = '/datafeed/session/expire_session.php';
37
-    const VALIDATE_SESSION = '/datafeed/session/validate_session.php';
38
-    const AUTHENTICATE = '/actions/authenticate.php';
39
-    const REGISTER_ACTION = '/actions/register_action.php';
40
-    const VIEW_USER_LOCATIONS = '/api/track/view_user_locations.php';
41
-    const CONFIGURATION_SETTINGS = '/api.v4/configuration-settings.php';
42
-
43
-    const OPTIMIZATION_PROBLEM = '/api.v4/optimization_problem.php';
44
-    const HYBRID_DATE_OPTIMIZATION = '/api.v4/hybrid_date_optimization.php';
45
-    const CHANGE_HYBRID_OPTIMIZATION_DEPOT = '/api/change_hybrid_optimization_depot.php';
46
-
47
-    const ORDER_V4 = '/api.v4/order.php';
48
-    const ORDER_CUSTOM_FIELDS_V4 = '/api.v4/order_custom_user_fields.php';
49
-
50
-    const ROUTE_V4 = '/api.v4/route.php';
51
-    const ROUTE_DUPLICATE = '/actions/duplicate_route.php';
52
-    const ROUTES_DELETE = '/actions/delete_routes.php';
53
-    const REOPTIMIZE_V3_2 = '/api.v3/route/reoptimize_2.php';
54
-    const ROUTES_MERGE = '/actions/merge_routes.php';
55
-    const ROUTE_SHARE = '/actions/route/share_route.php';
56
-    const ROUTE_NOTES_ADD = '/actions/addRouteNotes.php';
57
-    const STATUS_V4 = '/api.v4/status.php';
58
-
59
-    const GET_DEVICE_LOCATION = '/api/track/get_device_location.php';
60
-    const TRACK_SET = '/track/set.php';
61
-    const USER_LOCATION = '/api/track/view_user_locations.php';
62
-
63
-    const NOTE_CUSTOM_TYPES_V4 = '/api.v4/note_custom_types.php';
64
-
65
-    const ViewVehicles = '/api/vehicles/view_vehicles.php';
66
-    const VEHICLE_V4 = '/api/vehicles';
67
-    const VEHICLE_V4_API = '/api.v4/vehicle.php';
7
+	const BASE_URL = 'https://api.route4me.com';
8
+	const WH_BASE_URL = 'https://wh.route4me.com/modules';
9
+
10
+	const AVOIDANCE_ZONE = '/api.v4/avoidance.php';
11
+	const TERRITORY_V4 = '/api.v4/territory.php';
12
+
13
+	const GET_ACTIVITIES = '/api/get_activities.php';
14
+	const ACTIVITY_FEED = '/api.v4/activity_feed.php';
15
+
16
+	const ADDRESS_V4 = '/api.v4/address.php';
17
+	const MOVE_ROUTE_DESTINATION = '/actions/route/move_route_destination.php';
18
+	const MARK_ADDRESS_DEPARTED = '/api/route/mark_address_departed.php';
19
+	const UPDATE_ADDRESS_VISITED = '/actions/address/update_address_visited.php';
20
+
21
+	const ADDRESS_BOOK_V4 = '/api.v4/address_book.php';
22
+	const ADDRESS_BOOK_GROUP = '/api.v4/address_book_group.php';
23
+	const ADDRESS_BOOK_SEARCH = '/api/address_book/get_search_group_addresses.php';
24
+	const MODIFY_CONTACT = '/api/address_book/modify_contact.php';
25
+
26
+	const GEOCODER = '/api/geocoder.php';
27
+	const JSON_GEOCODE = '/actions/upload/json-geocode.php';
28
+	const STREET_DATA = 'https://rapid.route4me.com/street_data/';
29
+	const STREET_DATA_ZIPCODE = 'https://rapid.route4me.com/street_data/zipcode/';
30
+	const STREET_DATA_SERVICE = 'https://rapid.route4me.com/street_data/service/';
31
+
32
+	const USER_V4 = '/api.v4/user.php';
33
+	const VERIFY_DEVICE_LICENSE = '/api/device/verify_device_license.php';
34
+	const USER_LICENSE = '/api/member/user_license.php';
35
+	const WEBINAR_REGISTER = '/actions/webinar_register.php';
36
+	const EXPIRE_SESSION = '/datafeed/session/expire_session.php';
37
+	const VALIDATE_SESSION = '/datafeed/session/validate_session.php';
38
+	const AUTHENTICATE = '/actions/authenticate.php';
39
+	const REGISTER_ACTION = '/actions/register_action.php';
40
+	const VIEW_USER_LOCATIONS = '/api/track/view_user_locations.php';
41
+	const CONFIGURATION_SETTINGS = '/api.v4/configuration-settings.php';
42
+
43
+	const OPTIMIZATION_PROBLEM = '/api.v4/optimization_problem.php';
44
+	const HYBRID_DATE_OPTIMIZATION = '/api.v4/hybrid_date_optimization.php';
45
+	const CHANGE_HYBRID_OPTIMIZATION_DEPOT = '/api/change_hybrid_optimization_depot.php';
46
+
47
+	const ORDER_V4 = '/api.v4/order.php';
48
+	const ORDER_CUSTOM_FIELDS_V4 = '/api.v4/order_custom_user_fields.php';
49
+
50
+	const ROUTE_V4 = '/api.v4/route.php';
51
+	const ROUTE_DUPLICATE = '/actions/duplicate_route.php';
52
+	const ROUTES_DELETE = '/actions/delete_routes.php';
53
+	const REOPTIMIZE_V3_2 = '/api.v3/route/reoptimize_2.php';
54
+	const ROUTES_MERGE = '/actions/merge_routes.php';
55
+	const ROUTE_SHARE = '/actions/route/share_route.php';
56
+	const ROUTE_NOTES_ADD = '/actions/addRouteNotes.php';
57
+	const STATUS_V4 = '/api.v4/status.php';
58
+
59
+	const GET_DEVICE_LOCATION = '/api/track/get_device_location.php';
60
+	const TRACK_SET = '/track/set.php';
61
+	const USER_LOCATION = '/api/track/view_user_locations.php';
62
+
63
+	const NOTE_CUSTOM_TYPES_V4 = '/api.v4/note_custom_types.php';
64
+
65
+	const ViewVehicles = '/api/vehicles/view_vehicles.php';
66
+	const VEHICLE_V4 = '/api/vehicles';
67
+	const VEHICLE_V4_API = '/api.v4/vehicle.php';
68 68
     
69
-    const TELEMATICS_VENDORS = "http://telematics.route4me.com/api/vendors.php";
70
-    const TELEMATICS_REGISTER_MEMBER =  "/api.v4/telematics/register.php";
71
-    const TELEMATICS_CONNECTION =  "/api.v4/telematics/connections.php";
72
-    const TELEMATICS_VENDORS_INFO =  "/api.v4/telematics/vendors.php";
69
+	const TELEMATICS_VENDORS = "http://telematics.route4me.com/api/vendors.php";
70
+	const TELEMATICS_REGISTER_MEMBER =  "/api.v4/telematics/register.php";
71
+	const TELEMATICS_CONNECTION =  "/api.v4/telematics/connections.php";
72
+	const TELEMATICS_VENDORS_INFO =  "/api.v4/telematics/vendors.php";
73 73
 
74
-    const MEMBER_CAPABILITIES = "/api/member/capabilities.php";
74
+	const MEMBER_CAPABILITIES = "/api/member/capabilities.php";
75 75
 
76
-    const SCHEDULE_CALENDAR = "/api/schedule_calendar_data.php";
76
+	const SCHEDULE_CALENDAR = "/api/schedule_calendar_data.php";
77 77
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/Avoidance.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 class Avoidance
6 6
 {
7
-    const HIGHWAYS = 'Highways';
8
-    const TOLLS = 'Tolls';
9
-    const MINIMIZE_HIGHWAYS = 'minimizeHighways';
10
-    const MINIMIZE_TOLLS = 'minimizeTolls';
7
+	const HIGHWAYS = 'Highways';
8
+	const TOLLS = 'Tolls';
9
+	const MINIMIZE_HIGHWAYS = 'minimizeHighways';
10
+	const MINIMIZE_TOLLS = 'minimizeTolls';
11 11
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Members/DriverRatingApi/DriverReviewsResponse.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 DriverReviewsResponse extends \Route4Me\Common
12 12
 {
13
-    /** An array of the driver reviews.
14
-     * @var DriverReview[] $data
15
-     */
16
-    public $data = [];
13
+	/** An array of the driver reviews.
14
+	 * @var DriverReview[] $data
15
+	 */
16
+	public $data = [];
17 17
 
18
-    /** The response pagination info.
19
-     * @var SimplePaginationData $simple_pagination
20
-     */
21
-    public $simple_pagination = [];
18
+	/** The response pagination info.
19
+	 * @var SimplePaginationData $simple_pagination
20
+	 */
21
+	public $simple_pagination = [];
22 22
 
23
-    /** Statistics by driver rating.
24
-     * @var TypeQuantity[] $total
25
-     */
26
-    public $total = [];
23
+	/** Statistics by driver rating.
24
+	 * @var TypeQuantity[] $total
25
+	 */
26
+	public $total = [];
27 27
 }
28 28
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/V5/Members/DriverRatingApi/SimplePaginationData.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -10,46 +10,46 @@
 block discarded – undo
10 10
  */
11 11
 class SimplePaginationData extends \Route4Me\Common
12 12
 {
13
-    /** Driver reviews number per page.
14
-     * @var integer $per_page
15
-     */
16
-    public $per_page;
17
-
18
-    /** Current page number in the driver reviews collection.
19
-     * @var integer $current_page
20
-     */
21
-    public $current_page;
22
-
23
-    /** Path to the driver review addon.
24
-     * @var string $path
25
-     */
26
-    public $path;
27
-
28
-    /** Path to the first page of the driver reviews collection.
29
-     * @var string $first
30
-     */
31
-    public $first;
32
-
33
-    /** Path to the previous page of the driver reviews collection.
34
-     * @var string $prev
35
-     */
36
-    public $prev;
37
-
38
-    /** Path to the next page of the driver reviews collection.
39
-     * @var string $next
40
-     */
41
-    public $next;
42
-
43
-    public static function fromArray(array $params)
44
-    {
45
-        $spData = new self();
46
-
47
-        foreach ($params as $key => $value) {
48
-            if (property_exists($spData, $key)) {
49
-                $spData->{$key} = $value;
50
-            }
51
-        }
52
-
53
-        return $spData;
54
-    }
13
+	/** Driver reviews number per page.
14
+	 * @var integer $per_page
15
+	 */
16
+	public $per_page;
17
+
18
+	/** Current page number in the driver reviews collection.
19
+	 * @var integer $current_page
20
+	 */
21
+	public $current_page;
22
+
23
+	/** Path to the driver review addon.
24
+	 * @var string $path
25
+	 */
26
+	public $path;
27
+
28
+	/** Path to the first page of the driver reviews collection.
29
+	 * @var string $first
30
+	 */
31
+	public $first;
32
+
33
+	/** Path to the previous page of the driver reviews collection.
34
+	 * @var string $prev
35
+	 */
36
+	public $prev;
37
+
38
+	/** Path to the next page of the driver reviews collection.
39
+	 * @var string $next
40
+	 */
41
+	public $next;
42
+
43
+	public static function fromArray(array $params)
44
+	{
45
+		$spData = new self();
46
+
47
+		foreach ($params as $key => $value) {
48
+			if (property_exists($spData, $key)) {
49
+				$spData->{$key} = $value;
50
+			}
51
+		}
52
+
53
+		return $spData;
54
+	}
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/V5/Members/DriverRatingApi/TypeQuantity.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  */
10 10
 class TypeQuantity extends \Route4Me\Common
11 11
 {
12
-    public $type;
12
+	public $type;
13 13
 
14
-    public $quantity;
14
+	public $quantity;
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/V5/Members/DriverRatingApi/DriverReview.php 1 patch
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -9,43 +9,43 @@
 block discarded – undo
9 9
  */
10 10
 class DriverReview extends \Route4Me\Common
11 11
 {
12
-    /** Driver Rating ID
13
-     * @var string $rating_id
14
-     */
15
-    public $rating_id;
16
-
17
-    /** The tracking number of the route destination
18
-     * @var string $tracking_number
19
-     */
20
-    public $tracking_number;
21
-
22
-    /**  review the driver got
23
-     * @var string $review
24
-     */
25
-    public $review;
26
-
27
-    /** The rating assigned to the driver.
28
-     * Available values: 1,2,3,4
29
-     * @var integer $rating
30
-     */
31
-    public $rating;
32
-
33
-    /** When the review was created.
34
-     * @var string $added_at
35
-     */
36
-    public $added_at;
37
-
38
-    public static function fromArray(array $params)
39
-    {
40
-        $driverReview = new self();
41
-
42
-        foreach ($params as $key => $value) {
43
-            if (property_exists($driverReview, $key)) {
44
-                $driverReview->{$key} = $value;
45
-            }
46
-        }
47
-
48
-        return $driverReview;
49
-    }
12
+	/** Driver Rating ID
13
+	 * @var string $rating_id
14
+	 */
15
+	public $rating_id;
16
+
17
+	/** The tracking number of the route destination
18
+	 * @var string $tracking_number
19
+	 */
20
+	public $tracking_number;
21
+
22
+	/**  review the driver got
23
+	 * @var string $review
24
+	 */
25
+	public $review;
26
+
27
+	/** The rating assigned to the driver.
28
+	 * Available values: 1,2,3,4
29
+	 * @var integer $rating
30
+	 */
31
+	public $rating;
32
+
33
+	/** When the review was created.
34
+	 * @var string $added_at
35
+	 */
36
+	public $added_at;
37
+
38
+	public static function fromArray(array $params)
39
+	{
40
+		$driverReview = new self();
41
+
42
+		foreach ($params as $key => $value) {
43
+			if (property_exists($driverReview, $key)) {
44
+				$driverReview->{$key} = $value;
45
+			}
46
+		}
47
+
48
+		return $driverReview;
49
+	}
50 50
 
51 51
 }
52 52
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RouteDuplicateResponse.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -10,31 +10,31 @@
 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;
17
-
18
-    /** If true, the route duplication process was asynchronous.
19
-     * @var boolean $async
20
-     */
21
-    public $async;
22
-
23
-    /** An array of the duplicated route IDs.
24
-     * @var string[] $route_ids
25
-     */
26
-    public $route_ids = [];
27
-
28
-    public static function fromArray(array $params)
29
-    {
30
-        $duplicateResponse = new self();
31
-
32
-        foreach ($params as $key => $value) {
33
-            if (property_exists($duplicateResponse, $key)) {
34
-                $duplicateResponse->{$key} = $value;
35
-            }
36
-        }
37
-
38
-        return $duplicateResponse;
39
-    }
13
+	/** If true, the route duplicated successfully.
14
+	 * @var boolean $status
15
+	 */
16
+	public $status;
17
+
18
+	/** If true, the route duplication process was asynchronous.
19
+	 * @var boolean $async
20
+	 */
21
+	public $async;
22
+
23
+	/** An array of the duplicated route IDs.
24
+	 * @var string[] $route_ids
25
+	 */
26
+	public $route_ids = [];
27
+
28
+	public static function fromArray(array $params)
29
+	{
30
+		$duplicateResponse = new self();
31
+
32
+		foreach ($params as $key => $value) {
33
+			if (property_exists($duplicateResponse, $key)) {
34
+				$duplicateResponse->{$key} = $value;
35
+			}
36
+		}
37
+
38
+		return $duplicateResponse;
39
+	}
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/RouteDataTableConfigResponse.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -9,26 +9,26 @@
 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
 
22
-    public static function fromArray(array $params)
23
-    {
24
-        $configResponse = new self();
22
+	public static function fromArray(array $params)
23
+	{
24
+		$configResponse = new self();
25 25
 
26
-        foreach ($params as $key => $value) {
27
-            if (property_exists($configResponse, $key)) {
28
-                $configResponse->{$key} = $value;
29
-            }
30
-        }
26
+		foreach ($params as $key => $value) {
27
+			if (property_exists($configResponse, $key)) {
28
+				$configResponse->{$key} = $value;
29
+			}
30
+		}
31 31
 
32
-        return $configResponse;
33
-    }
32
+		return $configResponse;
33
+	}
34 34
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/Routes/AddonRoutesApi/ApiCapabilities.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -6,41 +6,41 @@
 block discarded – undo
6 6
 
7 7
 class ApiCapabilities extends \Route4Me\Common
8 8
 {
9
-    /** Sortable Fields
10
-     * @var string[] $sortable_fields
11
-     */
12
-    public $sortable_fields = [];
13
-
14
-    /** Combinations of the sortable fields
15
-     * @var Array $sortable_fields_combinations
16
-     */
17
-    public $sortable_fields_combinations = [];
18
-
19
-    /** If true, multi-sorting enabled.
20
-     * @var boolean $multi_sorting_enabled
21
-     */
22
-    public $multi_sorting_enabled;
23
-
24
-    /** An array of the filterable fields.
25
-     * @var string[] $filterable_fields
26
-     */
27
-    public $filterable_fields = [];
28
-
29
-    /** If true, search enabled.
30
-     * @var boolean $search
31
-     */
32
-    public $search;
33
-
34
-    public static function fromArray(array $params)
35
-    {
36
-        $resultResponse = new self();
37
-
38
-        foreach ($params as $key => $value) {
39
-            if (property_exists($resultResponse, $key)) {
40
-                $resultResponse->{$key} = $value;
41
-            }
42
-        }
43
-
44
-        return $resultResponse;
45
-    }
9
+	/** Sortable Fields
10
+	 * @var string[] $sortable_fields
11
+	 */
12
+	public $sortable_fields = [];
13
+
14
+	/** Combinations of the sortable fields
15
+	 * @var Array $sortable_fields_combinations
16
+	 */
17
+	public $sortable_fields_combinations = [];
18
+
19
+	/** If true, multi-sorting enabled.
20
+	 * @var boolean $multi_sorting_enabled
21
+	 */
22
+	public $multi_sorting_enabled;
23
+
24
+	/** An array of the filterable fields.
25
+	 * @var string[] $filterable_fields
26
+	 */
27
+	public $filterable_fields = [];
28
+
29
+	/** If true, search enabled.
30
+	 * @var boolean $search
31
+	 */
32
+	public $search;
33
+
34
+	public static function fromArray(array $params)
35
+	{
36
+		$resultResponse = new self();
37
+
38
+		foreach ($params as $key => $value) {
39
+			if (property_exists($resultResponse, $key)) {
40
+				$resultResponse->{$key} = $value;
41
+			}
42
+		}
43
+
44
+		return $resultResponse;
45
+	}
46 46
 }
47 47
\ No newline at end of file
Please login to merge, or discard this patch.