Update phpstan.neon.dist for branch 20.0 (#31795)

* Update phpstan.neon.dist

* Update phpstan.yml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE 2024-11-13 15:26:29 +01:00 committed by GitHub
parent 6a89a906e0
commit 072683ffe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: phpstan, cs2pr
tools: phpstan:1, cs2pr
extensions: calendar, json, imagick, gd, zip, mbstring, intl, opcache, imap,
mysql, pgsql, sqlite3, ldap, xml, mcrypt

View file

@ -25,9 +25,9 @@ parameters:
- htdocs/support/*
analyse:
- htdocs/includes/*
checkAlwaysTrueCheckTypeFunctionCall: false
checkAlwaysTrueInstanceof: false
checkAlwaysTrueStrictComparison: false
# checkAlwaysTrueCheckTypeFunctionCall: false
# checkAlwaysTrueInstanceof: false
# checkAlwaysTrueStrictComparison: false
checkClassCaseSensitivity: true
checkFunctionArgumentTypes: false
checkFunctionNameCase: true
@ -62,7 +62,7 @@ parameters:
- '#.*phan-var-force #'
internalErrorsCountLimit: 50
cache:
nodesByFileCountMax: 512
# nodesByFileCountMax: 512
nodesByStringCountMax: 512
reportUnmatchedIgnoredErrors: false
universalObjectCratesClasses: