getch/.php-cs-fixer.dist.php

16 lines
277 B
PHP
Raw Normal View History

2020-12-22 14:19:32 -08:00
<?php
2024-07-18 12:34:40 -07:00
use PhpCsFixer\Config;
2020-12-22 14:19:32 -08:00
$finder = PhpCsFixer\Finder::create()
2024-07-18 12:34:40 -07:00
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
2020-12-22 14:19:32 -08:00
;
2024-07-18 12:34:40 -07:00
return (new Config())
2020-12-22 14:19:32 -08:00
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;