Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/style/require-final-class

Not in any set. Unsafe fix: it can change behaviour.

What it does

All classes must be final, except abstract ones and Doctrine entities.

Configuration

[lint.rules]
"style/require-final-class" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Replaces

More lint/style rules · Edit this page

Last updated on

Was this page helpful?