mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Update PHP-CS-Fixer cache path and add PHPStan command
Changed the cache path in `.php-cs-fixer.dist.php` to improve organization by moving it to the `var` directory. Added a new Composer script for running PHPStan to streamline static analysis workflows.
This commit is contained in:
parent
21ac3eaab4
commit
aa26e67f6f
@ -25,7 +25,7 @@ $config = new PhpCsFixer\Config();
|
|||||||
$config
|
$config
|
||||||
->setFinder($finder)
|
->setFinder($finder)
|
||||||
->setRiskyAllowed(true)
|
->setRiskyAllowed(true)
|
||||||
->setCacheFile('.cache/php-cs-fixer.cache')
|
->setCacheFile('var/php-cs-fixer.cache')
|
||||||
->setUsingCache(true)
|
->setUsingCache(true)
|
||||||
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
|
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
|
||||||
;
|
;
|
||||||
|
@ -160,7 +160,8 @@
|
|||||||
"cache:clear": "symfony-cmd",
|
"cache:clear": "symfony-cmd",
|
||||||
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
||||||
},
|
},
|
||||||
"php-cs-fixer": "php-cs-fixer fix --config=./.php-cs-fixer.dist.php --show-progress=none"
|
"php-cs-fixer": "php-cs-fixer fix --config=./.php-cs-fixer.dist.php --show-progress=none",
|
||||||
|
"phpstan": "phpstan --no-progress"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user