diff --git a/tools/phpstan.baseline.neon b/tools/phpstan.baseline.neon index 8a30b62..2c0e7d4 100644 --- a/tools/phpstan.baseline.neon +++ b/tools/phpstan.baseline.neon @@ -2,29 +2,14 @@ parameters: ignoreErrors: - message: "#^Cannot call method modify\\(\\) on DateTimeImmutable\\|false\\.$#" - count: 2 - path: ../src/FrozenClock.php - - - - message: "#^Cannot call method setTimezone\\(\\) on DateTimeImmutable\\|false\\.$#" count: 1 path: ../src/FrozenClock.php - - - message: "#^Property Orisai\\\\Clock\\\\FrozenClock\\:\\:\\$dt \\(DateTimeImmutable\\) does not accept \\(DateTimeImmutable\\|false\\)\\.$#" - count: 4 - path: ../src/FrozenClock.php - - message: "#^Cannot call method setTimezone\\(\\) on DateTimeImmutable\\|false\\.$#" count: 1 path: ../src/MeasurementClock.php - - - message: "#^Method Orisai\\\\Clock\\\\MeasurementClock\\:\\:now\\(\\) should return DateTimeImmutable but returns \\(DateTimeImmutable\\|false\\)\\.$#" - count: 1 - path: ../src/MeasurementClock.php - - message: "#^Parameter \\#1 \\$now of class Symfony\\\\Component\\\\Clock\\\\MockClock constructor expects DateTimeImmutable\\|string, DateTimeImmutable\\|false given\\.$#" count: 2