PHP-CS is an open-source tool that can enforce, and detect violations of, PHP coding styles. With predefined rules, it allows you to have a strict coding style that is enforced by the tool so that you can spend time on more important things.

#php

Sharing PHP-CS-Fixer rules across projects and teams
1.55 GEEK