Skip to content

Commit

Permalink
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 Jun 8, 2024
1 parent e2ff2c5 commit 4630b3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"require-dev": {
"laravel/pint": "^1.2",
"nunomaduro/larastan": "^2.4.0",
"orchestra/testbench": "^8.5",
"larastan/larastan": "^2.4.0",
"orchestra/testbench": "^9.0",
"pestphp/pest-plugin-laravel": "^2.0"
},
"autoload": {
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Illuminate\\\\Support\\\\Carbon\\:\\:diffInRealHours\\(\\)\\.$#"
count: 1
path: src/AutomationRules/Conditions/ReservationAttribute.php

-
message: "#^Access to an undefined property DateTime\\:\\:\\$timestamp\\.$#"
count: 1
Expand Down

0 comments on commit 4630b3e

Please sign in to comment.