mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-09-29 12:02:04 +02:00
Adds a `make phpstan-deadcode` target and build/phpstan-deadcode.neon that layer tomasvotruba/unused-public on top of the main PHPStan setup to report unused PUBLIC methods/properties/constants. It is an on-demand audit, NOT a CI gate (expect false positives for dynamically-invoked code — routes, #[ListensTo] subscribers, CLI handlers, view templates). unused-public is a require-dev package (installed by `make dev-tools`); the committed vendor/ stays production-only.