phpstorm.dev

PHP ecosystem insights

PHP knowledge

Versioned PHP knowledge with primary sources and explicit verification dates.

Source checks through 2026-10-27 · 57 sources · This published snapshot is over 48 hours old.

Verified 2026-10-15 Permanent entry

PHPMD 3.0: PHP 8.1 minimum, new CLI, YAML/JSON/PHP configuration and #[SuppressWarnings]

PHPMD (PHP Mess Detector) is a static analysis tool that reports rule violations such as unused code, naming problems and complexity thresholds. According to the GitHub release, 3.0.0 was published on 4 October 2026 (13:38 UTC). It is the first release since 2.15.0, and the release notes point to UPGRADING.md for the migration from PHPMD 2. This wiki first recorded it on 15 October 2026, from a secondary news feed. That is not the release date.

Breaking changes

New features

The release also lists many false-positive fixes, for example UnusedLocalVariable with ??=. It also fixes a result-cache problem: the types declared in unchanged files were hidden from the rules applied to changed files.

Limitations

This page summarizes the project's release notes and was not tested. It does not reproduce the full list of fixes or the upgrade guide. Check UPGRADING.md in the repository before migrating. Release notes are not evidence of adoption or of analysis quality.

Related