@@ -58,8 +58,8 @@ gulp.task('syntax', 'Check the php syntax using php lint. Default scr/ and tests
58
58
59
59
if ( commandLineOptions . source ) {
60
60
sources = _ . split ( commandLineOptions . source , ',' ) ;
61
- } else if ( _ . has ( gulp . task . configuration , 'tasks.style- syntax.source' ) ) {
62
- sources = gulp . task . configuration . tasks [ 'style- syntax' ] . source ;
61
+ } else if ( _ . has ( gulp . task . configuration , 'tasks.syntax.source' ) ) {
62
+ sources = gulp . task . configuration . tasks [ 'syntax' ] . source ;
63
63
gutil . log ( gutil . colors . blue ( 'Read source from the configuration file: ' + sources ) ) ;
64
64
}
65
65
@@ -97,7 +97,7 @@ gulp.task('watch-syntax', 'Watch for file changes and execute the syntax task. D
97
97
} ) ;
98
98
99
99
gutil . log ( gutil . colors . blue ( 'Watch directory ' + sources + ' for changes and run the syntax checks on.' ) ) ;
100
- gulp . watch ( sources , [ 'style- syntax' ] ) ;
100
+ gulp . watch ( sources , [ 'syntax' ] ) ;
101
101
} , {
102
102
options : {
103
103
'source' : 'The directory to watch for file changes. To add multiple sources use a \',\'.Example gulp watch-syntax ' +
@@ -121,7 +121,7 @@ gulp.task('watch-codestyle', 'Watch for file changes and execute the codestyle t
121
121
} ) ;
122
122
123
123
gutil . log ( gutil . colors . blue ( 'Watch directory ' + sources + ' for changes and run the codestyle checks on.' ) ) ;
124
- gulp . watch ( sources , [ 'style- codestyle' ] ) ;
124
+ gulp . watch ( sources , [ 'codestyle' ] ) ;
125
125
} , {
126
126
options : {
127
127
'source' : 'The directory to watch for file changes. To add multiple sources use a \',\'.Example gulp watch-codestyle ' +
0 commit comments