@@ -10,14 +10,14 @@ class HelloWorld
1010 public function testSendEmailToLog (): void
1111 {
1212 foreach ([1 ] as $ emailFile ) {
13- assertType ('int<5, max > ' , PHP_MAJOR_VERSION );
14- assertType ('int<5, max > ' , \PHP_MAJOR_VERSION );
13+ assertType ('int<5, 8 > ' , PHP_MAJOR_VERSION );
14+ assertType ('int<5, 8 > ' , \PHP_MAJOR_VERSION );
1515 if (PHP_MAJOR_VERSION === 7 ) {
1616 assertType ('7 ' , PHP_MAJOR_VERSION );
1717 assertType ('7 ' , \PHP_MAJOR_VERSION );
1818 } else {
19- assertType ('int<5, 6>|int<8, max > ' , PHP_MAJOR_VERSION );
20- assertType ('int<5, 6>|int<8, max > ' , \PHP_MAJOR_VERSION );
19+ assertType ('8| int<5, 6> ' , PHP_MAJOR_VERSION );
20+ assertType ('8| int<5, 6> ' , \PHP_MAJOR_VERSION );
2121 }
2222 }
2323 }
@@ -28,14 +28,14 @@ class HelloWorld2
2828 public function testSendEmailToLog (): void
2929 {
3030 foreach ([1 ] as $ emailFile ) {
31- assertType ('int<5, max > ' , PHP_MAJOR_VERSION );
32- assertType ('int<5, max > ' , \PHP_MAJOR_VERSION );
31+ assertType ('int<5, 8 > ' , PHP_MAJOR_VERSION );
32+ assertType ('int<5, 8 > ' , \PHP_MAJOR_VERSION );
3333 if (PHP_MAJOR_VERSION === 100 ) {
34- assertType ('100 ' , PHP_MAJOR_VERSION );
35- assertType ('100 ' , \PHP_MAJOR_VERSION );
34+ assertType ('*NEVER* ' , PHP_MAJOR_VERSION );
35+ assertType ('*NEVER* ' , \PHP_MAJOR_VERSION );
3636 } else {
37- assertType ('int<5, 99>|int<101, max > ' , PHP_MAJOR_VERSION );
38- assertType ('int<5, 99>|int<101, max > ' , \PHP_MAJOR_VERSION );
37+ assertType ('int<5, 8 > ' , PHP_MAJOR_VERSION );
38+ assertType ('int<5, 8 > ' , \PHP_MAJOR_VERSION );
3939 }
4040 }
4141 }
0 commit comments