flashbyteltd/coding-style

Sets up common coding styles for all Flash Byte Ltd projects

0.1.3 2023-09-06 08:09 UTC

This package is auto-updated.

Last update: 2024-04-11 09:57:00 UTC


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.

  1. Install this composer package into the project:
composer require --dev flashbyteltd/coding-style
  1. Run the coding-style-init script:
vendor/bin/coding-style-init
  1. Run Pint in dry run mode to test it is working correctly:
composer cstest
  1. Run Pint to test it is working correctly (this will update your PHP files):
composer cs