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

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

@@ 1974-1980 (lines=7) @@
1971
1972
		$path = '/'.$path;
1973
1974
		for ($i = 0, $c = count($this->attributes); $i < $c; $i++) {
1975
			$attrs = $this->attributes[$i];
1976
1977
			if (isset($attrs[$name]) && isset($attrs['pattern']) && preg_match($attrs['pattern'], $path)) {
1978
				$perm = $attrs[$name];
1979
			}
1980
		}
1981
1982
		return $perm === null ? (is_null($val)? $this->defaults[$name] : $val) : !!$perm;
1983
	}
@@ 2006-2012 (lines=7) @@
2003
2004
		$testPath = $this->separator.$this->_relpath($path);
2005
2006
		for ($i = 0, $c = count($this->attributes); $i < $c; $i++) {
2007
			$attrs = $this->attributes[$i];
2008
2009
			if (isset($attrs['write']) && isset($attrs['pattern']) && preg_match($attrs['pattern'], $testPath)) {
2010
				$perm = $attrs['write'];
2011
			}
2012
		}
2013
2014
		return $perm === null ? true : $perm;
2015
	}