Files
urbackup/ecs.php
T
mariano 1dc84aa5eb Stable
2026-05-20 09:20:27 +02:00

22 lines
436 B
PHP

<?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);