Closed marinaglancy closed 5 months ago
Just noting that the problem is not the "customisation" in the first line, that continues being allowed as it was, so far.
Instead, the problem is the "extra" boilerplate text after the official one. And the lack of one blank like after the official part (line 16).
I think that what we should do is to:
SingleTrailingNewLine
after the extra boilerplate (instead of current "in the middle" behaviour). Ciao :-)
Note that https://github.com/moodlehq/moodle-cs/pull/169 has been created and, hopefully, fixes this.
Hello! We have a problem with the new moodle-cs
this fails on every single file in workplace because we have a boilerplate that includes workplace clause
our boilerplates look like this and it was perfectly fine before, passed all cs checks. We modified the first line - that this is part of Moodle Workplace and not Moodle and also added our own text in the bottom