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

👋 Hi, there! I like to use PHAR distributions of my Composer dependencies to minimize transitive dependencies. I see that PHPMD provides one, but only via raw download. Would you...

Build scripts
PHAR

Type: feature This PR add the exception property to the UnusedFormalParameter rule. Some classes of some frameworks, such as Laravel ApiResource, uses some parameters that arent used by the method....

Needs Tests
Needs Documentation

Type: refactoring Breaking change: no 1. Use common directory structure as seen in thousands of PHP packages 2. Use PSR-4 autoloader (namespace\\ = src/) ![image](https://github.com/phpmd/phpmd/assets/952007/e22560f5-e72f-4d5f-8a79-d5e95020627a) 🤩 What do you think...

Refactoring

In order to utilize more CPU cores, could you please add a parallel flag?

Feature

- PHPMD version: 2.13.0 - PHP Version: 8.2.6 - Installation type: composer - Operating System / Distribution & Version: Debian 11 (php docker image) ### Current Behavior When a class...

composer file used to install (latest) phpmd: ``` { "require-dev": { "phpmd/phpmd": "^2.13" }, "require": { "mi-schi/phpmd-extension": "^4.3" } } ``` ### Current Behavior ``` Trait method _ has not...

- PHPMD version: PHPMD 2.13.0snapshot202209100847 - PHP Version: 8.1.18 64bit - Installation type: PHAR - Operating System / Distribution & Version: Windows/11 ### Current Behavior An anonymous class defined in...

- PHPMD version: 2.13.0 (and pdepend 2.12.1) - PHP Version: 8.1.7 - Installation type: composer - Operating System / Distribution & Version: Alpine 3.16 (docker container) ### Current Behavior When...

Bug
PDepend
Compatibility
php8.1

- PHPMD version: 2.13.0 - PHP Version: 8.0.23 - Installation type: phive - OS: Linux Alpine 3.15 ### Current Behavior phpmd craches with the error "Unexpected token: (, ..." ###...

Bug
PDepend

- PHPMD version: 2.13.0 - PHP Version: 8.1 - Installation type: composer - Operating System / Distribution & Version: Ubuntu 22.04 ### Current Behavior ``` ``` ``` ``` This will...