Get the file that is currently being processed.
\PHP_CodeSniffer\Files\File
public function current() { $path = key($this->files); if (isset($this->files[$path]) === false) { $this->files[$path] = new LocalFile($path, $this->ruleset, $this->config); } return $this->files[$path]; }