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
The cause was a non-UTF-8 encoded string that was used as a first argument for mb_strpos. I guess the solution would be to check if the return value of preg_split is false. I would like to create a PR for this but I don't know if a false value should count as an InvalidLiteralArgument error or not.
The text was updated successfully, but these errors were encountered:
Hi, I get the following error when running psalm.
psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php
Lines 142 to 156 in b1b1072
The cause was a non-UTF-8 encoded string that was used as a first argument for mb_strpos. I guess the solution would be to check if the return value of preg_split is
false
. I would like to create a PR for this but I don't know if afalse
value should count as an InvalidLiteralArgument error or not.The text was updated successfully, but these errors were encountered: