Lines Matching refs:phpcs
120 $phpcs = new PHP_CodeSniffer(
129 $phpcs->setAllowedFileExtensions($values['extensions']);
131 $phpcs->setAllowedFileExtensions(array_keys($phpcs->defaultFileExtensions));
136 $phpcs->setIgnorePatterns($values['ignored']);
157 $phpcs->setCli($this);
158 $phpcs->initStandard($values['standard'], $values['sniffs']);
170 if ($phpcs->shouldProcessFile($path, dirname($path)) === false) {
185 $phpcs->processFile($path, $contents);
189 $phpcs,
221 $phpcs = new PHP_CodeSniffer_SVN_Hook();
224 $phpcs->checkRequirements();
226 $numErrors = $phpcs->process();