Closed timelsass closed 5 years ago
Just making a note that this is another one of those things that doesn't need to apply to templates (headers have already been sent by the time the templates are output).
@timelsass Thank you for the PR!
@justintadlock Could you open a separate issue for that ? Unless and until there is a list of template files we can check filenames against to see if a rule should be applied, this shouldn't be changed as themes normally will also load other files and it does apply to those.
Definitely. I just wanted to make a note so that it'd be on the record.
Messages in
Squiz.WhiteSpace.SuperfluousWhitespace.StartFile
, andPSR2.Files.ClosingTag.NotAllowed
reference "headers already send", but should be "headers already sent". Added a missing comma forPSR2.Files.ClosingTag.NotAllowed
message as well.