- PHPMD version: 2.10.2snapshot202107221018
- PHP Version: 7.4.3
- Installation type: (phar file)
- Operating System / Distribution & Version: (Windows 10)
Current Behavior
When issuing the following command:
php phpmd.phar ./ng/backend xml codesize --exclude 'vendor' --reportfile 'phpmd_results.xml'
After about 20 seconds I receive the following message:
No node to visit provided for visitAnonymousClass
Also, the result file phpmd_results.xml is empty.
Expected Behavior
After some time, the phpmd_results.xml would contain the results.
Steps To Reproduce:
From within my project directory, use the following command to get phpmd:
$ wget -c https://phpmd.org/static/latest/phpmd.phar
Then issue the command above for phpmd to analyse the code.
Checks before submitting
Current Behavior
When issuing the following command:
php phpmd.phar ./ng/backend xml codesize --exclude 'vendor' --reportfile 'phpmd_results.xml'After about 20 seconds I receive the following message:
No node to visit provided for visitAnonymousClassAlso, the result file phpmd_results.xml is empty.
Expected Behavior
After some time, the phpmd_results.xml would contain the results.
Steps To Reproduce:
From within my project directory, use the following command to get phpmd:
$ wget -c https://phpmd.org/static/latest/phpmd.pharThen issue the command above for phpmd to analyse the code.
Checks before submitting