Skip to content

Commit 1bcb176

Browse files
committed
build: replace deprecated PHPstan configuration option
The configuration option 'checkGenericClassInNonGenericObjectType' was deprecated. Replaced it with the recommended ignoreErrors option 'identifier: missingType.generics'. Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
1 parent 063ac8c commit 1bcb176

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phpstan.neon.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ parameters:
77
-
88
message: '#Comparison operation "<=" between [0-9]+ and int<[0-9]+, max> is always true.#'
99
path: src/Yasumi/Provider/Turkey.php
10-
checkGenericClassInNonGenericObjectType: false
10+
-
11+
identifier: missingType.generics
1112
reportUnmatchedIgnoredErrors: true # Do not allow outdated errors in the baseline
1213
treatPhpDocTypesAsCertain: false
1314
tipsOfTheDay: false

0 commit comments

Comments
 (0)