Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Sep 9, 2024

given invalid parameters the range() function can emit warnings, as I recently experienced in #3419

see https://3v4l.org/nYbAo

there are a few cases which only emit warnings
see https://www.php.net/manual/en/function.range.php

grafik

@staabm staabm marked this pull request as ready for review September 9, 2024 13:31
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 68f6e25 into phpstan:1.12.x Sep 10, 2024
473 of 499 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the range-warn branch September 10, 2024 11:50
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.

3 participants