@@ -16,7 +16,7 @@ At this point there are 3 validation providers:
16
16
17
17
Since by default, no validation rules are loaded, you should start with that:
18
18
19
- .. code :: php
19
+ .. code-block :: php
20
20
21
21
<?php
22
22
@@ -30,7 +30,7 @@ Since by default, no validation rules are loaded, you should start with that:
30
30
31
31
Afterwards, you can use its rules like:
32
32
33
- .. code :: php
33
+ .. code-block :: php
34
34
35
35
<?php
36
36
@@ -44,7 +44,7 @@ Afterwards, you can use its rules like:
44
44
45
45
It might come in handy to only use a validation rule when there actually is an uploaded file:
46
46
47
- .. code :: php
47
+ .. code-block :: php
48
48
49
49
<?php
50
50
@@ -68,7 +68,7 @@ UploadValidation
68
68
69
69
Check that the file does not exceed the max file size specified by PHP
70
70
71
- .. code :: php
71
+ .. code-block :: php
72
72
73
73
<?php
74
74
@@ -85,7 +85,7 @@ Check that the file does not exceed the max file size specified by PHP
85
85
Check that the file does not exceed the max file size specified in the
86
86
HTML Form
87
87
88
- .. code :: php
88
+ .. code-block :: php
89
89
90
90
<?php
91
91
@@ -101,7 +101,7 @@ HTML Form
101
101
102
102
Check that the file was completely uploaded
103
103
104
- .. code :: php
104
+ .. code-block :: php
105
105
106
106
<?php
107
107
@@ -117,7 +117,7 @@ Check that the file was completely uploaded
117
117
118
118
Check that a file was uploaded
119
119
120
- .. code :: php
120
+ .. code-block :: php
121
121
122
122
<?php
123
123
@@ -133,7 +133,7 @@ Check that a file was uploaded
133
133
134
134
Check that the file was successfully written to the server
135
135
136
- .. code :: php
136
+ .. code-block :: php
137
137
138
138
<?php
139
139
@@ -150,7 +150,7 @@ Check that the file was successfully written to the server
150
150
Check that the file is below the maximum file upload size (checked in
151
151
bytes)
152
152
153
- .. code :: php
153
+ .. code-block :: php
154
154
155
155
<?php
156
156
@@ -167,7 +167,7 @@ bytes)
167
167
Check that the file is above the minimum file upload size (checked in
168
168
bytes)
169
169
170
- .. code :: php
170
+ .. code-block :: php
171
171
172
172
<?php
173
173
@@ -187,7 +187,7 @@ ImageValidation
187
187
Check that the file is above the minimum height requirement (checked in
188
188
pixels)
189
189
190
- .. code :: php
190
+ .. code-block :: php
191
191
192
192
<?php
193
193
@@ -204,7 +204,7 @@ pixels)
204
204
Check that the file is below the maximum height requirement (checked in
205
205
pixels)
206
206
207
- .. code :: php
207
+ .. code-block :: php
208
208
209
209
<?php
210
210
@@ -221,7 +221,7 @@ pixels)
221
221
Check that the file is above the minimum width requirement (checked in
222
222
pixels)
223
223
224
- .. code :: php
224
+ .. code-block :: php
225
225
226
226
<?php
227
227
@@ -238,7 +238,7 @@ pixels)
238
238
Check that the file is below the maximum width requirement (checked in
239
239
pixels)
240
240
241
- .. code :: php
241
+ .. code-block :: php
242
242
243
243
<?php
244
244
0 commit comments