2020-07-31 12:56:32 +02:00
|
|
|
parameters:
|
2025-01-03 15:53:10 +01:00
|
|
|
scanFiles:
|
2025-01-03 19:07:29 +01:00
|
|
|
- ../_ide_helper
|
2025-01-03 15:53:10 +01:00
|
|
|
paths:
|
|
|
|
- ../app
|
|
|
|
- ../database
|
|
|
|
- ../routes
|
|
|
|
- ../config
|
|
|
|
- ../bootstrap/app.php
|
2023-10-29 17:41:14 +01:00
|
|
|
universalObjectCratesClasses:
|
|
|
|
- Illuminate\Database\Eloquent\Model
|
2023-11-05 10:16:53 +01:00
|
|
|
# TODO: slowly remove these parameters and fix the issues found.
|
2025-01-04 19:43:58 +01:00
|
|
|
reportUnmatchedIgnoredErrors: true
|
2020-07-31 15:12:26 +02:00
|
|
|
ignoreErrors:
|
2023-11-05 10:16:53 +01:00
|
|
|
# TODO: slowly remove these exceptions and fix the issues found.
|
2025-01-03 15:53:10 +01:00
|
|
|
- '#Dynamic call to static method#' # all the Laravel ORM things depend on this.
|
|
|
|
- identifier: varTag.nativeType
|
|
|
|
- identifier: varTag.type
|
2025-01-19 19:07:19 +01:00
|
|
|
-
|
|
|
|
identifier: larastan.noEnvCallsOutsideOfConfig
|
|
|
|
path: ../app/Console/Commands/System/CreatesDatabase.php
|
2025-01-04 09:34:17 +01:00
|
|
|
- identifier: missingType.iterableValue # not interesting enough to fix.
|
|
|
|
- identifier: missingType.generics # not interesting enough to fix.
|
2025-01-04 19:25:43 +01:00
|
|
|
- "#Parameter \\#[1-2] \\$num[1-2] of function bc[a-z]+ expects numeric-string, [a-z\\-|&]+ given#"
|
|
|
|
- '#expects view-string, string given#'
|
|
|
|
- '#expects view-string\|null, string given#'
|
2025-01-04 07:10:37 +01:00
|
|
|
|
|
|
|
# phpstan can't handle this so we ignore them.
|
2025-01-03 19:07:29 +01:00
|
|
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::before#'
|
|
|
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::after#'
|
|
|
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::withTrashed#'
|
|
|
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::accountTypeIn#'
|
|
|
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\BelongsTo::withTrashed#'
|
2020-07-31 12:56:32 +02:00
|
|
|
|
2020-07-31 15:12:26 +02:00
|
|
|
# The level 8 is the highest level. original was 5
|
2023-12-02 07:05:34 +01:00
|
|
|
# 7 is more than enough, higher just leaves NULL things.
|
2025-01-04 19:25:43 +01:00
|
|
|
level: 7
|
2022-12-31 15:54:55 +01:00
|
|
|
|