We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4cfae commit 63c80c1Copy full SHA for 63c80c1
.php_cs
@@ -0,0 +1,30 @@
1
+<?php
2
+
3
+$finder = PhpCsFixer\Finder::create()
4
+ ->in(__DIR__)
5
+ ->ignoreDotFiles(true)
6
+ ->ignoreVCS(true)
7
+ ->exclude(array('build', 'vendor'))
8
+ ->files()
9
+ ->name('*.php')
10
+;
11
+return PhpCsFixer\Config::create()
12
+ ->setUsingCache(true)
13
+ ->setRiskyAllowed(true)
14
+ ->setFinder($finder)
15
+ ->setRules(array(
16
+ '@Symfony' => true,
17
+ '@Symfony:risky' => true,
18
+ 'array_syntax' => array('syntax' => 'short'),
19
+ 'binary_operator_spaces' => array(
20
+ 'align_double_arrow' => false,
21
+ ),
22
+ 'combine_consecutive_unsets' => true,
23
+ 'no_useless_else' => true,
24
+ 'no_useless_return' => true,
25
+ 'ordered_imports' => true,
26
+ 'php_unit_strict' => true,
27
+ 'phpdoc_summary' => false,
28
+ 'strict_comparison' => true,
29
+ ))
30
0 commit comments