Skip to content

Commit

Permalink
Fix phpstan errors
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com>
  • Loading branch information
sampoyigi committed Jun 5, 2024
1 parent 384ccf9 commit 2754b6d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ parameters:
count: 3
path: database/migrations/2022_06_30_010000_drop_foreign_key_constraints.php

-
message: "#^Access to an undefined property Igniter\\\\Cart\\\\Models\\\\Order\\:\\:\\$model\\.$#"
count: 1
path: src/Actions/RedeemsCoupon.php

-
message: "#^Access to an undefined property Igniter\\\\Flame\\\\Database\\\\Model\\:\\:\\$order_id\\.$#"
count: 1
path: src/Actions/RedeemsCoupon.php

-
message: "#^Call to an undefined method Igniter\\\\Flame\\\\Database\\\\Model\\:\\:getOrderTotals\\(\\)\\.$#"
count: 1
path: src/Actions/RedeemsCoupon.php

-
message: "#^Access to an undefined property Igniter\\\\Coupons\\\\Models\\\\Coupon\\:\\:\\$categories\\.$#"
count: 1
Expand Down Expand Up @@ -130,6 +115,21 @@ parameters:
count: 1
path: src/Http/Controllers/Coupons.php

-
message: "#^Access to an undefined property Igniter\\\\Cart\\\\Models\\\\Order\\:\\:\\$model\\.$#"
count: 1
path: src/Models/Actions/RedeemsCoupon.php

-
message: "#^Access to an undefined property Igniter\\\\Flame\\\\Database\\\\Model\\:\\:\\$order_id\\.$#"
count: 1
path: src/Models/Actions/RedeemsCoupon.php

-
message: "#^Call to an undefined method Igniter\\\\Flame\\\\Database\\\\Model\\:\\:getOrderTotals\\(\\)\\.$#"
count: 1
path: src/Models/Actions/RedeemsCoupon.php

-
message: "#^Access to an undefined property Igniter\\\\Coupons\\\\Models\\\\Coupon\\:\\:\\$apply_coupon_on\\.$#"
count: 3
Expand Down

0 comments on commit 2754b6d

Please sign in to comment.