innmind/coding-standard

1.1.0 2021-01-10 10:30 UTC

This package is auto-updated.

Last update: 2021-09-10 12:08:35 UTC


README

Build Status

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.