Skip to content

Commit 5c28a3a

Browse files
Harrison IfeanyichukwuHarrison Ifeanyichukwu
authored andcommitted
docs: update documentation, fix typos, correct broken links
1 parent 5e9c90e commit 5c28a3a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ jobs:
2525
- vendor/bin/phpunit
2626
after_success:
2727
- php vendor/bin/php-coveralls
28+
- npm run semantic-release

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ $rules = [
191191
'subscribe-newsletter' => [
192192
'type' => 'boolean',
193193
],
194-
//email is required if user checks the subscribe checkbox, else, do not require if
194+
//email is required if user checks the subscribe checkbox, else, do not require it
195195
'email' => [
196196
'type' => 'email',
197197
'requireIf' => [
@@ -205,7 +205,7 @@ $rules = [
205205

206206
## Validation Filters
207207

208-
Filters are applied to the field values prior to validations. You can use filters to modify field values prior to validations. The available filters include:
208+
Filters are applied to the field values prior to validations. You can use filters to modify field values prior to validation. The available filters include:
209209

210210
1. **decode**: Call php `urldecode()` function on the field value(s). Defaults to true
211211

@@ -238,7 +238,7 @@ $rules = [
238238

239239
## Validation Rule Types
240240

241-
The module defines lots of validation rule types that covers a wide range of validation requirements. These includes the following:
241+
The module defines lots of validation rule types that covers a wide range of validation cases. These includes the following:
242242

243243
- [Limiting Rule Validation](#limiting-rule-validation)
244244

@@ -252,6 +252,10 @@ The module defines lots of validation rule types that covers a wide range of val
252252

253253
- [Choice Validation](#choice-validation)
254254

255+
- [Email Validation](#email-validation)
256+
257+
- [URL Validation](#url-validation)
258+
255259
- [Numeric Validation](#numeric-validation)
256260

257261
- [Password Validation](#password-validation)
@@ -616,7 +620,7 @@ $rules => [
616620
];
617621
```
618622

619-
### Image Validation
623+
### Image File Validation
620624

621625
The shortest way to validate image files is to use the `image` type option. The accepted mimes for images include **JPEG**, **PNG** and **GIF**.
622626

0 commit comments

Comments
 (0)