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 ( 5f270e...733b13 )
by Igor
09:47 queued 13s
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/Members/TamManagementApi/TeamResponse.php 1 patch
Indentation   +178 added lines, -178 removed lines patch added patch discarded remove patch
@@ -10,183 +10,183 @@
 block discarded – undo
10 10
  */
11 11
 class TeamResponse extends \Route4Me\Common
12 12
 {
13
-    /** The member ID
14
-     * @var integer $member_id
15
-     */
16
-    public $member_id;
17
-
18
-    /** The user's account owner ID
19
-     * @var integer $OWNER_MEMBER_ID
20
-     */
21
-    public $OWNER_MEMBER_ID;
22
-
23
-    /** User's first name
24
-     * @var string $member_first_name
25
-     */
26
-    public $member_first_name;
27
-
28
-    /** User's last name
29
-     * @var string $member_last_name
30
-     */
31
-    public $member_last_name;
32
-
33
-    /** User's email
34
-     * @var string $member_email
35
-     */
36
-    public $member_email;
37
-
38
-    /** User's phone number
39
-     * @var string $member_phone
40
-     */
41
-    public $member_phone;
42
-
43
-    /** Member's company name
44
-     * @var string $member_company
45
-     */
46
-    public $member_company;
47
-
48
-    /** Birthdate of the user.
49
-     * @var string $date_of_birth
50
-     */
51
-    public $date_of_birth;
52
-
53
-    /** Registration state ID of a user
54
-     * @var string $user_reg_state_id
55
-     */
56
-    public $user_reg_state_id;
57
-
58
-    /** Registration country ID of a user
59
-     * @var string $user_reg_country_id
60
-     */
61
-    public $user_reg_country_id;
62
-
63
-    /** A link to the user's picture
64
-     * @var string $member_picture
65
-     */
66
-    public $member_picture;
67
-
68
-    /** Member type. Available values:
69
-     * <para>PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER,</para>
70
-     * <para>SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER</para>
71
-     * @var string $member_type
72
-     */
73
-    public $member_type;
74
-
75
-    /** If true, the routed addresses will be hidden.
76
-     * @var boolean $HIDE_ROUTED_ADDRESSES
77
-     */
78
-    public $HIDE_ROUTED_ADDRESSES;
79
-
80
-    /** If true, the visited addresses will be hidden.
81
-     * @var boolean $HIDE_VISITED_ADDRESSES
82
-     */
83
-    public $HIDE_VISITED_ADDRESSES;
84
-
85
-    /** If true, the nonfuture routes will be hidden.
86
-     * @var boolean $HIDE_NONFUTURE_ROUTES
87
-     */
88
-    public $HIDE_NONFUTURE_ROUTES;
89
-
90
-    /** If true, the user has read-only access type.
91
-     * @var boolean $READONLY_USER
92
-     */
93
-    public $READONLY_USER;
94
-
95
-    /** If true, the global address book contacts
96
-     * are visible in a user account.
97
-     * @var boolean $SHOW_SUSR_ADDR
98
-     */
99
-    public $SHOW_SUSR_ADDR;
100
-
101
-    /** If true, the global orders are visible in a user account.
102
-     * @var boolean $SHOW_SUSR_ORDERS
103
-     */
104
-    public $SHOW_SUSR_ORDERS;
105
-
106
-    /** If true, all drivers are visible to the user.
107
-     * @var boolean $SHOW_ALL_DRIVERS
108
-     */
109
-    public $SHOW_ALL_DRIVERS;
110
-
111
-    /** If true, all vehicles are visible to the user.
112
-     * @var boolean $SHOW_ALL_VEHICLES
113
-     */
114
-    public $SHOW_ALL_VEHICLES;
115
-
116
-    /** Allowed sub-member types in the user's account.
117
-     * Available array item values:
118
-     * "SUB_ACCOUNT_DRIVER", "SUB_ACCOUNT_DISPATCHER", "SUB_ACCOUNT_PLANNER",
119
-     * "SUB_ACCOUNT_ANALYST", "SUB_ACCOUNT_ADMIN", "SUB_ACCOUNT_REGIONAL_MANAGER"
120
-     * @var string[] $allowed_submember_types
121
-     */
122
-    public $allowed_submember_types;
123
-
124
-    /** If true, the user can edit the account data.
125
-     * @var boolean $can_edit
126
-     */
127
-    public $can_edit;
128
-
129
-    /** If true, the user can delete the account data.
130
-     * @var boolean $can_delete
131
-     */
132
-    public $can_delete;
133
-
134
-    /** The user's custom data
135
-     * @var Array $custom_data
136
-     */
137
-    public $custom_data;
138
-
139
-    /** Hourly rate of a user
140
-     * @var double $DriverHourlyRate
141
-     */
142
-    public $DriverHourlyRate;
143
-
144
-    /** Vendor ID
145
-     * @var string $vendor_id
146
-     */
147
-    public $vendor_id;
148
-
149
-    /** Driving rate of a user.
150
-     * @var double $driving_rate
151
-     */
152
-    public $driving_rate;
153
-
154
-    /** Working rate of a user.
155
-     * @var double $working_rate
156
-     */
157
-    public $working_rate;
158
-
159
-    /** Mile rate of a user.
160
-     * @var double $mile_rate
161
-     */
162
-    public $mile_rate;
163
-
164
-    /** Mile rate of a user.
165
-     * @var double $idling_rate
166
-     */
167
-    public $idling_rate;
168
-
169
-    /** Display maximum_routes number of future days.
170
-     * @var integer $display_max_routes_future_days
171
-     */
172
-    public $display_max_routes_future_days;
173
-
174
-    /** Member's location timezone
175
-     * @var string $timezone
176
-     */
177
-    public $timezone;
178
-
179
-    public static function fromArray(array $params)
180
-    {
181
-        $teamtResponse = new self();
182
-
183
-        foreach ($params as $key => $value) {
184
-            if (property_exists($teamtResponse, $key)) {
185
-                $teamtResponse->{$key} = $value;
186
-            }
187
-        }
188
-
189
-        return $teamtResponse;
190
-    }
13
+	/** The member ID
14
+	 * @var integer $member_id
15
+	 */
16
+	public $member_id;
17
+
18
+	/** The user's account owner ID
19
+	 * @var integer $OWNER_MEMBER_ID
20
+	 */
21
+	public $OWNER_MEMBER_ID;
22
+
23
+	/** User's first name
24
+	 * @var string $member_first_name
25
+	 */
26
+	public $member_first_name;
27
+
28
+	/** User's last name
29
+	 * @var string $member_last_name
30
+	 */
31
+	public $member_last_name;
32
+
33
+	/** User's email
34
+	 * @var string $member_email
35
+	 */
36
+	public $member_email;
37
+
38
+	/** User's phone number
39
+	 * @var string $member_phone
40
+	 */
41
+	public $member_phone;
42
+
43
+	/** Member's company name
44
+	 * @var string $member_company
45
+	 */
46
+	public $member_company;
47
+
48
+	/** Birthdate of the user.
49
+	 * @var string $date_of_birth
50
+	 */
51
+	public $date_of_birth;
52
+
53
+	/** Registration state ID of a user
54
+	 * @var string $user_reg_state_id
55
+	 */
56
+	public $user_reg_state_id;
57
+
58
+	/** Registration country ID of a user
59
+	 * @var string $user_reg_country_id
60
+	 */
61
+	public $user_reg_country_id;
62
+
63
+	/** A link to the user's picture
64
+	 * @var string $member_picture
65
+	 */
66
+	public $member_picture;
67
+
68
+	/** Member type. Available values:
69
+	 * <para>PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER,</para>
70
+	 * <para>SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER</para>
71
+	 * @var string $member_type
72
+	 */
73
+	public $member_type;
74
+
75
+	/** If true, the routed addresses will be hidden.
76
+	 * @var boolean $HIDE_ROUTED_ADDRESSES
77
+	 */
78
+	public $HIDE_ROUTED_ADDRESSES;
79
+
80
+	/** If true, the visited addresses will be hidden.
81
+	 * @var boolean $HIDE_VISITED_ADDRESSES
82
+	 */
83
+	public $HIDE_VISITED_ADDRESSES;
84
+
85
+	/** If true, the nonfuture routes will be hidden.
86
+	 * @var boolean $HIDE_NONFUTURE_ROUTES
87
+	 */
88
+	public $HIDE_NONFUTURE_ROUTES;
89
+
90
+	/** If true, the user has read-only access type.
91
+	 * @var boolean $READONLY_USER
92
+	 */
93
+	public $READONLY_USER;
94
+
95
+	/** If true, the global address book contacts
96
+	 * are visible in a user account.
97
+	 * @var boolean $SHOW_SUSR_ADDR
98
+	 */
99
+	public $SHOW_SUSR_ADDR;
100
+
101
+	/** If true, the global orders are visible in a user account.
102
+	 * @var boolean $SHOW_SUSR_ORDERS
103
+	 */
104
+	public $SHOW_SUSR_ORDERS;
105
+
106
+	/** If true, all drivers are visible to the user.
107
+	 * @var boolean $SHOW_ALL_DRIVERS
108
+	 */
109
+	public $SHOW_ALL_DRIVERS;
110
+
111
+	/** If true, all vehicles are visible to the user.
112
+	 * @var boolean $SHOW_ALL_VEHICLES
113
+	 */
114
+	public $SHOW_ALL_VEHICLES;
115
+
116
+	/** Allowed sub-member types in the user's account.
117
+	 * Available array item values:
118
+	 * "SUB_ACCOUNT_DRIVER", "SUB_ACCOUNT_DISPATCHER", "SUB_ACCOUNT_PLANNER",
119
+	 * "SUB_ACCOUNT_ANALYST", "SUB_ACCOUNT_ADMIN", "SUB_ACCOUNT_REGIONAL_MANAGER"
120
+	 * @var string[] $allowed_submember_types
121
+	 */
122
+	public $allowed_submember_types;
123
+
124
+	/** If true, the user can edit the account data.
125
+	 * @var boolean $can_edit
126
+	 */
127
+	public $can_edit;
128
+
129
+	/** If true, the user can delete the account data.
130
+	 * @var boolean $can_delete
131
+	 */
132
+	public $can_delete;
133
+
134
+	/** The user's custom data
135
+	 * @var Array $custom_data
136
+	 */
137
+	public $custom_data;
138
+
139
+	/** Hourly rate of a user
140
+	 * @var double $DriverHourlyRate
141
+	 */
142
+	public $DriverHourlyRate;
143
+
144
+	/** Vendor ID
145
+	 * @var string $vendor_id
146
+	 */
147
+	public $vendor_id;
148
+
149
+	/** Driving rate of a user.
150
+	 * @var double $driving_rate
151
+	 */
152
+	public $driving_rate;
153
+
154
+	/** Working rate of a user.
155
+	 * @var double $working_rate
156
+	 */
157
+	public $working_rate;
158
+
159
+	/** Mile rate of a user.
160
+	 * @var double $mile_rate
161
+	 */
162
+	public $mile_rate;
163
+
164
+	/** Mile rate of a user.
165
+	 * @var double $idling_rate
166
+	 */
167
+	public $idling_rate;
168
+
169
+	/** Display maximum_routes number of future days.
170
+	 * @var integer $display_max_routes_future_days
171
+	 */
172
+	public $display_max_routes_future_days;
173
+
174
+	/** Member's location timezone
175
+	 * @var string $timezone
176
+	 */
177
+	public $timezone;
178
+
179
+	public static function fromArray(array $params)
180
+	{
181
+		$teamtResponse = new self();
182
+
183
+		foreach ($params as $key => $value) {
184
+			if (property_exists($teamtResponse, $key)) {
185
+				$teamtResponse->{$key} = $value;
186
+			}
187
+		}
188
+
189
+		return $teamtResponse;
190
+	}
191 191
 
192 192
 }
193 193
\ 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.