Files
firefly-iii/.ci/phpstan.neon

33 lines
1.6 KiB
Plaintext
Raw Normal View History

parameters:
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
2025-01-04 19:43:58 +01:00
reportUnmatchedIgnoredErrors: true
2020-07-31 15:12:26 +02:00
ignoreErrors:
2025-09-07 14:28:58 +02:00
# all errors below I will never fix.
- '#expects view-string\|null, string given#'
- '#expects view-string, string given#'
- "#Parameter \\#[1-2] \\$num[1-2] of function bc[a-z]+ expects numeric-string, [a-z\\-|&]+ given#"
- identifier: missingType.generics # not interesting enough to fix.
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.
2025-09-07 14:28:58 +02:00
- identifier: varTag.type # needs a custom extension for every repository, not gonna happen.
- '#Dynamic call to static method Illuminate#'
2025-09-07 10:59:07 +02:00
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::before#' # is custom scope
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::after#' # is custom scope
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::withTrashed#' # is to allow soft delete
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\HasMany::accountTypeIn#' # is a custom scope
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\BelongsTo::withTrashed#' # is to allow soft delete
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-09-07 14:49:49 +02:00
level: 7
2022-12-31 15:54:55 +01:00