From 45a2e872bf315ef16115fc295766746e996f7627 Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Thu, 25 Jul 2024 21:20:53 +0100 Subject: [PATCH] Update phpstan baseline Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- phpstan-baseline.neon | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 19fd68d..4cd07b3 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -125,11 +125,6 @@ parameters: count: 2 path: src/Http/Controllers/Reservations.php - - - message: "#^Call to an undefined static method Igniter\\\\User\\\\Models\\\\Customer\\:\\:findOrFail\\(\\)\\.$#" - count: 1 - path: src/Http/Controllers/Reservations.php - - message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:current\\(\\)\\.$#" count: 1 @@ -265,11 +260,41 @@ parameters: count: 1 path: src/Models/Observers/DiningTableObserver.php + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$customer\\.$#" + count: 4 + path: src/Models/Observers/ReservationObserver.php + + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$customer_id\\.$#" + count: 1 + path: src/Models/Observers/ReservationObserver.php + + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$email\\.$#" + count: 1 + path: src/Models/Observers/ReservationObserver.php + + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$first_name\\.$#" + count: 1 + path: src/Models/Observers/ReservationObserver.php + + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$last_name\\.$#" + count: 1 + path: src/Models/Observers/ReservationObserver.php + - message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$location\\.$#" count: 1 path: src/Models/Observers/ReservationObserver.php + - + message: "#^Access to an undefined property Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:\\$telephone\\.$#" + count: 1 + path: src/Models/Observers/ReservationObserver.php + - message: "#^Call to an undefined method Igniter\\\\Reservation\\\\Models\\\\Reservation\\:\\:tables\\(\\)\\.$#" count: 1