Enhance FILTER_VALIDATE_INT option in filter_var#1499
Enhance FILTER_VALIDATE_INT option in filter_var#1499ondrejmirtes merged 6 commits intophpstan:1.8.xfrom takeokunn:feature/apply-filter-var-null-option
Conversation
|
@ondrejmirtes I don't know how to fix failure github actions job. |
|
@takeokunn it looks like the problem is that e.g. octdec returns only int before PHP 8. At least that's the type phpstan currently resolves. Such cases might be impossible to fix and have to go to a PHP version specific baseline most likely. There should be some existing already. Sorry, I'm typing from my half-broken phone :) |
|
@herndlm |
|
@zonuexe most likely it will, maybe double-check hexdec too. Sorry, still on my phone, otherwise I could have checked already |
|
@herndlm phpstan-src/resources/functionMap.php Line 3933 in 07e341d |
|
Thank you! |
fixed phpstan/phpstan#7608