.php-cs-fixer.php
<?php
// see https://github.com/FriendsOfPHP/PHP-CS-Fixer
$finder = (new PhpCsFixer\Finder())
->in([__DIR__.'/src', __DIR__.'/tests'])
;
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP81Migration' => true,
'@PHPUnit84Migration:risky' => true,
'declare_strict_types' => false,
'native_function_invocation' => ['include' => ['@all']],
])
->setFinder($finder)
;