When using PHPCS with the Generic.WhiteSpace.ScopeIndent sniff, it tries to indent code to the level of the opening tag.
Take this example for instance (from a Wordpress