redaxo/php-cs-fixer-config

php-cs-fixer config for REDAXO

2.12.0 2024-10-21 22:32 UTC

README

Installation

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)
;