File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -202,8 +202,8 @@ var phpcsPlugin = function(options) {
202
202
return ;
203
203
}
204
204
205
- if ( exitCode > 1 ) {
206
- // On codding style problems Code Sniffer should exists with "1" code.
205
+ if ( exitCode > 2 ) {
206
+ // On codding style problems Code Sniffer should exists with "1" or "2" code.
207
207
// All other non-zero exit codes should be treated as Code Sniffer errors.
208
208
var phpcsError = new gutil . PluginError ( 'gulp-phpcs' , 'Execution of Code Sniffer Failed' ) ;
209
209
phpcsError . stdout = output ;
Original file line number Diff line number Diff line change 4
4
cat > /dev/null
5
5
# It's just an arbitrary text.
6
6
echo " This is a test error."
7
- # PHPCS uses exit-codes greater than 1 to report about real errors.
8
- exit 2
7
+ # PHPCS uses exit-codes greater than 2 to report about real errors.
8
+ exit 3
You can’t perform that action at this time.
0 commit comments