Configure Shift to apply your own custom code style.
Some Laravel Shifts automatically apply code style to your application code.
Doing so improves the automation within Shift by normalizing the code between new and old versions of core files.
By default, this code style follows the Laravel framework code style. Although Shift recommends adopting this code style, it may not follow your personal code style.
Shift will detect this file and use it to apply your code style whenever it formats application code.
If you are not using one of these tools to format your code, Shift recommends using PHP CS Fixer.
.php_cs ruleset Shift uses is publicly available in a Gist. Feel free to use this as a starting point for your own customization.
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.