Skip to content

Commit 2b55c50

Browse files
committed
Mute expected PHPStan issue in tests
1 parent f15f98e commit 2b55c50

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
@@ -36,6 +36,10 @@ parameters:
3636
message: '#^Variable \$this in isset\(\) is never defined\.$#'
3737
paths:
3838
- src/Carbon/Traits/Mixin.php
39+
-
40+
message: '#^Call to an undefined method Doctrine\\DBAL\\Types\\Type::requiresSQLCommentHint\(\)\.#'
41+
paths:
42+
- tests/Doctrine/CarbonTypesTest.php
3943
excludePaths:
4044
- '*/src/Carbon/Laravel/ServiceProvider.php'
4145
- '*/src/Carbon/PHPStan/*'

0 commit comments

Comments
 (0)