phpstan / phpstan-strict-rules

Extra strict and opinionated rules for PHPStan
MIT License
595 stars 46 forks source link

Call to function array_is_list() with will always evaluate to true. #147

Open mmarton opened 2 years ago

mmarton commented 2 years ago

Hi!

As you can se there is a false positive issue in the link:

https://phpstan.org/r/4a61f25b-34eb-4935-a054-868192f50aea

ps: if you know a better way to check if an array is already sorted please let me know. :)