@@ -16,7 +16,7 @@ At this point there are 3 validation providers:
1616
1717Since by default, no validation rules are loaded, you should start with that:
1818
19- .. code :: php
19+ .. code-block :: php
2020
2121 <?php
2222
@@ -30,7 +30,7 @@ Since by default, no validation rules are loaded, you should start with that:
3030
3131 Afterwards, you can use its rules like:
3232
33- .. code :: php
33+ .. code-block :: php
3434
3535 <?php
3636
@@ -44,7 +44,7 @@ Afterwards, you can use its rules like:
4444
4545 It might come in handy to only use a validation rule when there actually is an uploaded file:
4646
47- .. code :: php
47+ .. code-block :: php
4848
4949 <?php
5050
@@ -68,7 +68,7 @@ UploadValidation
6868
6969Check that the file does not exceed the max file size specified by PHP
7070
71- .. code :: php
71+ .. code-block :: php
7272
7373 <?php
7474
@@ -85,7 +85,7 @@ Check that the file does not exceed the max file size specified by PHP
8585Check that the file does not exceed the max file size specified in the
8686HTML Form
8787
88- .. code :: php
88+ .. code-block :: php
8989
9090 <?php
9191
@@ -101,7 +101,7 @@ HTML Form
101101
102102Check that the file was completely uploaded
103103
104- .. code :: php
104+ .. code-block :: php
105105
106106 <?php
107107
@@ -117,7 +117,7 @@ Check that the file was completely uploaded
117117
118118Check that a file was uploaded
119119
120- .. code :: php
120+ .. code-block :: php
121121
122122 <?php
123123
@@ -133,7 +133,7 @@ Check that a file was uploaded
133133
134134Check that the file was successfully written to the server
135135
136- .. code :: php
136+ .. code-block :: php
137137
138138 <?php
139139
@@ -150,7 +150,7 @@ Check that the file was successfully written to the server
150150Check that the file is below the maximum file upload size (checked in
151151bytes)
152152
153- .. code :: php
153+ .. code-block :: php
154154
155155 <?php
156156
@@ -167,7 +167,7 @@ bytes)
167167Check that the file is above the minimum file upload size (checked in
168168bytes)
169169
170- .. code :: php
170+ .. code-block :: php
171171
172172 <?php
173173
@@ -187,7 +187,7 @@ ImageValidation
187187Check that the file is above the minimum height requirement (checked in
188188pixels)
189189
190- .. code :: php
190+ .. code-block :: php
191191
192192 <?php
193193
@@ -204,7 +204,7 @@ pixels)
204204Check that the file is below the maximum height requirement (checked in
205205pixels)
206206
207- .. code :: php
207+ .. code-block :: php
208208
209209 <?php
210210
@@ -221,7 +221,7 @@ pixels)
221221Check that the file is above the minimum width requirement (checked in
222222pixels)
223223
224- .. code :: php
224+ .. code-block :: php
225225
226226 <?php
227227
@@ -238,7 +238,7 @@ pixels)
238238Check that the file is below the maximum width requirement (checked in
239239pixels)
240240
241- .. code :: php
241+ .. code-block :: php
242242
243243 <?php
244244
0 commit comments