Skip to content

Fix PHPStan deprecation#8248

Merged
sgiehl merged 1 commit intomatomo-org:masterfrom
liviuconcioiu:phpstan
Feb 25, 2026
Merged

Fix PHPStan deprecation#8248
sgiehl merged 1 commit intomatomo-org:masterfrom
liviuconcioiu:phpstan

Conversation

@liviuconcioiu
Copy link
Collaborator

⚠️  You're using a deprecated config option checkMissingIterableValueType ⚠️️

It's strongly recommended to remove it from your configuration file
and add the missing array typehints.

If you want to continue ignoring missing typehints from arrays,
add missingType.iterableValue error identifier to your ignoreErrors:

parameters:
        ignoreErrors:
                -
                        identifier: missingType.iterableValue

PHPStan 2 won't run:

Invalid configuration:
Unexpected item 'parameters › checkMissingIterableValueType'.

@sgiehl sgiehl enabled auto-merge (squash) February 25, 2026 12:13
@sgiehl sgiehl merged commit 72fbf3a into matomo-org:master Feb 25, 2026
19 checks passed
@liviuconcioiu liviuconcioiu deleted the phpstan branch February 25, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants