Skip to content

Commit

Permalink
build: replace deprecated PHPstan configuration option
Browse files Browse the repository at this point in the history
The configuration option 'checkGenericClassInNonGenericObjectType' was
deprecated. Replaced it with the recommended ignoreErrors option
'identifier: missingType.generics'.

Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
  • Loading branch information
stelgenhof committed Nov 23, 2024
1 parent 063ac8c commit 1bcb176
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ parameters:
-
message: '#Comparison operation "<=" between [0-9]+ and int<[0-9]+, max> is always true.#'
path: src/Yasumi/Provider/Turkey.php
checkGenericClassInNonGenericObjectType: false
-
identifier: missingType.generics
reportUnmatchedIgnoredErrors: true # Do not allow outdated errors in the baseline
treatPhpDocTypesAsCertain: false
tipsOfTheDay: false

0 comments on commit 1bcb176

Please sign in to comment.