Open-SGF / gooddads

1 stars 11 forks source link

Linter ADR: Laravel Backend Code Standards (php-cs-fixer) #66

Closed jason-klein closed 2 months ago

jason-klein commented 3 months ago

This PR implements the Laravel code standards (from Laravel Pint) as a standard php-cs-fixer config file that can be used directly within the IDE to enforce code standards within the IDE.

Code Standards can also be manually applied by navigating to the project directory and running composer lint.

Alternatively, you could just add Laravel Pint to the project BUT your IDE cannot enforce the code standard rules from Laravel Pint directly since they are buried inside the Pint package.