@@ -21,14 +21,14 @@ public function foo(
2121 $ maybeNegativeConstStrings , $ maybeNonNumericConstStrings , $ maybeFloatConstStrings ,
2222 bool $ bool , float $ float
2323 ): 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 ' );
2626
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 ' );
2929
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 ' );
3232
3333 assertType ("'00'|'01'|'02' " , '0 ' .$ positiveConstStrings );
3434 assertType ( "'00'|'10'|'20' " , $ positiveConstStrings .'0 ' );
@@ -39,29 +39,29 @@ public function foo(
3939 assertType ("'00'|'01'|'0a' " , '0 ' .$ maybeNonNumericConstStrings );
4040 assertType ("'00'|'10'|'a0' " , $ maybeNonNumericConstStrings .'0 ' );
4141
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 );
4444
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 );
4747
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 );
5050
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 );
5353
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 );
6060
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 );
6565
6666 // https://3v4l.org/BCS2K
6767 assertType ('non-falsy-string ' , $ float .$ float );
@@ -75,9 +75,9 @@ public function foo(
7575 // https://3v4l.org/Ia4r0
7676 $ scientificFloatAsString = '3e4 ' ;
7777 assertType ('non-falsy-string ' , $ numericString .$ scientificFloatAsString );
78- assertType ('non-falsy-string ' , $ i .$ scientificFloatAsString );
78+ assertType ('lowercase-string& non-falsy-string ' , $ i .$ scientificFloatAsString );
7979 assertType ('non-falsy-string ' , $ scientificFloatAsString .$ numericString );
80- assertType ('non-falsy-string ' , $ scientificFloatAsString .$ i );
80+ assertType ('lowercase-string& non-falsy-string ' , $ scientificFloatAsString .$ i );
8181 }
8282
8383}
0 commit comments