Stable
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use PhpCsFixer\Config;
|
||||
use PhpCsFixer\Finder;
|
||||
|
||||
$finder = Finder::create()
|
||||
->in(__DIR__ . '/src')
|
||||
->name('*.php')
|
||||
->exclude('vendor');
|
||||
|
||||
return (new Config())
|
||||
->setRules([
|
||||
'@PSR12' => true,
|
||||
'declare_strict_types' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'strict_comparison' => true,
|
||||
'strict_param' => true,
|
||||
])
|
||||
->setFinder($finder);
|
||||
Reference in New Issue
Block a user