diff --git a/composer.json b/composer.json index ef57a14..0ad0acf 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 870bf20..8e8936f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -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