Closed devatrox closed 8 years ago
Hi! Sorry for the late answer there were too many tasks in my TODO list.
I reproduce your problem at Win 7 and played with it for a while. It turns that you use wrong path separator in windows. The correct bin
option is:
{
bin: (require('os').type() == 'Windows_NT' ? 'vendor\\bin\\phpcs.bat' : 'vendor/bin/phpcs')
}
(notice slashes \\
in path)
At the same time, I'm not sure why the plugin does not warn about the problem. I need more time to investigate the reason why there is no warning.
That solved it. Thank you!
You're welcome. It seems that I finally found a solution for resolving phpcs bin and will release it soon.
I'm on Win7
This is the relevant Gulp stuff:
Also when I use phpcs.reporter('log') it just prints out a bunch of
[15:03:11] PHP Code Sniffer found a problem in {filename}
without telling me what exactly is wrong.