-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHPMD task does not check all file extensions #1098
Comments
This seems to be specific to certain file extensions - .inc is checked as expected, but |
The phpmd task currently has no support for the https://github.com/phpro/grumphp/blob/v2.x/src/Task/PhpMd.php |
As far as I can see, the changes in https://github.com/phpro/grumphp/compare/v2.x...malcomio:grumphp:extensions?expand=1 should work, but the other file types are still not being checked debugging inside
I must be missing something... |
The process building handles escaping for you per argument. You don't need to add quotes yourself. |
Thanks - they did indeed need to be separate arguments I've created #1103 with these changes relevant PHPMD docs are at https://phpmd.org/documentation/index.html
|
add extensions argument - fixes phpro#1098
My configuration
See https://github.com/malcomio/grumphp-test/blob/main/grumphp.yml
Steps to reproduce:
composer install
in the repo directoryvendor/bin/grumphp run --tasks phpmd
Expected result
Problems should be reported in
test.module
andtest.php
, as they are when running PHPMD directly with the--suffixes
flag:Actual result
Problems are only reported in
test.php
The text was updated successfully, but these errors were encountered: