innmind/coding-standard
2.2.0
2025-01-16 15:27 UTC
Requires
- php: ~8.0
- friendsofphp/php-cs-fixer: ~3.57
Requires (Dev)
- vimeo/psalm: ~4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT b36f5256fce1cd9d7fd5a19263d52545dcf851a0
- Baptiste Langlade <langlade.baptiste.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-15 13:18:15 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.
