Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Aug 1, 2024
1 parent 63538b2 commit a50f4f7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tools/phpstan.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a50f4f7

Please sign in to comment.