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

Added rule "alpha_numeric_punct" #2562

Merged
merged 1 commit into from
Feb 17, 2020
Merged

Added rule "alpha_numeric_punct" #2562

merged 1 commit into from
Feb 17, 2020

Conversation

dafriend
Copy link
Contributor

As discussed in issue #2549

Fails if the field contains anything characters other than alphanumeric, space and this set of punctuation ~ ! # $ % & * - _ + = | : . (that last, the period, is in the set and not just the end of the sentence.)

Other Things:

  • Removed //--------------- from between functions as the docblocks visually set them apart just fine.
  • Also fixed spelling of alphanumeric. It is not a hyphenated compound word. Affected several files.
  • Added rule description to docs.
  • Created unit tests for alpha_numeric_punctrule

Fails if field contains anything characters other than alphanumeric, space and this set of punctuation   ~ ! # $ % & * - _ + = | : .  (that last, the period, is in the set and not just the end of this sentence.).

Removed //--------------- from between functions as the docblocks visually set them apart just fine.

Also fixed spelling of alphanumeric. It is not a hyphenated compound word. Affected several files.

Added rule description to docs.
@lonnieezell lonnieezell merged commit d89c88e into codeigniter4:develop Feb 17, 2020
@dafriend dafriend deleted the alpha-num-punct-validation-rule branch February 17, 2020 14:13
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.

3 participants