classes/phing/tasks/ext/phpcs/ReportsPhingRemoveFromCache.php
public function generateFileReport(
        $report,
        PHP_CodeSniffer_File $phpcsFile,
        $showSources = false,
        $width = 80
    ) {
        if (!self::$cache || ($report['errors'] === 0 && $report['warnings'] === 0)) {
            // Nothing to do
            return false;
        }

        self::$cache->remove($report['filename']);
        return false;
    }
public function generateFileReport(
        $report,
        PHP_CodeSniffer_File $phpcsFile,
        $showSources = false,
        $width = 80
    ) {
        if (!self::$cache || ($report['errors'] === 0 && $report['warnings'] === 0)) {
            // Nothing to do
            return false;
        }

        self::$cache->remove($report['filename']);
        return false;
    }
public function generateFileReport ( $ report , PHP_CodeSniffer_File $ phpcsFile , $ showSources = false , $ width = 80 ) { if ( ! self :: $ cache || ( $ report [ 'errors' ] === 0 && $ report [ 'warnings' ] === 0 ) ) { // Nothing to do return false ; } self :: $ cache -> remove ( $ report [ 'filename' ] ) ; return false ; }
Remove file from cache if contains errors

@param array $report Prepared report data.
@param PHP_CodeSniffer_File $phpcsFile The file being reported on.
@param boolean $showSources Show sources?
@param int $width Maximum allowed line width.

@return boolean
Remove file from cache if contains errors