You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove env() error pattern (not occurring)
- Fix LibraryItem type error pattern to match actual error
- Remove non-matching patterns for role, user, getEffectiveAccessControl
- PHPStan now passes with zero errors
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+1-20Lines changed: 1 addition & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -442,29 +442,10 @@ parameters:
442
442
path:src/Tables/Columns/PermissionsColumn.php
443
443
444
444
-
445
-
message:"#^Called 'env' outside of the config directory which returns null when the config is cached, use 'config'\\.$#"
446
-
count:1
447
-
path:config/filament-library.php
448
-
449
-
-
450
-
message:"#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Collection<int, Tapp\\\\FilamentLibrary\\\\Models\\\\LibraryItem>\\|Tapp\\\\FilamentLibrary\\\\Models\\\\LibraryItem\\:\\:\\$type\\.$#"
445
+
message:"#^Access to an undefined property Tapp\\\\FilamentLibrary\\\\Models\\\\LibraryItem\\:\\:\\$type\\.$#"
451
446
count:1
452
447
path:src/Middleware/RedirectToCorrectEditPage.php
453
448
454
-
-
455
-
message:"#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$role\\.$#"
456
-
count:1
457
-
path:src/Models/LibraryItem.php
458
-
459
-
-
460
-
message:"#^Access to an undefined property Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:\\$user\\.$#"
461
-
count:1
462
-
path:src/Models/LibraryItem.php
463
-
464
-
-
465
-
message:"#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:getEffectiveAccessControl\\(\\)\\.$#"
466
-
count:1
467
-
path:src/Models/LibraryItem.php
468
449
469
450
-
470
451
message:"#^Access to an undefined property Tapp\\\\FilamentLibrary\\\\Models\\\\LibraryItem\\:\\:\\$type\\.$#"
0 commit comments