-
-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Milestone
Description
- 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
- Be sure that there isn't already an issue about this. See: Issues list I saw a past issue closed, from a couple versions ago. The code has significantly changed since then.
- Be sure that there isn't already a pull request about this. See: Pull requests
- I have added every step to reproduce the bug.
- If possible I added relevant code examples.
- This issue is about 1 bug and nothing more.
- The issue has a descriptive title. For example: "JSON rendering failed on Windows for filenames with space".
Metadata
Metadata
Assignees
Labels
No labels