You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Psalm runner output:
Internal Psalm error on line 969 - /vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php: Division by zero
Psalm encountered an internal error:
/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php: Division by zero
I'm getting a divide by zero error when processing code such as
$a = 1 / 0.0;
. It works fine for an integer zero$a = 1 / 0;
https://psalm.dev/r/1a7af27899
I'm getting the error
This appears to come from the check
I've not worked on this repo before, but I'm happy to make a PR to fix this.
The text was updated successfully, but these errors were encountered: