Skip to content

Bump class-leak to ^2.3.3, remove stale and redundant class-leak skips - #8588

Merged
TomasVotruba merged 2 commits into
mainfrom
remove-stale-class-leak-skips
Oct 10, 2026
Merged

TomasVotruba merged 2 commits into
mainfrom
remove-stale-class-leak-skips

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Trims the "Active Classes" class-leak step from 19 --skip-type entries down to 5.

  • 2 stale skips removed: the SingleServiceRegistrationRule test fixtures (DuplicateRegistrationFactory, SingleRegistrationFactory) no longer exist.
  • 9 interface skips removed: class-leak 2.3.3 treats constructor docblock collections such as @param TypeMapperInterface[] $typeMappers as injected, which covers every one of them.
  • Constraint bumped to tomasvotruba/class-leak: ^2.3.3.

Verified locally with 2.3.3 installed: [OK] All services are used.

The remaining 5 skips are a different kind (a class used only in scoper.php, one used only in .neon, test fixtures loaded by file path, and BinaryOpConditionsCollector, which is only used in tests).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BeUiuxXmYgChK2jkSHJYLi

rector-bot and others added 2 commits October 10, 2026 10:24
…le fixtures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeUiuxXmYgChK2jkSHJYLi
…ck collection detection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeUiuxXmYgChK2jkSHJYLi
@TomasVotruba TomasVotruba changed the title Remove stale class-leak skips for deleted SingleServiceRegistrationRule fixtures Bump class-leak to ^2.3.3, remove stale and redundant class-leak skips Oct 10, 2026
@TomasVotruba
TomasVotruba merged commit 1e278a1 into main Oct 10, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the remove-stale-class-leak-skips branch October 10, 2026 10:49
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