forked from tastyigniter/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
23 lines (22 loc) · 958 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
23 lines (22 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
includes:
- ./vendor/larastan/larastan/extension.neon
- phpstan-baseline.neon
parameters:
level: 5
paths:
- src
- config
- database
- resources
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#PHPDoc tag @var#'
- identifier: generics.notGeneric
- identifier: function.alreadyNarrowedType
- identifier: larastan.noEnvCallsOutsideOfConfig
- identifier: trait.unused
- '#Call to an undefined method Illuminate\\Database\\Schema\\Blueprint::dropForeignKeyIfExists#'
- '#Call to an undefined method Illuminate\\Database\\Schema\\Blueprint::dropIndexIfExists#'
- '#Return type \(Igniter\\Flame\\Database\\Relations\\[A-Za-z]+\) of method Igniter\\Flame\\Database\\Model::[a-zA-Z]+\(\) should be compatible with return type \(Illuminate\\Database\\Eloquent\\Relations\\[A-Za-z]+.*\)#'
excludePaths:
- ./src/Admin/Models/Staff.php