Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove mb_* (mb string usage) in CreditCardRules #1529

Conversation

samsonasik
Copy link
Member

For strlen(), it already checked with compare to 0 lenght check early, even international character will be catched on it.

Next, the is_numeric() already catch if any non-numeric character.

Next, strlen() and strpos() already checked against numeric value before as is_numeric() check already handle before.

Checklist:

  • Securely signed commits

@samsonasik samsonasik force-pushed the rem-unneeded-mbtstring-creditcard-rules branch from b555890 to 1b3a9a7 Compare November 24, 2018 14:31
@lonnieezell lonnieezell merged commit 1859389 into codeigniter4:develop Nov 26, 2018
@samsonasik samsonasik deleted the rem-unneeded-mbtstring-creditcard-rules branch November 27, 2018 03:06
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