WPTT / theme-sniffer

Theme Sniffer plugin using sniffs.
MIT License
270 stars 3 forks source link

Fix/provide extensions #141

Closed timelsass closed 5 years ago

timelsass commented 5 years ago

This fix sets the used file extensions in the phpcs runner. The initial runner is set to always include php/inc/css/js - so passing in the check_php_only we can set the extensions in the runner to only check php. For testing $runner->config can be error logged before and after patch.