Files
UNIT3D-Community-Edition/phpstan.neon
Roardom fdbf5650b7 update: remove torrentSearch, TmdbPersonCredit from phpstan excludePaths
Take 2. Last time the errors were adjusted but the config wasn't actually touched (#5213).
2026-02-22 07:13:32 +00:00

35 lines
1.2 KiB
Plaintext

includes:
- ./vendor/calebdw/larastan/extension.neon
- ./vendor/calebdw/larastan-livewire/extension.neon
#- ./vendor/tomasvotruba/bladestan/config/extension.neon
- ./phpstan-baseline.neon
parameters:
tmpDir: .phpstan.cache
paths:
- app
- bootstrap
- config
- database
- lang
- public
- resources
- routes
excludePaths:
- app/Helpers/Markdown.php
- app/Helpers/MarkdownExtra.php
- bootstrap/cache
level: 7
checkOctaneCompatibility: true
ignoreErrors:
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<App\\Models\\Torrent\>\:\:searchable\(\)\.$#'
identifier: method.notFound
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany\<App\\Models\\Torrent, [a-zA-Z0-9\\_\\\\, ]+\>\:\:searchable\(\)\.$#'
identifier: method.notFound
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Torrent, [a-zA-Z0-9\\_]+\>\:\:searchable\(\)\.$#'
identifier: method.notFound
-
identifier: nullsafe.neverNull