File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 77/stubs
88.phpunit.result.cache
99/.vscode
10- .php_cs .cache
10+ .php-cs-fixer .cache
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ use PhpCsFixer \Config ;
4+
5+ $ finder = PhpCsFixer \Finder::create ()
6+ ->in ('lib ' )
7+ ->in ('tests ' )
8+ ->exclude ([
9+ 'Workspace ' ,
10+ 'Integration/Composer/project '
11+ ])
12+ ;
13+
14+ return (new Config ())
15+ ->setRiskyAllowed (true )
16+ ->setRules ([
17+ '@PSR2 ' => true ,
18+ 'no_unused_imports ' => true ,
19+ 'array_syntax ' => ['syntax ' => 'short ' ],
20+ 'void_return ' => true ,
21+ 'ordered_class_elements ' => true ,
22+ 'single_quote ' => true ,
23+ 'heredoc_indentation ' => true ,
24+ 'global_namespace_import ' => true ,
25+ ])
26+ ->setFinder ($ finder )
27+ ;
28+
Original file line number Diff line number Diff line change 2020 "phpunit/phpunit" : " ^9.0" ,
2121 "symfony/filesystem" : " ^4.2 || ^5.0" ,
2222 "phpspec/prophecy-phpunit" : " ^2.0" ,
23- "symfony/var-dumper" : " ^6.0"
23+ "symfony/var-dumper" : " ^6.0 || ^5.0 "
2424 },
2525 "extra" : {
2626 "branch-alias" : {
You can’t perform that action at this time.
0 commit comments