Create custom rule for <?php language_attributes(); ?>

Hey @smileBeda,

Regarding the missing lang attribute rule (S5254) combined with language_attributes(), the issue is already tracked in this ticket as it was already reported in this thread.

Unfortunately, for now, there is no better solution than marking the findings as false positives, or creating a custom quality profile (as you might have already done), and deactivating the rule in it. Same for the title tag rule.

Best,
Karim.