We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dffdc71 commit 1462a32Copy full SHA for 1462a32
.gitignore
@@ -1,7 +1,8 @@
1
vendor/
2
composer.lock
3
phpunit.xml
4
-.php_cs.cache
+.php-cs-fixer.cache
5
+.php-cs-fixer.php
6
.phpunit.result.cache
7
composer.phar
8
package.tar
.php_cs.dist renamed to .php-cs-fixer.dist.php
@@ -4,7 +4,7 @@
exit(0);
}
-return PhpCsFixer\Config::create()
+return (new PhpCsFixer\Config())
->setRules([
9
'@PHP71Migration' => true,
10
'@PHPUnit75Migration:risky' => true,
@@ -14,7 +14,7 @@
14
])
15
->setRiskyAllowed(true)
16
->setFinder(
17
- PhpCsFixer\Finder::create()
+ (new PhpCsFixer\Finder())
18
->in(__DIR__.'/src')
19
->append([__FILE__])
20
->notPath('#/Fixtures/#')
@@ -39,4 +39,5 @@
39
->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php')
40
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
41
)
42
+ ->setCacheFile('.php-cs-fixer.cache')
43
;
0 commit comments