.php-cs-fixer.php
<?php
$finder = PhpCsFixer\Finder::create()
->notPath('vendor')
->in(__DIR__)
->name("*.php")
->ignoreDotFiles(true)
->ignoreVCS(true)
;
$config = new \PhpCsFixer\Config();
return $config
->setRules([
'@PSR12' => true,
//'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => ['sort_algorithm' => 'alpha'],
'no_unused_imports' => true,
])
->setFinder($finder);