Lines Matching refs:this

112         $this->checkRequirements();
113 $numErrors = $this->process();
141 $this->checkRequirements();
143 $this->dieOnUnknownArg = false;
146 $cliValues = $this->getCommandLineValues();
182 $numErrors = $this->process($cliValues);
346 $defaults['reportWidth'] = $this->_validateReportWidth($reportWidth);
396 if (empty($this->values) === false) {
397 return $this->values;
403 $this->setCommandLineValues($args);
417 $this->values['stdin'] = $fileContents;
421 return $this->values;
436 $this->values = array(
440 } else if (empty($this->values) === true) {
441 $this->values = $this->getDefaults();
444 $this->_cliArgs = $args;
448 $arg = $this->_cliArgs[$i];
460 $this->processLongArgument(substr($arg, 2), $i);
468 $this->processShortArgument($switch, $i);
472 $this->processUnknownArgument($arg, $i);
492 $this->printUsage();
495 $this->printInstalledStandards();
498 if ($this->values['quiet'] === true) {
503 if (isset($this->values['verbosity']) === false) {
504 $this->values['verbosity'] = 1;
506 $this->values['verbosity']++;
510 $this->values['local'] = true;
513 $this->values['showSources'] = true;
516 $this->values['interactive'] = true;
519 $this->values['explain'] = true;
522 if ($this->values['quiet'] === true) {
527 $this->values['showProgress'] = true;
531 $this->values['quiet'] = true;
532 $this->values['showProgress'] = false;
533 $this->values['verbosity'] = 0;
536 $ini = explode('=', $this->_cliArgs[($pos + 1)]);
537 $this->_cliArgs[($pos + 1)] = '';
545 $this->values['warningSeverity'] = 0;
548 $this->values['warningSeverity'] = null;
551 if ($this->dieOnUnknownArg === false) {
552 $this->values[$arg] = $arg;
554 $this->processUnknownArgument('-'.$arg, $pos);
573 $this->printUsage();
730 …echo 'ERROR: The specified report file path "'.$this->values['reportFile'].'" points to a non-exis…
754 …echo 'ERROR: The specified report file path "'.$this->values['reportFile'].'" is a directory'.PHP_…
875 if ($this->dieOnUnknownArg === false) {
880 $this->printUsage();
886 if ($this->dieOnUnknownArg === false) {
891 $this->printUsage();
894 $this->values['files'][] = $file;
911 $values = $this->getCommandLineValues();
913 $values = array_merge($this->getDefaults(), $values);
914 $this->values = $values;
920 $values['standard'] = $this->validateStandard(null);
935 $values['standard'] = $this->validateStandard($values['standard']);
941 $this->printInstalledStandards();
948 $this->explainStandard($standard);
955 $phpcs->setCli($this);
957 $values = $this->values;
977 $this->errorSeverity = PHPCS_DEFAULT_ERROR_SEV;
979 $this->errorSeverity = $values['errorSeverity'];
983 $this->warningSeverity = PHPCS_DEFAULT_WARN_SEV;
985 $this->warningSeverity = $values['warningSeverity'];
990 $this->values['reports'] = $values['reports'];
1013 $this->printUsage();
1016 $this->values['stdin'] = $fileContents;
1028 return $this->printErrorReport(
1085 $this->values,
1101 || (($errors + $warnings) === 0 && $this->values['showProgress'] === true))
1288 $this->printPHPCBFUsage();
1290 $this->printPHPCSUsage();