PHPStan 2.0 (#269)

* Rename to phpstan.dist.neon

* PHPStan 2.0
And update to PHP 8.1+

* Update CI

* Minor analyseAndScan
This commit is contained in:
Alexandre Alapetite 2025-01-12 11:05:16 +01:00 committed by GitHub
parent fecfe37e1c
commit 15d66caafb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 326 additions and 316 deletions

View file

@ -1,5 +1,8 @@
parameters:
level: 0
phpVersion:
min: 80100 # PHP 8.1
max: 80499 # PHP 8.4
level: 0 # https://phpstan.org/user-guide/rule-levels
fileExtensions:
- php
- phtml
@ -9,13 +12,13 @@ parameters:
excludePaths:
analyse:
- ../FreshRSS
- third-party/*/vendor/*
- third-party/*/vendor/*?
analyseAndScan:
- .git/
- node_modules/
- symbolic/
- third-party/*/tests/*
- tmp/
- .git/*?
- node_modules/*?
- symbolic/*?
- third-party/*/tests/*?
- tmp/*?
- vendor/
- xExtension-*
dynamicConstantNames: