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 ( e5b8eb...47d764 )
by Igor
01:54 queued 12s
created
src/Route4Me/Enum/TerritoryTypes.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class TerritoryTypes
6 6
 {
7
-    const CIRCLE = 'circle';
8
-    const POLY = 'poly';
9
-    const RECT = 'rect';
7
+	const CIRCLE = 'circle';
8
+	const POLY = 'poly';
9
+	const RECT = 'rect';
10 10
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/DeviceType.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class DeviceType
6 6
 {
7
-    const WEB = 'web';
8
-    const IPHONE = 'iphone';
9
-    const IPAD = 'ipad';
10
-    const ANDROID_PHONE = 'android_phone';
11
-    const ANDROID_TABLET = 'android_tablet';
7
+	const WEB = 'web';
8
+	const IPHONE = 'iphone';
9
+	const IPAD = 'ipad';
10
+	const ANDROID_PHONE = 'android_phone';
11
+	const ANDROID_TABLET = 'android_tablet';
12 12
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/TravelMode.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class TravelMode
6 6
 {
7
-    const DRIVING = 'Driving';
8
-    const WALKING = 'Walking';
9
-    const TRUCKING = 'Trucking';
10
-    const CYCLING = 'Cycling';
11
-    const TRANSIT = 'Transit';
7
+	const DRIVING = 'Driving';
8
+	const WALKING = 'Walking';
9
+	const TRUCKING = 'Trucking';
10
+	const CYCLING = 'Cycling';
11
+	const TRANSIT = 'Transit';
12 12
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/ActivityTypes.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -4,35 +4,35 @@
 block discarded – undo
4 4
 
5 5
 class ActivityTypes
6 6
 {
7
-    const AREA_REMOVED = 'area-removed';
8
-    const AREA_ADDED = 'area-added';
9
-    const AREA_UPDATED = 'area-updated';
10
-    const DELETE_DESTINATION = 'delete-destination';
11
-    const INSERT_DESTINATION = 'insert-destination';
12
-    const DESTINATION_OUT_SEQUENCE = 'destination-out-sequence';
13
-    const DRIVER_ARRIVED_EARLY = 'driver-arrived-early';
14
-    const DRIVER_ARRIVED_LATE = 'driver-arrived-late';
15
-    const DRIVER_ARRIVED_ON_TIME = 'driver-arrived-on-time';
16
-    const GEOFENCE_LEFT = 'geofence-left';
17
-    const GEOFENCE_ENTERED = 'geofence-entered';
18
-    const MARK_DESTINATION_DEPARTED = 'mark-destination-departed';
19
-    const MARK_DESTINATION_VISITED = 'mark-destination-visited';
20
-    const MEMBER_CREATED = 'member-created';
21
-    const MEMBER_DELETED = 'member-deleted';
22
-    const MEMBER_MODIFIED = 'member-modified';
23
-    const MOVE_DESTINATION = 'move-destination';
24
-    const NOTE_INSERT = 'note-insert';
25
-    const ROUTE_DELETE = 'route-delete';
26
-    const ROUTE_OPTIMIZED = 'route-optimized';
27
-    const ROUTE_OWNER_CHANGED = 'route-owner-changed';
28
-    const ROUTE_DUPLICATE = 'route-duplicate';
29
-    const UPDATE_DESTINATIONS = 'update-destinations';
30
-    const USER_MESSAGE = 'user_message';
7
+	const AREA_REMOVED = 'area-removed';
8
+	const AREA_ADDED = 'area-added';
9
+	const AREA_UPDATED = 'area-updated';
10
+	const DELETE_DESTINATION = 'delete-destination';
11
+	const INSERT_DESTINATION = 'insert-destination';
12
+	const DESTINATION_OUT_SEQUENCE = 'destination-out-sequence';
13
+	const DRIVER_ARRIVED_EARLY = 'driver-arrived-early';
14
+	const DRIVER_ARRIVED_LATE = 'driver-arrived-late';
15
+	const DRIVER_ARRIVED_ON_TIME = 'driver-arrived-on-time';
16
+	const GEOFENCE_LEFT = 'geofence-left';
17
+	const GEOFENCE_ENTERED = 'geofence-entered';
18
+	const MARK_DESTINATION_DEPARTED = 'mark-destination-departed';
19
+	const MARK_DESTINATION_VISITED = 'mark-destination-visited';
20
+	const MEMBER_CREATED = 'member-created';
21
+	const MEMBER_DELETED = 'member-deleted';
22
+	const MEMBER_MODIFIED = 'member-modified';
23
+	const MOVE_DESTINATION = 'move-destination';
24
+	const NOTE_INSERT = 'note-insert';
25
+	const ROUTE_DELETE = 'route-delete';
26
+	const ROUTE_OPTIMIZED = 'route-optimized';
27
+	const ROUTE_OWNER_CHANGED = 'route-owner-changed';
28
+	const ROUTE_DUPLICATE = 'route-duplicate';
29
+	const UPDATE_DESTINATIONS = 'update-destinations';
30
+	const USER_MESSAGE = 'user_message';
31 31
 
32
-    public static function getConstants()
33
-    {
34
-        $atc = new \ReflectionClass('Route4Me\\Enum\\ActivityTypes');
32
+	public static function getConstants()
33
+	{
34
+		$atc = new \ReflectionClass('Route4Me\\Enum\\ActivityTypes');
35 35
 
36
-        return $atc->getConstants();
37
-    }
36
+		return $atc->getConstants();
37
+	}
38 38
 }
Please login to merge, or discard this patch.
src/Route4Me/Enum/Endpoint.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@
 block discarded – undo
67 67
     const VEHICLE_V4_API = '/api.v4/vehicle.php';
68 68
     
69 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";
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 74
     const MEMBER_CAPABILITIES = "/api/member/capabilities.php";
75 75
 
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.