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

protected/extensions/elFinder/php/elFinderVolumeDriver.class.php 2 locations

@@ 2154-2158 (lines=5) @@
2151
	protected function cacheDir($path) {
2152
		$this->dirsCache[$path] = array();
2153
2154
		foreach ($this->_scandir($path) as $p) {
2155
			if (($stat = $this->stat($p)) && empty($stat['hidden'])) {
2156
				$this->dirsCache[$path][] = $p;
2157
			}
2158
		}
2159
	}
2160
2161
	/**
@@ 2334-2338 (lines=5) @@
2331
2332
		!isset($this->dirsCache[$path]) && $this->cacheDir($path);
2333
2334
		foreach ($this->dirsCache[$path] as $p) {
2335
			if (($stat = $this->stat($p)) && empty($stat['hidden'])) {
2336
				$files[] = $stat;
2337
			}
2338
		}
2339
2340
		return $files;
2341
	}