Fix phpstan failures.
There's some minor phpstan failures in the CI for this project. As they're just in settings assets used by composer, which already specify that phpcs should ignore them, I'm going to mark them as ignored by phpstan too.
Additionally, the phpcs ignores use different syntaxes, one of which is deprecated, so I'll standardise them.
issue