Closed mpedrummer closed 12 years ago
This needs to take into account JS and CSS files which PHP_CodeSniffer can also sniff
Hi there, I've added another configuration setting to cater for this.. Please try this out and re-open this issue if it isn't working for you
Awesome - works great!
Right now, you're using the syntax of the open buffer to determine if the actual PHPCS command should be run or not. This unfortunately breaks if you're using a custom syntax, or really, any syntax other than the built-in PHP.
Could there be a different way to determine it? File extension, perhaps? Combined with my other request, perhaps there could be a configuration setting that allows an array of file extensions for which the command will execute?
Thanks MPEDrummer