From 8fc51518536f3a7caca06ac03259f5df6bd906cf Mon Sep 17 00:00:00 2001 From: DQNEO Date: Tue, 16 Apr 2019 02:09:33 +0900 Subject: [PATCH] Add a php_cs config file to apply a declared policy automatically --- .php_cs.dist | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .php_cs.dist diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 00000000..32f7d0fb --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,13 @@ +in(__DIR__ . '/src') + ->in(__DIR__ . '/tests') +; + +return PhpCsFixer\Config::create() + ->setRules([ + '@PSR2' => true, + 'array_syntax' => ['syntax' => 'short'], + ]) + ->setFinder($finder) +;