Skip to content

Commit 8a023bb

Browse files
committed
Changed php_cs config file
1 parent c225eef commit 8a023bb

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.php_cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
return PhpCsFixer\Config::create()
44
->setRiskyAllowed(false)
55
->setRules([
6-
'@Symfony' => true,
7-
'array_syntax' => ['syntax' => 'short'],
8-
'ordered_imports' => true,
9-
'protected_to_private' => false,
10-
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading
11-
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
12-
// custom
13-
'phpdoc_separation' => false,
14-
'phpdoc_align' => false,
15-
'phpdoc_no_alias_tag' => false,
16-
'array_indentation' => true,
6+
'@PSR2' => true,
177
])
188
->setUsingCache(true)
199
->setFinder(

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
</rule>
66

77
<file>src/</file>
8+
<file>resources/</file>
89
<file>tests/</file>
910
</ruleset>

0 commit comments

Comments
 (0)