Skip to content

Add support for multiple identifiers in ignoreErrors configuration #4080

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

Open
wants to merge 1 commit into
base: 2.1.x
Choose a base branch
from

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Jul 3, 2025

  • Update parametersSchema.neon to support 'identifiers' array field
  • Modify IgnoredErrorHelper to expand identifiers array into separate rules
  • Update IgnoredError::stringifyPattern() to display multiple identifiers
  • Add comprehensive tests for identifiers array functionality
  • Update IgnoreErrorsTest to reflect new configuration entries

Resolves phpstan/phpstan#13015

🤖 Generated with Claude Code

- Update parametersSchema.neon to support 'identifiers' array field
- Modify IgnoredErrorHelper to expand identifiers array into separate rules
- Update IgnoredError::stringifyPattern() to display multiple identifiers
- Add comprehensive tests for identifiers array functionality
- Update IgnoreErrorsTest to reflect new configuration entries

Resolves #13015

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@janedbal janedbal marked this pull request as ready for review July 3, 2025 09:46
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

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

Successfully merging this pull request may close these issues.

Support multiple identifiers in ignoreErrors
2 participants