add the config file

This commit is contained in:
Shish 2021-12-14 18:33:53 +00:00
parent 3d9e32e919
commit 5f771c0138
1 changed files with 19 additions and 0 deletions

19
.php-cs-fixer.dist.php Normal file
View File

@ -0,0 +1,19 @@
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('ext/amazon_s3/lib')
->exclude('vendor')
->exclude('data')
->in(__DIR__)
;
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
//'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;
?>