JustBlackBird / gulp-phpcs

Gulp plugin for running PHP Code Sniffer
MIT License
47 stars 12 forks source link

Bug after updating to phpcs 2.5.1 #20

Closed danimalweb closed 8 years ago

danimalweb commented 8 years ago

I updated my composer deps yesterday and the exclude path passed in to gulp.src no longer works.

return gulp.src(['**/*.php', '!vendor/**/*.*', '!tests/**/*.*'])

Rolling back to php 2.5.0 fixes my issue. Let me know if you need any more details.

After looking in to this a bit more it looks like autload.php is now passed if found and this causes undefined function calls in my gulp taks.

https://github.com/squizlabs/PHP_CodeSniffer/pull/833

Probably not a issue with this plugin. Closing.