shouldIgnoreFile() public method

Checks filtering rules to see if a file should be ignored.
public shouldIgnoreFile ( string $path, string $basedir ) : boolean
$path string The path to the file being checked.
$basedir string The directory to use for relative path checks.
return boolean
Esempio n. 1
0
 /**
  * @param string $filename
  * @param string $extension
  * @param string $dir
  * @return bool
  */
 public function shouldIgnoreFile($filename, $extension, $dir)
 {
     return $this->phpcs->shouldIgnoreFile($filename, "./");
 }