flashbyteltd / coding-style
Sets up common coding styles for all Flash Byte Ltd projects
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Language:Shell
Requires
- laravel/pint: 1.13.0
README
Stores shared rules for coding style across all projects.
Usage
PHP Projects: Laravel Pint
Note: There should not be a pint.json
in your project.
- Install this composer package into the project:
composer require --dev flashbyteltd/coding-style
- Run the
coding-style-init
script:
vendor/bin/coding-style-init
- Run Pint in dry run mode to test it is working correctly:
composer cstest
- Run Pint to test it is working correctly (this will update your PHP files):
composer cs