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.

Code Duplication    Length = 12-14 lines in 7 locations

src/Route4Me/AvoidanceZone.php 1 location

@@ 57-69 (lines=13) @@
54
	        return $avoidancezone;
55
	    }
56
		
57
		public static function getAvoidanceZones($params)
58
	    {
59
	        $avoidancezones = Route4Me::makeRequst(array(
60
	            'url'    => self::$apiUrl,
61
	            'method' => 'GET',
62
	            'query'  => array(
63
	                'offset'  => isset($params->offset) ? $params->offset: null,
64
	                'limit'   => isset($params->limit) ? $params->limit: null,
65
	            )
66
	        ));
67
	
68
	        return $avoidancezones;
69
	    }
70
71
		public static function addAvoidanceZone($params)
72
	    {

src/Route4Me/Order.php 2 locations

@@ 71-84 (lines=14) @@
68
			return $response;
69
		}
70
71
		public static function addOrder2Route($params,$body)
72
	    {
73
	    	$response = Route4Me::makeRequst(array(
74
	            'url'    => self::$apiUrlRoute,
75
	            'method' => 'PUT',
76
	            'query'  => array(
77
					'route_id' => 	isset($params->route_id) ? $params->route_id: null,
78
	                'redirect' => isset($params->redirect) ? $params->redirect : null
79
				),
80
				'body'  => (array)$body
81
			));
82
83
			return $response;
84
		}
85
		
86
		public static function addOrder2Destination($params,$body)
87
	    {
@@ 86-99 (lines=14) @@
83
			return $response;
84
		}
85
		
86
		public static function addOrder2Destination($params,$body)
87
	    {
88
	    	$response = Route4Me::makeRequst(array(
89
	            'url'    => self::$apiUrlOpt,
90
	            'method' => 'PUT',
91
	            'query'  => array(
92
					'optimization_problem_id' => 	isset($params->optimization_problem_id) ? $params->optimization_problem_id: null,
93
	                'redirect' => isset($params->redirect) ? $params->redirect : null
94
				),
95
				'body'  => (array)$body
96
			));
97
98
			return $response;
99
		}
100
		
101
		public static function getOrder($params)
102
	    {

src/Route4Me/Territory.php 1 location

@@ 59-71 (lines=13) @@
56
	        return $territory;
57
	    }
58
		
59
		public static function getTerritories($params)
60
	    {
61
	        $response = Route4Me::makeRequst(array(
62
	            'url'    => self::$apiUrl,
63
	            'method' => 'GET',
64
	            'query'  => array(
65
	                'offset'  => isset($params->offset) ? $params->offset: null,
66
	                'limit'   => isset($params->limit) ? $params->limit: null,
67
	            )
68
	        ));
69
	
70
	        return $response;
71
	    }
72
73
		public static function addTerritory($params)
74
	    {

src/Route4Me/Member.php 2 locations

@@ 287-298 (lines=12) @@
284
			return $response;
285
		}
286
		
287
		public static function newMemberConfigKey($body)
288
	    {
289
	    	$response = Route4Me::makeRequst(array(
290
	            'url'    => self::$apiMemberConfig,
291
	            'method' => 'POST',
292
	            'body'  => array(
293
					'config_key' => 	isset($body->config_key) ? $body->config_key: null,
294
	                'config_value' => isset($body->config_value) ? $body->config_value : null
295
				)
296
			));
297
			return $response;
298
		}
299
		
300
		public static function removeMemberConfigKey($body)
301
	    {
@@ 324-335 (lines=12) @@
321
			return $response;
322
		}
323
324
		public static function updateMemberConfigKey($body)
325
	    {
326
	    	$response = Route4Me::makeRequst(array(
327
	            'url'    => self::$apiMemberConfig,
328
	            'method' => 'PUT',
329
	            'body'  => array(
330
					'config_key' => 	isset($body->config_key) ? $body->config_key: null,
331
	                'config_value' => isset($body->config_value) ? $body->config_value : null
332
				)
333
			));
334
			return $response;
335
		}
336
	}
337
?>

src/Route4Me/AddressBookLocation.php 1 location

@@ 79-91 (lines=13) @@
76
			return $result;
77
		}
78
		
79
		public static function getAddressBookLocations($params)
80
	    {
81
	    	$ablocations = Route4Me::makeRequst(array(
82
	            'url'    => self::$apiUrl,
83
	            'method' => 'GET',
84
	            'query'  => array(
85
	                'limit' => isset($params->limit) ? $params->limit: null,
86
	                'offset' => isset($params->offset) ? $params->offset : null,
87
	            )
88
	        ));
89
90
			return $ablocations;
91
		}
92
		
93
		public static function getAddressBookLocationsByIds($ids)
94
	    {