-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathphpstan.neon
More file actions
29 lines (25 loc) · 947 Bytes
/
Copy pathphpstan.neon
File metadata and controls
29 lines (25 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#includes:
# - phpstan-baseline.neon
parameters:
tmpDir: null
level: 3
paths:
- Modules/
excludePaths:
analyse:
- */Http/*
ignoreErrors:
- '#Access to an undefined property#'
- '#Access to an undefined static property#'
- '#Call to an undefined method#'
- '#Call to an undefined static method#'
- '#Call to method .* on an unknown class .*#'
- '#Call to static method .* on an unknown class Filament#'
- '#Constructor of class .* has an unused parameter#'
- '#Instantiated class .* not found#'
- '#Attribute class .* does not exist#'
# Filament v5 schema/component classes not resolvable by phpstan
- '#Call to static method make\(\) on an unknown class Filament.*#'
# Optional: Add other common ignores here if needed
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false