innmind / coding-standard
2.0.1
2022-11-14 10:40 UTC
Requires
- php: ~8.0
- friendsofphp/php-cs-fixer: ~3.13
Requires (Dev)
- vimeo/psalm: ~4.0
This package is auto-updated.
Last update: 2024-10-14 14:42:49 UTC
README
This project contains the coding standard rules for the Innmind organization.
Installation
composer require --dev innmind/coding-standard
Usage
Create a file .php_cs.dist
at the root of the repository with the following content:
<?php return \Innmind\CodingStandard\CodingStandard::config(['src', 'tests']);
You can then run vendor/bin/php-cs-fixer fix
to fix the code.