Skip to content

Conversation

cedric-anne
Copy link
Contributor

See php/php-src#13395 and the mentioned vimeo/psalm#9537 (comment) discussion.

The false return value documented for the long2ip() function can actually never happen. Using Safe/long2ip() instead will then never have any value.

I propose to ignore it. This will prevent to have differences in detected error between PHP 8.4 and previous PHP versions.

@silasjoisten silasjoisten merged commit b7ffc8d into thecodingmachine:master May 13, 2025
10 checks passed
@cedric-anne cedric-anne deleted the change/ignore-long2ip branch May 13, 2025 17:21
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