13 lines
271 B
PHP
13 lines
271 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()->in('src', 'tests');
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@PSR12' => true,
|
|
'strict_param' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
])
|
|
->setFinder($finder)
|
|
;
|
|
|