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.
1 parent 5f4d8e9 commit a0e305bCopy full SHA for a0e305b
.php_cs renamed to .php_cs.dist
@@ -1,15 +1,14 @@
1
<?php
2
3
-return Symfony\CS\Config\Config::create()
4
- ->setUsingLinter(false)
5
- ->setUsingCache(true)
6
- ->fixers(array(
7
- 'long_array_syntax',
8
- 'php_unit_construct',
9
- 'php_unit_dedicate_assert',
+return PhpCsFixer\Config::create()
+ ->setRules(array(
+ '@Symfony' => true,
+ '@Symfony:risky' => true,
+ 'array_syntax' => array('syntax' => 'long'),
10
))
11
- ->finder(
12
- Symfony\CS\Finder\DefaultFinder::create()
+ ->setRiskyAllowed(true)
+ ->setFinder(
+ PhpCsFixer\Finder::create()
13
->in(__DIR__)
14
->exclude(array(
15
// directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
0 commit comments