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

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