From 2381c52c690342f773a7cfa500387b6bfad76952 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Thu, 30 Apr 2020 09:38:05 +0200 Subject: Automatic code formatting Also add git hooks that checks formatting --- .php_cs.dist | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .php_cs.dist (limited to '.php_cs.dist') diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 0000000..314dfd7 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,12 @@ +notPath('vendor') + ->in(__DIR__); + +return PhpCsFixer\Config::create() + ->setRules([ + '@PSR1' => true, + '@PSR2' => true, + ]) + ->setFinder($finder) +; -- cgit v1.2.3-54-g00ecf