@@ -21,14 +21,14 @@ public function foo(
21
21
$ maybeNegativeConstStrings , $ maybeNonNumericConstStrings , $ maybeFloatConstStrings ,
22
22
bool $ bool , float $ float
23
23
): void {
24
- assertType ('non-falsy-string ' , '0 ' .$ i );
25
- assertType ('non-falsy-string&numeric-string ' , $ i .'0 ' );
24
+ assertType ('lowercase-string& non-falsy-string ' , '0 ' .$ i );
25
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ i .'0 ' );
26
26
27
- assertType ('non-falsy-string&numeric-string ' , '0 ' .$ positiveInt );
28
- assertType ('non-falsy-string&numeric-string ' , $ positiveInt .'0 ' );
27
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , '0 ' .$ positiveInt );
28
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ positiveInt .'0 ' );
29
29
30
- assertType ('non-falsy-string ' , '0 ' .$ negativeInt );
31
- assertType ('non-falsy-string&numeric-string ' , $ negativeInt .'0 ' );
30
+ assertType ('lowercase-string& non-falsy-string ' , '0 ' .$ negativeInt );
31
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ negativeInt .'0 ' );
32
32
33
33
assertType ("'00'|'01'|'02' " , '0 ' .$ positiveConstStrings );
34
34
assertType ( "'00'|'10'|'20' " , $ positiveConstStrings .'0 ' );
@@ -39,29 +39,29 @@ public function foo(
39
39
assertType ("'00'|'01'|'0a' " , '0 ' .$ maybeNonNumericConstStrings );
40
40
assertType ("'00'|'10'|'a0' " , $ maybeNonNumericConstStrings .'0 ' );
41
41
42
- assertType ('non-falsy-string&numeric-string ' , $ i .$ positiveConstStrings );
43
- assertType ( ' non-falsy-string ' , $ positiveConstStrings .$ i );
42
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ i .$ positiveConstStrings );
43
+ assertType (' lowercase-string& non-falsy-string ' , $ positiveConstStrings .$ i );
44
44
45
- assertType ('non-falsy-string ' , $ i .$ maybeNegativeConstStrings );
46
- assertType ('non-falsy-string ' , $ maybeNegativeConstStrings .$ i );
45
+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ maybeNegativeConstStrings );
46
+ assertType ('lowercase-string& non-falsy-string ' , $ maybeNegativeConstStrings .$ i );
47
47
48
- assertType ('non-falsy-string ' , $ i .$ maybeNonNumericConstStrings );
49
- assertType ('non-falsy-string ' , $ maybeNonNumericConstStrings .$ i );
48
+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ maybeNonNumericConstStrings );
49
+ assertType ('lowercase-string& non-falsy-string ' , $ maybeNonNumericConstStrings .$ i );
50
50
51
- assertType ('non-falsy-string ' , $ i .$ maybeFloatConstStrings ); // could be 'non-falsy-string&numeric-string'
52
- assertType ('non-falsy-string ' , $ maybeFloatConstStrings .$ i );
51
+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ maybeFloatConstStrings ); // could be 'lowercase-string& non-falsy-string&numeric-string'
52
+ assertType ('lowercase-string& non-falsy-string ' , $ maybeFloatConstStrings .$ i );
53
53
54
- assertType ('non-empty-string&numeric-string ' , $ i .$ bool );
55
- assertType ('non-empty-string ' , $ bool .$ i );
56
- assertType ('non-falsy-string&numeric-string ' , $ positiveInt .$ bool );
57
- assertType ('non-falsy-string&numeric-string ' , $ bool .$ positiveInt );
58
- assertType ('non-falsy-string&numeric-string ' , $ negativeInt .$ bool );
59
- assertType ('non-falsy-string ' , $ bool .$ negativeInt );
54
+ assertType ('lowercase-string& non-empty-string&numeric-string ' , $ i .$ bool );
55
+ assertType ('lowercase-string& non-empty-string ' , $ bool .$ i );
56
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ positiveInt .$ bool );
57
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ bool .$ positiveInt );
58
+ assertType ('lowercase-string& non-falsy-string&numeric-string ' , $ negativeInt .$ bool );
59
+ assertType ('lowercase-string& non-falsy-string ' , $ bool .$ negativeInt );
60
60
61
- assertType ('non-falsy-string ' , $ i .$ i );
62
- assertType ('non-falsy-string ' , $ negativeInt .$ negativeInt );
63
- assertType ('non-falsy-string ' , $ maybeNegativeConstStrings .$ negativeInt );
64
- assertType ('non-falsy-string ' , $ negativeInt .$ maybeNegativeConstStrings );
61
+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ i );
62
+ assertType ('lowercase-string& non-falsy-string ' , $ negativeInt .$ negativeInt );
63
+ assertType ('lowercase-string& non-falsy-string ' , $ maybeNegativeConstStrings .$ negativeInt );
64
+ assertType ('lowercase-string& non-falsy-string ' , $ negativeInt .$ maybeNegativeConstStrings );
65
65
66
66
// https://3v4l.org/BCS2K
67
67
assertType ('non-falsy-string ' , $ float .$ float );
@@ -75,9 +75,9 @@ public function foo(
75
75
// https://3v4l.org/Ia4r0
76
76
$ scientificFloatAsString = '3e4 ' ;
77
77
assertType ('non-falsy-string ' , $ numericString .$ scientificFloatAsString );
78
- assertType ('non-falsy-string ' , $ i .$ scientificFloatAsString );
78
+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ scientificFloatAsString );
79
79
assertType ('non-falsy-string ' , $ scientificFloatAsString .$ numericString );
80
- assertType ('non-falsy-string ' , $ scientificFloatAsString .$ i );
80
+ assertType ('lowercase-string& non-falsy-string ' , $ scientificFloatAsString .$ i );
81
81
}
82
82
83
83
}
0 commit comments