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.
2 parents 2ff502f + fc38615 commit 5c3e952Copy full SHA for 5c3e952
.php_cs.dist
@@ -1,19 +1,17 @@
1
<?php
2
3
-/*
4
- * Configuration for friendsofphp/php-cs-fixer
5
- *
6
- * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
7
- */
8
-
9
-$finder = PhpCsFixer\Finder::create()
10
- ->in('src')
11
- ->in('tests')
12
-;
13
-return PhpCsFixer\Config::create()
+$config = PhpCsFixer\Config::create()
+ ->setRiskyAllowed(true)
14
->setRules([
15
'@Symfony' => true,
16
'@Symfony:risky' => true,
17
])
18
- ->setRiskyAllowed(true)
19
- ->setFinder($finder);
+ ->setFinder(
+ PhpCsFixer\Finder::create()
+ ->in(__DIR__.'/src')
+ ->in(__DIR__.'/tests')
+ ->name('*.php')
+ )
+;
+
+return $config;
.styleci.yml
@@ -4,6 +4,3 @@ finder:
path:
- "src"
- "tests"
-enabled:
- - short_array_syntax
0 commit comments