collection-crud/.php-cs-fixer.dist.php

23 lines
495 B
PHP
Raw Normal View History

2022-03-03 10:19:01 -05:00
<?php declare(strict_types=1);
use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use PhpCsFixer\Finder;
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var');
$overrides = [
'blank_line_after_opening_tag' => false,
'linebreak_after_opening_tag' => false,
'declare_strict_types' => true,
'elseif' => false,
];
$options = [
'finder' => $finder,
];
return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects();