phpmd
phpmd copied to clipboard
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measure...
- PHPMD version: 2.10.1snapshot202105111723 - PHP Version: 7.4.20 - Installation type: phar file - Operating System / Distribution & Version: Ubuntu 21.04 ### Current Behavior Error messages, including this one:...
- PHPMD version: 2.9.1 - PHP Version: 7.4 - Installation type: (composer) - Operating System / Distribution & Version: (Ubuntu) ### Current Behavior ```php return array_map([$this, 'myPrivateMethod'], $array); ``` I...
## Description [ISO/IEC 25010:2011](https://www.iso.org/standard/35733.html) is an industry standard for code maintainability, it is often set as a sales requirement for software that it must live up to this standard. There...
## Description Currently the only way to ignore warnings/errors detected by PHPMD is by adding an annotation in the code file. (Like proposed in #515 and #180.) I would really...
- PHPMD version: 2.8.1 / 2.8.1snapshot202002241446 - PHP Version: 7.4.8 (both) - Installation type: composer / phar - Operating System / Distribution & Version: Windows 10 Also tested on `2.8.1`...
## Description In the HTML Report, you can click on "Show Details" and it lists every line with an error. It would be good to also incude which rule is...
- PHPMD version: 2.9.1 - PHP Version: 7.4.10 - Installation type: composer - Operating System / Distribution & Version: Windows 10 / Linux ### Current Behavior I'm trying to use...
- PHPMD version: 2.9.1 - PHP Version: 7.4.10 - Installation type: composer - Operating System / Distribution & Version: Alpine Linux in Docker Next step for #829 ### Current Behavior...
Does PHPMD have a check for php files that are using short tag form?
## Description Hello, it would be awesome if you could enforce your own rules to your own code, because people could then have a look at it for reference. I...