comparison .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
comparison
equal deleted inserted replaced
7:769a17898cc0 8:4216c0dc638c
1 <?php
2
3 $finder = PhpCsFixer\Finder::create()
4 ->in(__DIR__)
5 ->exclude('.hg')
6 ;
7
8 $config = new PhpCsFixer\Config();
9 return $config->setRules([
10 '@Symfony' => true,
11 'full_opening_tag' => false,
12 ])
13 ->setFinder($finder)
14 ;