Commit ee0063f
Fixed validation rule
* Fix strict_types=1, digits rule preg_match parameter 2 to be string error
* Fixed validation rule `digits` does not support `int`.
Co-authored-by: 李铭昕 <[email protected]>digits does not support int. (#2358)1 parent 9476ca9 commit ee0063f
File tree
2 files changed
+10
-2
lines changed- src/Concerns
- tests/Cases
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | | - | |
| 306 | + | |
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
| |||
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
317 | | - | |
| 318 | + | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1469 | 1469 | | |
1470 | 1470 | | |
1471 | 1471 | | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
1472 | 1475 | | |
1473 | 1476 | | |
1474 | 1477 | | |
| |||
1482 | 1485 | | |
1483 | 1486 | | |
1484 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1485 | 1491 | | |
1486 | 1492 | | |
1487 | 1493 | | |
| |||
0 commit comments