moodlehq / moodle-cs

Moodle Coding Style
https://github.com/moodlehq/moodle-cs
GNU General Public License v3.0
18 stars 16 forks source link

New sniff: Non abstract test classes should be declared final #102

Closed andrewnicols closed 9 months ago

andrewnicols commented 9 months ago

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

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

stronk7 commented 9 months ago

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