We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1caf0 commit d4ac7b8Copy full SHA for d4ac7b8
.php_cs.dist
@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+$finder = PhpCsFixer\Finder::create()
4
+ ->in([
5
+ __DIR__.'/src',
6
+ __DIR__.'/tests',
7
+ ])
8
+;
9
10
+return PhpCsFixer\Config::create()
11
+ ->setRules([
12
+ '@Symfony' => true,
13
+ 'binary_operator_spaces' => [
14
+ 'align_equals' => false,
15
+ 'align_double_arrow' => true,
16
+ ],
17
+ 'array_syntax' => ['syntax' => 'short'],
18
+ 'cast_spaces' => false,
19
+ 'linebreak_after_opening_tag' => true,
20
+ 'ordered_imports' => true,
21
+ 'phpdoc_add_missing_param_annotation' => ['only_untyped' => false],
22
+ 'phpdoc_order' => true,
23
+ 'yoda_style' => null,
24
25
+ ->setFinder($finder)
26
0 commit comments