From b2e91089d3f7515607d83008eb881e408050e148 Mon Sep 17 00:00:00 2001 From: synox Date: Mon, 11 Mar 2019 19:43:39 +0700 Subject: [PATCH] update standards --- .php_cs.dist | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .php_cs.dist diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 0000000..1ce81e9 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,15 @@ +exclude('src/backend-libs/') + ->in('src') +; + +return PhpCsFixer\Config::create() + ->setRules([ + '@PSR2' => true, + 'lowercase_constants' => true, + 'braces' => ['position_after_functions_and_oop_constructs' => 'same'] + ]) + ->setFinder($finder) +;