diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 439f428..5c34876 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -125,41 +125,11 @@ parameters: count: 1 path: src/Listeners/UpdatePaymentIntentSessionOnCheckout.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$data\\.$#" - count: 2 - path: src/Models/Observers/PaymentObserver.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$is_primary\\.$#" - count: 1 - path: src/Models/Observers/PaymentProfileObserver.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$class_name\\.$#" - count: 4 - path: src/Models/Payment.php - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$gatewayManager\\.$#" count: 1 path: src/Models/Payment.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$payment_id\\.$#" - count: 2 - path: src/Models/Payment.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$customer_id\\.$#" - count: 1 - path: src/Models/Payment.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$payment_id\\.$#" - count: 1 - path: src/Models/Payment.php - - message: "#^Access to an undefined property Igniter\\\\User\\\\Models\\\\Customer\\:\\:\\$customer_id\\.$#" count: 2 @@ -195,76 +165,11 @@ parameters: count: 2 path: src/Models/Payment.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$created_at\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_success\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$message\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$order_id\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$payment_code\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$payment_name\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$refunded_at\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$request\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$response\\.$#" - count: 1 - path: src/Models/PaymentLog.php - - message: "#^Unsafe usage of new static\\(\\)\\.$#" count: 1 path: src/Models/PaymentLog.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$customer_id\\.$#" - count: 2 - path: src/Models/PaymentProfile.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$payment_profile_id\\.$#" - count: 1 - path: src/Models/PaymentProfile.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$profile_data\\.$#" - count: 2 - path: src/Models/PaymentProfile.php - - message: "#^Call to an undefined static method Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:applyCustomer\\(\\)\\.$#" count: 2 @@ -315,11 +220,6 @@ parameters: count: 1 path: src/Payments/AuthorizeNetAim.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Payments/AuthorizeNetAim.php - - message: "#^Call to an undefined method Igniter\\\\Cart\\\\Models\\\\Order\\:\\:payment_logs\\(\\)\\.$#" count: 2 @@ -350,11 +250,6 @@ parameters: count: 1 path: src/Payments/Mollie.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Payments/Mollie.php - - message: "#^Call to an undefined method Igniter\\\\Flame\\\\Database\\\\Model\\:\\:findPaymentProfile\\(\\)\\.$#" count: 1 @@ -400,11 +295,6 @@ parameters: count: 1 path: src/Payments/PaypalExpress.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Payments/PaypalExpress.php - - message: "#^Access to an undefined property Igniter\\\\Cart\\\\Models\\\\Order\\:\\:\\$customer\\.$#" count: 2 @@ -450,26 +340,6 @@ parameters: count: 1 path: src/Payments/Square.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Payments/Square.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$card_brand\\.$#" - count: 1 - path: src/Payments/Square.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$card_last4\\.$#" - count: 1 - path: src/Payments/Square.php - - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentProfile\\:\\:\\$profile_data\\.$#" - count: 2 - path: src/Payments/Square.php - - message: "#^Cannot call method getCardBrand\\(\\) on array\\.$#" count: 1 @@ -550,21 +420,11 @@ parameters: count: 1 path: src/Payments/Stripe.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$code\\.$#" - count: 2 - path: src/Payments/Stripe.php - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\Payment\\:\\:\\$order_status\\.$#" count: 2 path: src/Payments/Stripe.php - - - message: "#^Access to an undefined property Igniter\\\\PayRegister\\\\Models\\\\PaymentLog\\:\\:\\$is_refundable\\.$#" - count: 1 - path: src/Payments/Stripe.php - - message: "#^Call to an undefined method Igniter\\\\Cart\\\\Models\\\\Order\\:\\:payment_logs\\(\\)\\.$#" count: 2