mirror of
https://github.com/elyby/php-code-style.git
synced 2024-12-22 13:09:50 +05:30
13 lines
313 B
PHP
13 lines
313 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
$finder = PhpCsFixer\Finder::create()
|
||
|
->in(__DIR__);
|
||
|
|
||
|
return Ely\CS\Config::create([
|
||
|
// Disable "parameters" and "match" to keep compatibility with PHP 7.4
|
||
|
'trailing_comma_in_multiline' => [
|
||
|
'elements' => ['arrays', 'arguments'],
|
||
|
],
|
||
|
])->setFinder($finder);
|