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
This code block throws an exception if the string consists of valid characters but solely of characters listed in SmsConstants::FROM_ALLOWED_CHARS. Because after the replace command the string will be empty and ctype_alnum() will return FALSE.
The text was updated successfully, but these errors were encountered:
thanks for reporting @estebanthebad will fix asap in the next release but im quite busy with other stuff atm - feel free to open a pull request on your own though :)
https://github.com/sms77io/php-client/blob/ec0339d72bcdfa930b80ab1c8cd2e2838b944d46/src/Validator/SmsValidator.php#L115
This code block throws an exception if the string consists of valid characters but solely of characters listed in
SmsConstants::FROM_ALLOWED_CHARS
. Because after the replace command the string will be empty andctype_alnum()
will returnFALSE
.The text was updated successfully, but these errors were encountered: