PHPCS which is internally used by the phpcs-changed allows more than .php files to be linted by default. This PR brings the default allowed extensions in phpcs-changed on par with phpcs.
The logic is a copy-paste from the phpcs, as it would validate the extensions using the very same logic again, so it should ideally work the same in both places.
PHPCS which is internally used by the phpcs-changed allows more than .php files to be linted by default. This PR brings the default allowed extensions in phpcs-changed on par with phpcs.
The logic is a copy-paste from the phpcs, as it would validate the extensions using the very same logic again, so it should ideally work the same in both places.
Fixes #27