phpmd icon indicating copy to clipboard operation
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...

Results 186 phpmd issues
Sort by recently updated
recently updated
newest added

- PHPMD version: 2.15.0 - PHP Version: 8.3.16 - Installation type: PHAR via PHIVA - Operating System / Distribution & Version: Ubuntu 24.04 ### Current Behavior ``` Downloading https://github.com/phpmd/phpmd/releases/download/2.15.0/phpmd.phar Downloading...

## Description For example if used : ```php /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ ``` on class but later some of the object were removed, but developer forgor to remove this supress...

- PHPMD version: latest - PHP Version: 7.4 - Installation type: composer - Operating System / Distribution & Version: Linux ### Example Having ```php usort($history, [__CLASS__, '_sortHistoryByTimestamp']); ``` and ```php...

## Description now the pmd cli has a lot of optional arguments, such as: minimumpriority, reportfile, strict. it causes the command too long. the `phpunit.xml` is a good example: ```...

- PHPMD version: `3.x-dev 38b0de1` - PHP Version: 8.3.13 - Installation type: Composer - Operating System / Distribution & Version: MacOS 14.4.1 ### Current Behavior ``` FILE: /Users/Me/Desktop/my-org/my-project/src/php/Page.php --------------------------------------------------------------- 101...

- PHPMD version: 2.15.0 - PHP Version: 8.4.8 - Installation type: composer - Operating System / Distribution & Version: Ubuntu 24.04.2 LTS ### Current Behavior The ShortVariable rule does not...