A super easy PHP Framework for web development!
https://github.com/exacti/phacil-framework
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
799 B
20 lines
799 B
<?php
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'@Symfony:risky' => true,
|
|
'@PHPUnit75Migration:risky' => true,
|
|
'php_unit_dedicate_assert' => ['target' => '5.6'],
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'php_unit_fqcn_annotation' => true,
|
|
'no_unreachable_default_argument_value' => false,
|
|
'braces' => ['allow_single_line_closure' => true],
|
|
'heredoc_to_nowdoc' => false,
|
|
'ordered_imports' => true,
|
|
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
|
|
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
|
|
])
|
|
->setRiskyAllowed(true)
|
|
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
|
|
;
|
|
|