Skip to content

Commit

Permalink
Updated docs and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleangioni committed Sep 28, 2015
1 parent e2d2b6b commit 5838b89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,11 @@ min and max allowed values can be inserted.

Just after registering the SupportServiceProvider, the following new custom validators will be available:

- alpha_complete : The following characters are allowed: alphabetic, numbers, spaces, slashes and several punctuation characters _ ! . , : / ; ? & ( ) [ ] { }
- alpha_space : The following characters are allowed: alphabetic, numbers and spaces
- alpha_underscore : The following characters are allowed: alphabetic, numbers and underscores
- alpha_names : The following characters are allowed: alphabetic, menus, apostrophes, underscores and spaces
- alphanumeric_names : The following characters are allowed: alphabetic, numbers, menus, apostrophes, underscores and spaces
- alpha_complete : The following characters are allowed: letters, numbers, spaces, slashes and several punctuation characters _ ! . , : / ; ? & ( ) [ ] { }
- alpha_space : The following characters are allowed: letters, numbers and spaces
- alpha_underscore : The following characters are allowed: letters, numbers and underscores
- alpha_names : The following characters are allowed: letters, menus, apostrophes, underscores and spaces
- alphanumeric_names : The following characters are allowed: letters, numbers, menus, apostrophes, underscores and spaces

## Custom Exceptions

Expand Down
8 changes: 4 additions & 4 deletions src/MicheleAngioni/Support/CustomValidators.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function validateAlphaComplete($attribute, $value)
}

/**
* alpha_space permits the following UNICODE characters: alphabetic, numbers and spaces
* alpha_space permits the following UNICODE characters: letters, numbers and spaces
*
* @param $attribute
* @param $value
Expand All @@ -29,7 +29,7 @@ public function validateAlphaSpace($attribute, $value)
}

/**
* alpha_underscore permits the following UNICODE characters: alphabetic, numbers and underscores
* alpha_underscore permits the following UNICODE characters: letters, numbers and underscores
*
* @param $attribute
* @param $value
Expand All @@ -41,7 +41,7 @@ public function validateAlphaUnderscore($attribute, $value)
}

/**
* alphanumeric_names permits the following UNICODE characters: alphabetic, numbers, menus, apostrophes, underscores and spaces
* alphanumeric_names permits the following UNICODE characters: letters, numbers, menus, apostrophes, underscores and spaces
*
* @param $attribute
* @param $value
Expand All @@ -53,7 +53,7 @@ public function validateAlphanumericNames($attribute, $value)
}

/**
* alpha_names permits the following UNICODE characters: alphabetic, menus, apostrophes, underscores and spaces
* alpha_names permits the following UNICODE characters: letters, menus, apostrophes, underscores and spaces
*
* @param $attribute
* @param $value
Expand Down

0 comments on commit 5838b89

Please sign in to comment.