Skip to content

Stop ignoring offsetAccess.invalidOffset - #4871

Merged
VincentLanglet merged 1 commit into
phpstan:2.1.xfrom
VincentLanglet:invalidOffset
Feb 13, 2026
Merged

VincentLanglet merged 1 commit into
phpstan:2.1.xfrom
VincentLanglet:invalidOffset

Conversation

@VincentLanglet

Copy link
Copy Markdown
Contributor

In this case we're just using true/false as key, so they can be converted to int safely.

Comment thread src/Type/Php/VersionCompareFunctionDynamicReturnTypeExtension.php
@VincentLanglet
VincentLanglet merged commit ac46a7f into phpstan:2.1.x Feb 13, 2026
637 of 643 checks passed
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.

2 participants