1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 09:57:06 +02:00

chore: increase phpstan level to 6 (#3836)

* chore: increase phpstan level to 6

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* Apply fixes from StyleCI

---------

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Sami Mazouz
2023-06-21 14:31:24 +01:00
committed by GitHub
parent 4a966b830f
commit 5820a16a96
84 changed files with 228 additions and 189 deletions

View File

@@ -2,7 +2,7 @@ includes:
- php-packages/phpstan/extension.neon
parameters:
level: 5
level: 6
paths:
- framework/core/src
- extensions/akismet/src
@@ -36,4 +36,5 @@ parameters:
excludePaths:
- *.blade.php
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
databaseMigrationsPath: ['framework/core/migrations']