Files
armel.net/.php-cs-fixer.dist.php
Armel van Ravels bb1d280731
All checks were successful
PHP Composer / build (push) Successful in 10m28s
Initial commit
2024-08-30 22:13:03 +02:00

30 lines
760 B
PHP

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