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 f15f98e commit 2b55c50
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 @@ -36,6 +36,10 @@ parameters:
message: '#^Variable \$this in isset\(\) is never defined\.$#'
paths:
- src/Carbon/Traits/Mixin.php
-
message: '#^Call to an undefined method Doctrine\\DBAL\\Types\\Type::requiresSQLCommentHint\(\)\.#'
paths:
- tests/Doctrine/CarbonTypesTest.php
excludePaths:
- '*/src/Carbon/Laravel/ServiceProvider.php'
- '*/src/Carbon/PHPStan/*'
Expand Down

0 comments on commit 2b55c50

Please sign in to comment.