Skip to content

Commit 57fbbf8

Browse files
committed
Mute expected PHPStan issue in tests
1 parent b53dbc3 commit 57fbbf8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ parameters:
4040
message: '#^Call to an undefined method Doctrine\\DBAL\\Types\\Type::requiresSQLCommentHint\(\)\.#'
4141
paths:
4242
- tests/Doctrine/CarbonTypesTest.php
43+
-
44+
message: '#^Instantiated class Doctrine\\DBAL\\Platforms\\MySQL57Platform not found\.#'
45+
paths:
46+
- tests/Doctrine/CarbonTypesTest.php
4347
excludePaths:
4448
- '*/src/Carbon/Laravel/ServiceProvider.php'
4549
- '*/src/Carbon/PHPStan/*'

0 commit comments

Comments
 (0)