Passed
Pull Request — master (#55)
by Tim
02:04
created
src/Assert/YearMonthTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 trait YearMonthTrait
16 16
 {
17 17
     /** @var string */
18
-    private static string $yearmonth_regex  = '/^-?([1-9][0-9]*|[0-9]{4})-(0[1-9]|1[012])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
18
+    private static string $yearmonth_regex = '/^-?([1-9][0-9]*|[0-9]{4})-(0[1-9]|1[012])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
19 19
 
20 20
     /***********************************************************************************
21 21
      *  NOTE:  Custom assertions may be added below this line.                         *
Please login to merge, or discard this patch.
src/Assert/DateTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 trait DateTrait
16 16
 {
17 17
     /** @var string */
18
-    private static string $date_regex  = '/^-?([1-9][0-9]*|[0-9]{4})-(((0(1|3|5|7|8)|1(0|2))-(0[1-9]|(1|2)[0-9]|3[0-1]))|((0(4|6|9)|11)-(0[1-9]|(1|2)[0-9]|30))|(02-(0[1-9]|(1|2)[0-9])))((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
18
+    private static string $date_regex = '/^-?([1-9][0-9]*|[0-9]{4})-(((0(1|3|5|7|8)|1(0|2))-(0[1-9]|(1|2)[0-9]|3[0-1]))|((0(4|6|9)|11)-(0[1-9]|(1|2)[0-9]|30))|(02-(0[1-9]|(1|2)[0-9])))((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
19 19
 
20 20
     /***********************************************************************************
21 21
      *  NOTE:  Custom assertions may be added below this line.                         *
Please login to merge, or discard this patch.
src/Assert/DayTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 trait DayTrait
16 16
 {
17 17
     /** @var string */
18
-    private static string $day_regex  = '/^---(0[1-9]|1[1-9]|2[1-9]|3[01])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
18
+    private static string $day_regex = '/^---(0[1-9]|1[1-9]|2[1-9]|3[01])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/Di';
19 19
 
20 20
     /***********************************************************************************
21 21
      *  NOTE:  Custom assertions may be added below this line.                         *
Please login to merge, or discard this patch.