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 = 3-3 lines in 2 locations

includes/class-xcloner-file-system.php 2 locations

@@ 193-195 (lines=3) @@
190
		
191
		$new_list = array();
192
		
193
		foreach($files as $key=>$file)
194
			if(!isset($file['parent']))
195
				$new_list[] = ($files[$key]);
196
197
		if(isset($new_list[0]))
198
			return $new_list[0];
@@ 210-212 (lines=3) @@
207
		
208
		$new_list = array();
209
		
210
		foreach($files as $key=>$file)
211
			if(!isset($file['parent']))
212
				$new_list[] = ($files[$key]);
213
214
		return $new_list;
215
	}