diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index eb9f265124..a2baa0c1a3 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -3402,18 +3402,31 @@ parameters: count: 1 path: app/Http/Controllers/Reports/CustomComponentReportController.php + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:onlyTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Reports/CustomConsumableReportController.php + - message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withTrashed\(\)\.$#' identifier: method.notFound count: 1 path: app/Http/Controllers/Reports/CustomComponentReportController.php + - + message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\:\:withTrashed\(\)\.$#' + identifier: method.notFound + count: 1 + path: app/Http/Controllers/Reports/CustomConsumableReportController.php + - message: '#^Called ''env'' outside of the config directory which returns null when the config is cached, use ''config''\.$#' identifier: larastan.noEnvCallsOutsideOfConfig count: 1 path: app/Http/Controllers/Reports/CustomComponentReportController.php + - message: '#^Access to an undefined property App\\Models\\Asset\:\:\$assigned\.$#' identifier: property.notFound