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

system/helpers/file_helper.php 2 locations

@@ 182-186 (lines=5) @@
179
		if ($fp = @opendir($source_dir))
180
		{
181
			// reset the array and make sure $source_dir has a trailing slash on the initial call
182
			if ($_recursion === FALSE)
183
			{
184
				$_filedata = array();
185
				$source_dir = rtrim(realpath($source_dir), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR;
186
			}
187
188
			while (FALSE !== ($file = readdir($fp)))
189
			{
@@ 233-237 (lines=5) @@
230
		if ($fp = @opendir($source_dir))
231
		{
232
			// reset the array and make sure $source_dir has a trailing slash on the initial call
233
			if ($_recursion === FALSE)
234
			{
235
				$_filedata = array();
236
				$source_dir = rtrim(realpath($source_dir), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR;
237
			}
238
239
			// Used to be foreach (scandir($source_dir, 1) as $file), but scandir() is simply not as fast
240
			while (FALSE !== ($file = readdir($fp)))