innmind / coding-standard
Installs: 105 890
Dependents: 99
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/innmind/coding-standard
Requires
- php: ~8.0
- friendsofphp/php-cs-fixer: ~3.57
Requires (Dev)
- vimeo/psalm: ~4.0
This package is auto-updated.
Last update: 2025-09-16 16:56:14 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.