From 5838b8981547d010d5727bdff8e3fe48be1f26d5 Mon Sep 17 00:00:00 2001 From: Michele Angioni Date: Mon, 28 Sep 2015 19:55:38 +0200 Subject: [PATCH] Updated docs and readme --- README.md | 10 +++++----- src/MicheleAngioni/Support/CustomValidators.php | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6d55e74..c8d0a79 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/MicheleAngioni/Support/CustomValidators.php b/src/MicheleAngioni/Support/CustomValidators.php index bca6b96..8caa396 100644 --- a/src/MicheleAngioni/Support/CustomValidators.php +++ b/src/MicheleAngioni/Support/CustomValidators.php @@ -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 @@ -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 @@ -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 @@ -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