mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
Imo, this is a bad rule. Although it is correct in that ?? will shortcircuit any null checks, I strongly prefer it being explicit as to which properties in the chain are nullable and which aren't. In fact, I wish we could enforce explit ?-> over -> when the property is nullable so that it's obvious which properties are null or not.
37 lines
1.3 KiB
Plaintext
37 lines
1.3 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
|
|
- app/Http/Livewire/PersonCredit.php
|
|
- app/Http/Livewire/TorrentSearch.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
|