Skip to content

Commit

Permalink
[PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan …
Browse files Browse the repository at this point in the history
…1.11 (#5888)
  • Loading branch information
samsonasik committed May 16, 2024
1 parent b938e07 commit 2deccac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ parameters:
scanFiles:
- src/Contract/PhpParser/Node/StmtsAwareInterface.php

checkGenericClassInNonGenericObjectType: false

excludePaths:
- '*tests/*/Fixture/*'
Expand All @@ -46,6 +45,8 @@ parameters:
- src/functions

ignoreErrors:
-
identifier: missingType.generics
-
message: '#Class cognitive complexity is \d+, keep it under \d+#'
paths:
Expand Down

0 comments on commit 2deccac

Please sign in to comment.