summaryrefslogtreecommitdiff
path: root/.php_cs.dist
diff options
context:
space:
mode:
Diffstat (limited to '.php_cs.dist')
-rw-r--r--.php_cs.dist12
1 files changed, 12 insertions, 0 deletions
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 @@
+<?php
+$finder = PhpCsFixer\Finder::create()
+ ->notPath('vendor')
+ ->in(__DIR__);
+
+return PhpCsFixer\Config::create()
+ ->setRules([
+ '@PSR1' => true,
+ '@PSR2' => true,
+ ])
+ ->setFinder($finder)
+;