framework/phpstan.neon
Sami Mazouz 5820a16a96
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>
2023-06-21 14:31:24 +01:00

41 lines
1.1 KiB
Plaintext

includes:
- php-packages/phpstan/extension.neon
parameters:
level: 6
paths:
- framework/core/src
- extensions/akismet/src
- extensions/akismet/extend.php
- extensions/approval/src
- extensions/approval/extend.php
- extensions/flags/src
- extensions/flags/extend.php
- extensions/likes/src
- extensions/likes/extend.php
- extensions/lock/src
- extensions/lock/extend.php
- extensions/mentions/src
- extensions/mentions/extend.php
- extensions/nicknames/src
- extensions/nicknames/extend.php
- extensions/package-manager/src
- extensions/package-manager/extend.php
- extensions/pusher/src
- extensions/pusher/extend.php
- extensions/statistics/src
- extensions/statistics/extend.php
- extensions/sticky/src
- extensions/sticky/extend.php
- extensions/subscriptions/src
- extensions/subscriptions/extend.php
- extensions/suspend/src
- extensions/suspend/extend.php
- extensions/tags/src
- extensions/tags/extend.php
excludePaths:
- *.blade.php
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
databaseMigrationsPath: ['framework/core/migrations']