Review the Sonar way profile
Manually tested !
Could you just slightly update the rule title to comply with the naming convention "Somethings should (not) ....".
Which means : "<!DOCTYPE> declarations should always appear before the <html> tag "
Okie, I'll reopen the ticket then.
Closing the ticket as only the title was bad