File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 10
10
11
11
return (new PhpCsFixer \Config ())
12
12
->setRiskyAllowed (true )
13
+ ->setCacheFile (__DIR__ . '/.php-cs-fixer.cache ' )
13
14
->setRules ([
14
15
'@PSR2 ' => true ,
15
16
'@DoctrineAnnotation ' => true ,
Original file line number Diff line number Diff line change 4
4
/.php_cs.cache
5
5
/.build /reports
6
6
/.build /.cache
7
+ /.build /* .cache
Original file line number Diff line number Diff line change 83
83
" @test-php-functional-coverage"
84
84
],
85
85
"php-stan" : " phpstan analyse -c .build/phpstan.neon" ,
86
- "php-cs" : " php-cs-fixer fix --config .build/php-cs-rules.php --ansi --verbose --diff --dry-run" ,
86
+ "php-cs" : [
87
+ " @putenv PHP_CS_FIXER_IGNORE_ENV=1" ,
88
+ " php-cs-fixer fix --config .build/php-cs-rules.php --ansi --verbose --diff --dry-run"
89
+ ],
87
90
"php-fix" : " php-cs-fixer fix --config .build/php-cs-rules.php --ansi" ,
88
91
"test-php-unit" : " phpunit -c .build/phpunit-unit.xml --no-coverage" ,
89
92
"test-php-functional" : " phpunit -c .build/phpunit-functional.xml --no-coverage" ,
You can’t perform that action at this time.
0 commit comments