mirror of
https://github.com/elyby/php-code-style.git
synced 2024-11-25 16:28:51 +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);
|