PHP-CS-Fixer config for REDAXO
composer require --dev redaxo/php-cs-fixer-config
Example .php-cs-fixer.dist.php
:
<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
;
return (Redaxo\PhpCsFixerConfig\Config::redaxo5()) // or `::redaxo6()`
->setFinder($finder)
;