first commit

This commit is contained in:
2023-11-17 17:06:25 +08:00
commit e8b93c3ee6
+20
View File
@@ -0,0 +1,20 @@
<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
;
return (new PhpCsFixer\Config())
->setRules([
'@PhpCsFixer'=> true,
'@PHP82Migration' => true,
'@PSR12' => true,
'@Symfony' => true,
'binary_operator_spaces' => ['operators' => ['=' => 'single_space']],
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
'align_multiline_comment' => ['comment_type' => 'all_multiline'],
'no_multiline_whitespace_around_double_arrow' => true
])
->setFinder($finder)
;