Mercurial > packages > magicforger
diff .php-cs-fixer.dist.php @ 8:4216c0dc638c
Added base php cs fixer added config helper to maintain config
| author | luka |
|---|---|
| date | Wed, 18 Oct 2023 21:04:32 -0400 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.php-cs-fixer.dist.php Wed Oct 18 21:04:32 2023 -0400 @@ -0,0 +1,14 @@ +<?php + +$finder = PhpCsFixer\Finder::create() + ->in(__DIR__) + ->exclude('.hg') +; + +$config = new PhpCsFixer\Config(); +return $config->setRules([ + '@Symfony' => true, + 'full_opening_tag' => false, + ]) + ->setFinder($finder) +;
