mainlycode / coding-standards
This package is abandoned and no longer maintained.
No replacement package was suggested.
Coding standard configuration for MainlyCode PHP projects using fabpot/php-cs-fixer
1.2.0
2016-06-21 09:15 UTC
Requires
- friendsofphp/php-cs-fixer: ^1.11
This package is auto-updated.
Last update: 2023-10-29 02:21:22 UTC
README
Coding standard configuration for MainlyCode PHP projects using fabpot/php-cs-fixer
Installation
$ composer require mainlycode/coding-standards
Examples
Only check for coding standard violations:
$ ./vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=vendor/mainlycode/coding-standard/.php_cs
Fix coding standard violations:
$ ./vendor/bin/php-cs-fixer fix --diff --config-file=vendor/mainlycode/coding-standard/.php_cs