Open giorgio79 opened 6 years ago
Hi, currently only files with the "php" extension are supported. Should be doable though to make the extension configurable, I'll mark this as enhancement and try to add it in a following version.
If you can provide configuration for options on the phpmd
command, then we can use the --suffixes
option, which lets you set module,php,inc,theme
etc:
--suffixes: comma-separated string of valid source code filename extensions, e.g. php,phtml
phpmd is not running if the file extension is not php
Drupal has some peculiarities like naming files x.module
We even have https://marketplace.visualstudio.com/items?itemName=marcostazi.VS-code-drupal
Can we get phpmd to work with module files in vs code?