Skip to content

Commit

Permalink
Mute expected PHPStan issue in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Feb 5, 2024
1 parent b53dbc3 commit 57fbbf8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ parameters:
message: '#^Call to an undefined method Doctrine\\DBAL\\Types\\Type::requiresSQLCommentHint\(\)\.#'
paths:
- tests/Doctrine/CarbonTypesTest.php
-
message: '#^Instantiated class Doctrine\\DBAL\\Platforms\\MySQL57Platform not found\.#'
paths:
- tests/Doctrine/CarbonTypesTest.php
excludePaths:
- '*/src/Carbon/Laravel/ServiceProvider.php'
- '*/src/Carbon/PHPStan/*'
Expand Down

0 comments on commit 57fbbf8

Please sign in to comment.