A CodeSniffer sniff that requires that all classes be either abstract or final

Installs: 6 980

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 2

Open Issues: 1


0.0.2 2021-02-26 21:29 UTC

This package is auto-updated.

Last update: 2022-06-27 00:23:19 UTC


PHP CodeSniffer sniff to find classes not declared as abstract or final.

Install it with composer require --dev matthewbdaly/abstract-or-final-sniff.

I recommend using phpcodesniffer-composer-installer to manage it. Then it should be available as AbstractOrFinalClassesOnly.