moodlehq / moodle-cs

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

Make the TodoComment Sniff to require a complete regex (start, end delimiters) #141

Open stronk7 opened 5 months ago

stronk7 commented 5 months ago

While working on a new release of the moodle-plugin-ci including the latest version of moodle-cs, it has been detected that there is a small discordance between the TodoComment sniff (and its commentRequiredRegex property/config) and the FileExpectedTags (and its preferredLicenseRegexproperty/config):

I think that the later is better, so this issue is about to change the former to also require a complete regex with delimiters.