moodlehq / moodle-cs

Moodle Coding Style

Home Page:https://github.com/moodlehq/moodle-cs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New sniff: Non abstract test classes should be declared final

andrewnicols opened this issue · comments

MDL-80927 is one example of what we want to fix.

We should make all test classes (not cases) final, unless they are abstract.

Note that this is really similar to #74 , so surely once this is closed, that one should too.