Lines Matching refs:this
101 if (isset($this->_reports[$type]) === true) {
102 return $this->_reports[$type];
130 $this->_reports[$type] = $reportClass;
131 return $this->_reports[$type];
152 $reportData = $this->prepareFileReport($phpcsFile);
156 $reportClass = $this->factory($report);
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;
196 $this->totalFiles++;
197 $this->totalErrors += $reportData['errors'];
198 $this->totalWarnings += $reportData['warnings'];
199 $this->totalFixable += $reportData['fixable'];
226 $reportClass = $this->factory($report);
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]);
257 $this->totalFiles,
258 $this->totalErrors,
259 $this->totalWarnings,
260 $this->totalFixable,
286 'errors' => $this->totalErrors,
287 'warnings' => $this->totalWarnings,