Lines Matching refs:standard
375 $standard = PHP_CodeSniffer::getConfigData('standard');
376 if ($standard !== null) {
377 $defaults['standard'] = $standard;
801 } else if (substr($arg, 0, 9) === 'standard=') {
804 $this->values['standard'] = explode(',', $standards);
923 foreach ($values['standard'] as $standard) {
925 $standard,
936 foreach ($values['standard'] as $standard) {
937 if (PHP_CodeSniffer::isInstalledStandard($standard) === false) {
940 echo 'ERROR: the "'.$standard.'" coding standard is not installed. ';
947 foreach ($values['standard'] as $standard) {
948 $this->explainStandard($standard);
1163 $standard = PHP_CodeSniffer::getConfigData('default_standard');
1164 if ($standard === null) {
1166 $standard = 'PEAR';
1169 return explode(',', $standard);
1177 foreach ($standards as $standard) {
1179 if (strtolower($standard) === strtolower($validStandard)) {
1180 $standard = $validStandard;
1185 $cleaned[] = $standard;
1196 * @param string $standard The standard to validate.
1200 public function explainStandard($standard) argument
1203 $phpcs->process(array(), $standard);
1215 echo PHP_EOL."The $standard standard contains $sniffCount sniffs".PHP_EOL;