reporters/fail.js
function(callback) {
            // We have to check "failOnFirst" flag to make sure we did not
            // throw the error before.
            if (phpcsError && !options.failOnFirst) {
                this.emit('error', new gutil.PluginError(
                    'gulp-phpcs',
                    'PHP Code Sniffer failed on \n    ' + badFiles.join('\n    ')
                ));
            }

            callback();
        }
function(callback) {
            // We have to check "failOnFirst" flag to make sure we did not
            // throw the error before.
            if (phpcsError && !options.failOnFirst) {
                this.emit('error', new gutil.PluginError(
                    'gulp-phpcs',
                    'PHP Code Sniffer failed on \n    ' + badFiles.join('\n    ')
                ));
            }

            callback();
        }
function ( callback ) { // We have to check "failOnFirst" flag to make sure we did not // throw the error before. if ( phpcsError && ! options . failOnFirst ) { this . emit ( 'error' , new gutil . PluginError ( 'gulp-phpcs' , 'PHP Code Sniffer failed on \n    ' + badFiles . join ( '\n    ' ) ) ) ; } callback ( ) ; }
Abort if we had at least one error.
Abort if we had at least one error .