Skip to content

Commit 4cb784c

Browse files
committed
chore: update php-cs-fixer config
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 1de05ac commit 4cb784c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.php_cs renamed to .php-cs-fixer.dist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
22

3-
$config = PhpCsFixer\Config::create()
3+
$config = (new PhpCsFixer\Config())
44
->setIndent(" ")
55
->setLineEnding("\n")
6-
->setCacheFile(__DIR__ . '/.php_cs.cache')
6+
->setCacheFile(__DIR__ . '/.php-cs-fixer.cache')
77
->setRiskyAllowed(true)
88
->setRules([
99
'@PHP71Migration' => true,
1010
'@PHP73Migration' => false,
1111
'@PhpCsFixer' => true,
1212
'@PhpCsFixer:risky' => true,
13-
'@PSR2' => true,
13+
'@PSR12' => true,
1414
'@Symfony' => true,
1515
'@Symfony:risky' => true,
1616
'align_multiline_comment' => true,

0 commit comments

Comments
 (0)