Skip to content

Allow multiple class-likes in test case file in ForbiddenMultipleClassLikeInOneFileRule - #322

Merged
TomasVotruba merged 1 commit into
mainfrom
allow-multiple-class-like-in-test-file
Sep 25, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
allow-multiple-class-like-in-test-file

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Skip symplify.multipleClassLikeInFile in test files (*Test.php, *TestCase.php, *Context.php) via TestClassDetector, as tests often keep small helper stubs next to the test class.

@TomasVotruba
TomasVotruba merged commit 91975b0 into main Sep 25, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the allow-multiple-class-like-in-test-file branch September 25, 2026 09:57
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