ChromaticHQ / usher

Custom Robo commands for use on PHP projects.
https://packagist.org/packages/chromatic/usher
11 stars 6 forks source link

PHPStan configuration value deprecated: checkMissingIterableValueType #212

Open markdorison opened 3 months ago

markdorison commented 3 months ago

Description

The PHPStan configuration value checkMissingIterableValueType has been deprecated:

  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

Proposed Solution

"Remove it from your configuration file and add the missing array typehints."

Alternatives Considered

"Add missingType.iterableValue error identifier to ignoreErrors."