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