This commit is contained in:
29
.php-cs-fixer.dist.php
Normal file
29
.php-cs-fixer.dist.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
'@Symfony' => true,
|
||||
'@Symfony:risky' => true,
|
||||
'@PSR12' => true,
|
||||
'@PHP81Migration' => true,
|
||||
'@PHP80Migration:risky' => true,
|
||||
'@PHPUnit84Migration:risky' => true,
|
||||
'ordered_imports' => true,
|
||||
'phpdoc_line_span' => [
|
||||
'const' => 'single',
|
||||
'method' => 'single',
|
||||
'property' => 'single',
|
||||
],
|
||||
'php_unit_test_case_static_method_calls' => true,
|
||||
'phpdoc_to_comment' => false,
|
||||
])
|
||||
->setRiskyAllowed(true)
|
||||
->setFinder(
|
||||
PhpCsFixer\Finder::create()
|
||||
->in([
|
||||
__DIR__,
|
||||
])
|
||||
->ignoreUnreadableDirs()
|
||||
);
|
||||
Reference in New Issue
Block a user