Lines Matching full:phpcs
3 * A class to process command line phpcs scripts.
42 * A class to process command line phpcs scripts.
95 * Run the PHPCS script.
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(
1148 $default = $currentDir.DIRECTORY_SEPARATOR.'phpcs.xml';
1153 $default = $currentDir.DIRECTORY_SEPARATOR.'phpcs.xml.dist';
1202 $phpcs = new PHP_CodeSniffer();
1203 $phpcs->process(array(), $standard);
1204 $sniffs = $phpcs->getSniffs();
1297 * Prints out the usage information for PHPCS.
1303 …echo 'Usage: phpcs [-nwlsaepqvi] [-d key[=value]] [--colors] [--no-colors] [--stdin-path=<stdinPat…