Skip to content

Remove NoMockOnlyTestRule as not relevant to check - #365

Merged
TomasVotruba merged 1 commit into
mainfrom
remove-no-mock-only-rule
Oct 13, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
remove-no-mock-only-rule

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Removes NoMockOnlyTestRule and its tests. The rule flagged tests whose properties are all mocks, but having only mocked properties is not a reliable signal of a weak test, so the check is dropped.

Also removes the now-unused SymfonyClass::VALIDATOR_TEST_CASE constant (only this rule referenced it) and the README section.

@TomasVotruba
TomasVotruba merged commit b2e0e9d into main Oct 13, 2026
9 checks passed
@TomasVotruba
TomasVotruba deleted the remove-no-mock-only-rule branch October 13, 2026 20:28
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