2
0
forked from Wavyzz/dolibarr

Fix phpstan workflow file (#28741)

* Fix phpstan workflow file

# Fix phpstan workflow file

Line was split in two, joined

* qual: set memory limit to 'unlimited' (-1)

* Remove some stubs to check impact

* Fix: Verify execution time limit

* Remove stub files to reuse cache

* Qual: Rename distribution phpstan.neon to phpstan.neon.dist

# Qual: Rename distribution phpstan.neon to phpstan.neon.dist

This allows the developer to override some settings locally

Also update the .gitignore file with phpstan.neon and some other other
ignores (cache, local log files, temporary edit files).

* Enable debug on phpstan

* Re-enable stubs

* Fix: Change parallel settings to defaults, remove buffer

'buffer' is not a documented parameter, removing it.
Removing some configuration settings as the defaults are higher and
should adapt better to the target machine
This commit is contained in:
MDW
2024-03-11 14:04:02 +01:00
committed by GitHub
parent b72cf193c4
commit ec0fd31386
3 changed files with 25 additions and 16 deletions

18
.gitignore vendored
View File

@@ -66,8 +66,21 @@ doc/install.lock
/composer.json
/composer.lock
# to execute pre-commit
local.sh
# Local script, executed during pre-commit
/local.sh
# Local phpstan configuration
/phpstan.neon
/phpstan-baseline.neon
# Logs
/*.log
# Vim swap files
*.sw?
# Generated by PHPUNIT.BAT
/INI_PHPUNIT
# ignore cache builds
/build/phpstan/phpstan
@@ -75,3 +88,4 @@ local.sh
phpstan_custom.neon
/.php-cs-fixer.cache
/.php_cs.cache
/.cache