Closed roslov closed 2 years ago
The sniff can be taken here: https://github.com/matthewbdaly/abstract-or-final-sniff
See: https://github.com/slevomat/coding-standard/issues/1204
Related question: https://github.com/matthewbdaly/abstract-or-final-sniff/issues/2
My PR https://github.com/slevomat/coding-standard/pull/1306 has been merged. Probably, it will appear in v8.0.
Implemented in Slevomat Coding Standard v7.1.0.
Implemented in #23.
Add
final
to all non-abstract classes.Probably the
Entity
folder should be excluded from the search to comply the Symfony framework (under discussion).