Lines Matching refs:report
155 foreach ($cliValues['reports'] as $report => $output) {
156 $reportClass = $this->factory($report);
157 $report = get_class($reportClass);
174 if (isset($this->_tmpFiles[$report]) === false) {
177 … $this->_tmpFiles[$report] = fopen(tempnam(sys_get_temp_dir(), 'phpcs'), 'w');
179 $this->_tmpFiles[$report] = tmpfile();
183 fwrite($this->_tmpFiles[$report], $generatedReport);
186 if (isset($this->_cachedReports[$report]) === false) {
187 $this->_cachedReports[$report] = true;
211 * @param string $report Report type.
220 $report, argument
226 $reportClass = $this->factory($report);
227 $report = get_class($reportClass);
234 && isset($this->_cachedReports[$report]) === true
241 if (isset($this->_tmpFiles[$report]) === true) {
242 $data = stream_get_meta_data($this->_tmpFiles[$report]);
245 fclose($this->_tmpFiles[$report]);
304 $report = array(
312 if ($report['errors'] === 0 && $report['warnings'] === 0) {
314 return $report;
378 $report['messages'] = $errors;
379 return $report;