Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPStan configuration value deprecated: checkMissingIterableValueType #212

Closed
markdorison opened this issue May 28, 2024 · 1 comment
Closed
Assignees

Comments

@markdorison
Copy link
Contributor

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."

@apotek
Copy link
Contributor

apotek commented Oct 31, 2024

This was fixed in #222

@apotek apotek closed this as completed Oct 31, 2024
@apotek apotek self-assigned this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants