Skip to content

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

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

Replaces the abandoned tomasvotruba/unused-public dev dependency with its successor shipmonk/dead-code-detector.

  • swap the dev dependency; shipmonk auto-registers via phpstan/extension-installer
  • drop the unused_public: block from phpstan.neon
  • add phpstan-baseline.neon to absorb the new dead-code-detector findings - all 126 are DI-autowired service constructors reported as unused __construct, which are wired through Rector's container and not safe to delete

CI (class-leak, finalize, composer validate, phpstan, phpunit, duplicated-code) passes locally.

@TomasVotruba
TomasVotruba merged commit 11b6dd4 into main Oct 6, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the replace-unused-public-with-dead-code-detector branch October 6, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants