-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan.neon
20 lines (20 loc) · 1.03 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
paths:
- ../../../app
excludePaths:
# MarketSquare
- ../../../app/App/Console/Playbooks
- ../../../app/App/Nova/*
level: 8
ignoreErrors:
- '#is not allowed to extend#'
- '#Constructor in ([\w\\]+) has parameter ([\$\w]+) with default value.#'
- '#Method ([\w\\\:_\(\)]+) has parameter ([\$\w]+) with a nullable type declaration.#'
- '#Method ([\w\\\:_\(\)]+) has parameter ([\$\w]+) with null as default value.#'
- '#has a nullable return type declaration.#'
- '#Dynamic call to static method Illuminate\\Database\\Eloquent\\((Builder|Relations|Model)+[\w\\\:\(\)\<\>]+).#'
- '#Method ([\w\\]+(Livewire|Components)+[\w\\\:\(\)\<\>]+\:\:rules\(\)) is protected, but since the containing class is final, it can be private.#'
- '#Access to an undefined property Spatie\\Activitylog\\Models\\Activity.#'
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false