Skip to content

Skip abstract classes in ForbiddenStaticClassConstFetchRule - #324

Merged
TomasVotruba merged 1 commit into
mainfrom
skip-abstract-static-const-fetch
Sep 25, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
skip-abstract-static-const-fetch

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Abstract classes use static::CONST on purpose, to let child classes override the constant value. The rule now skips them.

@TomasVotruba
TomasVotruba merged commit 1ec5882 into main Sep 25, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the skip-abstract-static-const-fetch branch September 25, 2026 10:30
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