Lines Matching refs:phpcs
918 $phpcs = new PHP_CodeSniffer($values['verbosity']);
924 $phpcs->generateDocs(
954 $phpcs = new PHP_CodeSniffer($values['verbosity'], null, null, null);
955 $phpcs->setCli($this);
956 $phpcs->initStandard($values['standard'], $values['sniffs'], $values['exclude']);
959 $phpcs->setTabWidth($values['tabWidth']);
960 $phpcs->setEncoding($values['encoding']);
961 $phpcs->setInteractive($values['interactive']);
966 $phpcs->setAllowedFileExtensions($values['extensions']);
971 $ignorePatterns = array_merge($phpcs->getIgnorePatterns(), $values['ignored']);
972 $phpcs->setIgnorePatterns($ignorePatterns);
998 $phpcs->processFiles($values['files'], $values['local']);
1017 $phpcs->processFile('STDIN', $fileContents);
1029 $phpcs,
1045 * @param PHP_CodeSniffer $phpcs The PHP_CodeSniffer object containing
1056 PHP_CodeSniffer $phpcs, argument
1082 $result = $phpcs->reporting->printReport(
1202 $phpcs = new PHP_CodeSniffer();
1203 $phpcs->process(array(), $standard);
1204 $sniffs = $phpcs->getSniffs();