Lines Matching refs:phpcs

139     public $phpcs = null;  variable in PHP_CodeSniffer_File
297 * @param PHP_CodeSniffer $phpcs The PHP_CodeSniffer object controlling this run.
307 PHP_CodeSniffer $phpcs argument
312 $this->phpcs = $phpcs;
316 $cliValues = $phpcs->cli->getCommandLineValues();
322 $reportClass = $phpcs->reporting->factory($report);
414 $this->phpcs->populateTokenListeners();
415 $this->_listeners = $this->phpcs->getTokenSniffs();
463 $cliValues = $this->phpcs->cli->getCommandLineValues();
482 $listeners = $this->phpcs->getSniffs();
508 && isset($this->phpcs->sniffCodes[$parts[0]]) === true
513 $listenerClass = $this->phpcs->sniffCodes[$listenerCode];
514 … $this->phpcs->setSniffProperty($listenerClass, $propertyCode, $propertyValue);
661 $cliValues = $this->phpcs->cli->getCommandLineValues();
669 if (isset($this->phpcs->allowedFileExtensions[$extension]) === true) {
670 …$tokenizerClass = 'PHP_CodeSniffer_Tokenizers_'.$this->phpcs->allowedFileExtensions[$extensio…
671 $this->tokenizerType = $this->phpcs->allowedFileExtensions[$extension];
672 } else if (isset($this->phpcs->defaultFileExtensions[$extension]) === true) {
673 …$tokenizerClass = 'PHP_CodeSniffer_Tokenizers_'.$this->phpcs->defaultFileExtensions[$extensio…
674 $this->tokenizerType = $this->phpcs->defaultFileExtensions[$extension];
691 $cliValues = $this->phpcs->cli->getCommandLineValues();
1031 } else if ($this->phpcs->cli->errorSeverity === 0) {
1044 if ($this->phpcs->cli->errorSeverity > $severity) {
1049 $patterns = $this->phpcs->getIgnorePatterns($sniffCode);
1178 } else if ($this->phpcs->cli->warningSeverity === 0) {
1191 if ($this->phpcs->cli->warningSeverity > $severity) {
1196 $patterns = $this->phpcs->getIgnorePatterns($sniffCode);