commit e8b93c3ee67f9043b74b66c154a96d023f146574 Author: woon Date: Fri Nov 17 17:06:25 2023 +0800 first commit diff --git a/config.php b/config.php new file mode 100644 index 0000000..a54f874 --- /dev/null +++ b/config.php @@ -0,0 +1,20 @@ +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) +;