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

@@ 154-156 (lines=3) @@
151
		
152
		$new_list = array();
153
		
154
		foreach($files as $key=>$file)
155
			if(!isset($file['parent']))
156
				$new_list[] = ($files[$key]);
157
158
		if(isset($new_list[0]))
159
			return $new_list[0];
@@ 171-173 (lines=3) @@
168
		
169
		$new_list = array();
170
		
171
		foreach($files as $key=>$file)
172
			if(!isset($file['parent']))
173
				$new_list[] = ($files[$key]);
174
175
		return $new_list;
176
	}