aboutsummaryrefslogtreecommitdiffstats
path: root/.php_cs.dist
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2017-01-08 21:17:16 +0100
committerFran├žois Kooman <fkooman@tuxed.net>2017-01-08 21:17:16 +0100
commit6c24c8625db5b310a775c9b6c881b2bef99cecb1 (patch)
treeb393617d1e1dc06a961d8b345625c8fba38df315 /.php_cs.dist
parentc44287313ec05665f4e9b2df8fb4db4ce2cb7b7e (diff)
downloadwww.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.zip
www.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.tar.gz
www.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.tar.xz
fix footer
Diffstat (limited to '.php_cs.dist')
-rw-r--r--.php_cs.dist16
1 files changed, 16 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist
new file mode 100644
index 0000000..7caac44
--- /dev/null
+++ b/.php_cs.dist
@@ -0,0 +1,16 @@
+<?php
+
+$finder = PhpCsFixer\Finder::create()
+ ->in(__DIR__)
+;
+
+return PhpCsFixer\Config::create()
+ ->setRules([
+ '@PSR2' => true,
+ '@Symfony' => true,
+ 'ordered_imports' => true,
+ 'array_syntax' => ['syntax' => 'short'],
+ 'ordered_class_elements' => true,
+ ])
+ ->setFinder($finder)
+;