Skip to content

Replace tomasvotruba/unused-public with shipmonk/dead-code-detector - #73

Merged
TomasVotruba merged 2 commits into
mainfrom
replace-unused-public-with-dead-code-detector
Oct 6, 2026
Merged

TomasVotruba merged 2 commits into
mainfrom
replace-unused-public-with-dead-code-detector

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Swap the abandoned dev dependency tomasvotruba/unused-public for its maintained successor shipmonk/dead-code-detector.

  • it auto-registers via phpstan/extension-installer, so no neon include needed
  • the new rule flags DI-wired constructors as dead (false positives, since they are instantiated by the container); these are captured in a PHPStan baseline rather than deleted

@TomasVotruba
TomasVotruba force-pushed the replace-unused-public-with-dead-code-detector branch from 6455320 to 69a956d Compare October 6, 2026 08:45
@TomasVotruba
TomasVotruba merged commit e6f56ec into main Oct 6, 2026
7 checks passed
@TomasVotruba
TomasVotruba deleted the replace-unused-public-with-dead-code-detector branch October 6, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant