1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00
Pterodactyl-Panel/phpstan.neon
2022-12-14 18:41:39 -07:00

27 lines
655 B
Plaintext

includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app/
# Level 9 is the highest level
level: 4
ignoreErrors:
# Ignore repository interface missing methods
- '#Call to an undefined method Pterodactyl\\Repositories\\Wings\\DaemonRepository::(\w+)\(\)#'
# Ignore magic spatie calls
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::allowed(\w+)\(\)#'
excludePaths:
- app/Repositories
# More magic spatie to be replaced
- app/Extensions/Spatie/Fractalistic/Fractal.php
#
# checkMissingIterableValueType: false