123456789101112131415161718192021222324 |
- <?php
- return PhpCsFixer\Config::create()
- ->setRules([
- '@Symfony' => true,
- '@Symfony:risky' => true,
- '@PHPUnit48Migration:risky' => true,
- 'php_unit_no_expectation_annotation' => false,
- 'array_syntax' => ['syntax' => 'short'],
- 'fopen_flags' => false,
- 'ordered_imports' => true,
- 'protected_to_private' => false,
-
- 'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced'],
-
- 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
- ])
- ->setRiskyAllowed(true)
- ->setFinder(
- PhpCsFixer\Finder::create()
- ->in(__DIR__)
- ->name('*.php')
- )
- ;
|