From e8b93c3ee67f9043b74b66c154a96d023f146574 Mon Sep 17 00:00:00 2001 From: woon Date: Fri, 17 Nov 2023 17:06:25 +0800 Subject: [PATCH] first commit --- config.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config.php 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) +;