Since PSR-2 is deprecated consider switching to PSR-12 See also: - https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide-meta.md#5-changelog-from-psr-2 - https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4502 - https://github.com/karriereat/php-code-quality/pull/9