Skip to content

Commit

Permalink
fix: update PHPStan baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 1, 2025
1 parent de2b6b4 commit 2f4b3b3
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ parameters:
path: src/CartConditions/PaymentFee.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:coveredArea\\(\\)\\.$#"
message: "#^Result of static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderTypeIsDelivery\\(\\) \\(void\\) is used\\.$#"
count: 1
path: src/CartConditions/Tax.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderTypeIsDelivery\\(\\)\\.$#"
message: "#^Undefined variable\\: \\$deliveryCharge$#"
count: 1
path: src/CartConditions/Tax.php

Expand Down Expand Up @@ -390,16 +390,6 @@ parameters:
count: 1
path: src/Http/Controllers/Orders.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:current\\(\\)\\.$#"
count: 1
path: src/Http/Middleware/CartMiddleware.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:getId\\(\\)\\.$#"
count: 1
path: src/Http/Middleware/CartMiddleware.php

-
message: "#^Call to an undefined static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:check\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -650,11 +640,6 @@ parameters:
count: 1
path: src/Models/MenuOption.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:currentOrAssigned\\(\\)\\.$#"
count: 1
path: src/Models/MenuOption.php

-
message: "#^Access to an undefined property Igniter\\\\Cart\\\\Models\\\\MenuOptionValue\\:\\:\\$name\\.$#"
count: 1
Expand Down Expand Up @@ -1091,7 +1076,7 @@ parameters:
path: src/OrderTypes/Collection.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderType\\(\\)\\.$#"
message: "#^Result of static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderType\\(\\) \\(void\\) is used\\.$#"
count: 1
path: src/OrderTypes/Collection.php

Expand All @@ -1101,11 +1086,6 @@ parameters:
path: src/OrderTypes/Delivery.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:coveredArea\\(\\)\\.$#"
count: 1
path: src/OrderTypes/Delivery.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderType\\(\\)\\.$#"
message: "#^Result of static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderType\\(\\) \\(void\\) is used\\.$#"
count: 1
path: src/OrderTypes/Delivery.php

0 comments on commit 2f4b3b3

Please sign in to comment.