Skip to content

Commit 69cb175

Browse files
committed
Upgrade the config of php-cs-fixer to the new format
1 parent 71eed9a commit 69cb175

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/.github export-ignore
22
/.gitattributes export-ignore
33
/.gitignore export-ignore
4-
/.php_cs.dist export-ignore
4+
/.php-cs-fixer.dist.php export-ignore
55
/.travis.yml export-ignore
66
/Changelog.md export-ignore
77
/Makefile export-ignore

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.php_cs
1+
.php-cs-fixer.php
22
.php_cs.cache
33
composer.lock
44
phpunit.xml

.php_cs.dist .php-cs-fixer.dist.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
file that was distributed with this source code.
1010
EOF;
1111

12-
return PhpCsFixer\Config::create()
12+
return (new PhpCsFixer\Config())
1313
->setRules([
1414
'@Symfony' => true,
1515
'array_syntax' => ['syntax' => 'short'],

0 commit comments

Comments
 (0)