Skip to content

Fix intermittent MissingMethodImplementationRuleTest error#6066

Closed
staabm wants to merge 1 commit into
phpstan:2.2.xfrom
staabm:fix222
Closed

Fix intermittent MissingMethodImplementationRuleTest error#6066
staabm wants to merge 1 commit into
phpstan:2.2.xfrom
staabm:fix222

Conversation

@staabm

@staabm staabm commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

SimpleXMLElement started implementing RecursiveIterator with PHP8.0, see https://www.php.net/SimpleXMLElement

phpstorm-stubs define class SimpleXMLElement implements Traversable, ArrayAccess, Countable, Iterator, Stringable, RecursiveIterator unconditionally of php-version.

see also AI description in #6059

closes phpstan/phpstan#14964

@staabm

staabm commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

hmm actually this makes me think that #6059 is indeed the correct fix

@staabm staabm closed this Jul 19, 2026
@staabm
staabm deleted the fix222 branch July 19, 2026 07:19
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.

CI intermittent

1 participant