phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Incremented numeric-string should change to int/float

Open staabm opened this issue 3 years ago • 2 comments

closes https://github.com/phpstan/phpstan/issues/10122 closes https://github.com/phpstan/phpstan/issues/10187

https://3v4l.org/7J17g

staabm avatar Nov 29 '23 21:11 staabm

This pull request has been marked as ready for review.

phpstan-bot avatar Dec 04 '23 12:12 phpstan-bot

I have tested locally that the error in https://github.com/phpstan/phpstan/issues/10187 no longer happens as requested. if required I can send a strict-rules UselessCastRuleTest regression test, but it feels not necessary.

staabm avatar Dec 04 '23 12:12 staabm

took me a few attempts to get this work across php versions.. but it should work now

staabm avatar Mar 30 '24 14:03 staabm

This pull request has been marked as ready for review.

phpstan-bot avatar Mar 30 '24 14:03 phpstan-bot

Thank you.

ondrejmirtes avatar Apr 05 '24 08:04 ondrejmirtes