Searched refs:cliValues (Results 1 – 9 of 9) sorted by relevance
140 * @param array $cliValues An array of command line arguments.144 public function cacheFileReport(PHP_CodeSniffer_File $phpcsFile, array $cliValues) argument146 if (isset($cliValues['reports']) === false) {155 foreach ($cliValues['reports'] as $report => $output) {160 …reportClass->generateFileReport($reportData, $phpcsFile, $cliValues['showSources'], $cliValues['re…168 if ($output === null && $cliValues['reportFile'] !== null) {169 $output = $cliValues['reportFile'];213 * @param array $cliValues An array of command line arguments.222 array $cliValues, argument268 if ($cliValues['colors'] !== true || $reportFile !== null) {
147 $cliValues['verbosity'] = 0;148 $cliValues['showProgress'] = false;149 $cliValues['generator'] = '';150 $cliValues['explain'] = false;151 $cliValues['interactive'] = false;152 $cliValues['showSources'] = false;153 $cliValues['reportFile'] = null;154 $cliValues['reports'] = array();158 $suffix = $cliValues['suffix'];162 if (isset($cliValues['no-patch']) === true || empty($cliValues['files']) === true) {[all …]
316 $cliValues = $phpcs->cli->getCommandLineValues();317 if (isset($cliValues['showSources']) === true318 && $cliValues['showSources'] !== true464 if ($cliValues['stdinPath'] !== '') {465 $this->_file = $cliValues['stdinPath'];661 $cliValues = $this->phpcs->cli->getCommandLineValues();662 if (empty($cliValues['files']) === true) {692 if (isset($cliValues['tabWidth']) === true) {693 $tabWidth = $cliValues['tabWidth'];696 if (isset($cliValues['encoding']) === true) {[all …]
160 $cliValues = $this->_currentFile->phpcs->cli->getCommandLineValues();161 if (empty($cliValues['files']) === true) {
60 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues();63 if (empty($cliValues['files']) === false) {73 if (empty($cliValues['files']) === true) {102 $newFilename = $report['filename'].$cliValues['phpcbf-suffix'];
74 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues();75 if (isset($cliValues['tabWidth']) === false || $cliValues['tabWidth'] === 0) {81 $this->_tabWidth = $cliValues['tabWidth'];
150 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues();151 if (isset($cliValues['tabWidth']) === false || $cliValues['tabWidth'] === 0) {157 $this->_tabWidth = $cliValues['tabWidth'];
68 $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues();69 if (isset($cliValues['tabWidth']) === false || $cliValues['tabWidth'] === 0) {73 $this->_tabWidth = $cliValues['tabWidth'];
619 $cliValues = $this->cli->getCommandLineValues();620 $showProgress = $cliValues['showProgress'];621 $useColors = $cliValues['colors'];739 $cliValues = $this->cli->getCommandLineValues();867 if (empty($cliValues['files']) === true && $cliValues['stdin'] === null) {1807 $cliValues = $this->cli->getCommandLineValues();1811 $this->reporting->cacheFileReport($phpcsFile, $cliValues);1832 …reportClass->generateFileReport($reportData, $phpcsFile, $cliValues['showSources'], $cliValues['re…1874 $cliValues = $this->cli->getCommandLineValues();1875 if (empty($cliValues['files']) === true) {