becklyn/php-cs

Config files for PHP code style

5 2020-05-12 10:53 UTC

README

Installation

Installation should be done via the composer-bin-plugin.

composer bin test require --dev becklyn/php-cs 

Now run your tools like this:

Usage

PHP CS Fixer

./vendor/bin/php-cs-fixer fix --dry-run --diff --config vendor-bin/test/vendor/becklyn/php-cs/.php_cs.dist
./vendor/bin/phpstan -c vendor-bin/test/vendor/becklyn/php-cs/phpstan/lib.neon

Composer Normalize

Composer normalize needs the composer normalize plugin.

Versioning

This package doesn't use semantic versioning, but it always releases a major version.