grumphp icon indicating copy to clipboard operation
grumphp copied to clipboard

[BUG?] Return empty trace for phpmd task

Open palakaccorin opened this issue 3 years ago • 1 comments

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: image

palakaccorin avatar Aug 16 '22 12:08 palakaccorin

Thanks for reporting @palakaccorin. I cannot reproduce with current information.

Can you provide some additional info?

  • You can run grumphp with the -vvv flag. 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?

veewee avatar Aug 26 '22 06:08 veewee

Closing this one because of inactivity If the issue still persists - feel free to reopen and provide some additional context.

veewee avatar Mar 17 '23 13:03 veewee