Add PHPStan rule to check for test attributes

Closes #3556315

Merge request reports

Loading