File tree Expand file tree Collapse file tree 4 files changed +18
-29
lines changed Expand file tree Collapse file tree 4 files changed +18
-29
lines changed Original file line number Diff line number Diff line change 66/.env
77
88# PHP CS Fixer
9- /.php_cs .cache
9+ /.php-cs-fixer .cache
1010
1111# PHPUnit
1212/build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3939 "sebastian/exporter" : " <2.0.0"
4040 },
4141 "require-dev" : {
42- "friendsofphp/php-cs-fixer" : " ^2.0 " ,
42+ "friendsofphp/php-cs-fixer" : " ^2.19 || ^3.22 " ,
4343 "matthiasnoback/symfony-dependency-injection-test" : " ^3.0 || ^4.0" ,
4444 "symfony/console" : " ^4.4 || ^5.0 || ^6.0" ,
4545 "symfony/phpunit-bridge" : " ^4.4 || ^5.0 || ^6.0" ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ $ finder = PhpCsFixer \Finder::create ()
4+ ->notPath ('vendor ' )
5+ ->in (__DIR__ )
6+ ;
7+
8+ return (new PhpCsFixer \Config ())
9+ ->setRules ([
10+ '@Symfony ' => true ,
11+ 'array_syntax ' => ['syntax ' => 'short ' ],
12+ 'yoda_style ' => false ,
13+ 'no_superfluous_phpdoc_tags ' => false ,
14+ ])
15+ ->setFinder ($ finder )
16+ ;
You can’t perform that action at this time.
0 commit comments