grumphp
grumphp copied to clipboard
[BUG?] Return empty trace for phpmd task
| Q | A |
|---|---|
| Version | 1.13.0 |
| Bug? | yes |
| New feature? | no |
| Question? | no |
| Documentation? | no |
| Related tickets | comma-separated list of related tickets |
My configuration
# grumphp.yml
phpmd:
ruleset: ['./dev/tests/static/testsuite/Magento/Test/Php/_files/phpmd/ruleset.xml']
triggered_by: [ 'php' ]
exclude: ['dev','vendor','generated','var','lib','update','bin','pub','setup','.docker','phpserver','scripts','docker']
metadata:
priority: 900
Steps to reproduce:
./vendor/bin/grumphp run
Result:

Thanks for reporting @palakaccorin. I cannot reproduce with current information.
Can you provide some additional info?
- You can run grumphp with the
-vvvflag. This will give you the command that is being executed. (maybe best to create a grumphp file with only phpmd). You can manually run this command to see what the status code and output of this command is. - What version of php, phpmd, ... are you using?
- Do you always get this error - or only in specific scenarios
- ...
Would it be possible to provide a repository that produces the isolated issue without the other tasks?
Closing this one because of inactivity If the issue still persists - feel free to reopen and provide some additional context.