redaxo / php-cs-fixer-config
php-cs-fixer config for REDAXO
Installs: 61 782
Dependents: 7
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 1
Open Issues: 4
Requires
- php: ^8.1
- friendsofphp/php-cs-fixer: 3.56.1
- kubawerlos/php-cs-fixer-custom-fixers: 3.21.0
README
PHP-CS-Fixer config for REDAXO
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) ;