Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Commit 44d5ccd

Browse files
committed
Update CS fixer config
1 parent e115011 commit 44d5ccd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.php_cs.dist

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ return PhpCsFixer\Config::create()
55
'@Symfony' => true,
66
'@Symfony:risky' => true,
77
'@PHPUnit75Migration:risky' => true,
8-
'array_syntax' => array('syntax' => 'short'),
9-
'protected_to_private' => false,
8+
'php_unit_dedicate_assert' => ['target' => '5.6'],
9+
'array_syntax' => ['syntax' => 'short'],
10+
'php_unit_fqcn_annotation' => true,
11+
'no_unreachable_default_argument_value' => false,
12+
'braces' => ['allow_single_line_closure' => true],
13+
'heredoc_to_nowdoc' => false,
14+
'ordered_imports' => true,
15+
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
16+
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
1017
])
1118
->setRiskyAllowed(true)
19+
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
1220
;

0 commit comments

Comments
 (0)