File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 77use PHPUnit \Framework \TestCase ;
88use PHPUnit \Framework \Attributes \RequiresPhp ;
99
10+ class RequiresPhpLowerEqual85a extends TestCase
11+ {
12+ #[RequiresPhp('<= 8.5 ' )]
13+ public function testFoo (): void {
14+
15+ }
16+ }
17+
1018class RequiresPhp5 extends TestCase
1119{
1220 #[RequiresPhp('< 7.0 ' )]
@@ -39,6 +47,38 @@ public function testFoo(): void {
3947 }
4048}
4149
50+ class RequiresPhpLowerEqual84 extends TestCase
51+ {
52+ #[RequiresPhp('<= 8.4 ' )]
53+ public function testFoo (): void {
54+
55+ }
56+ }
57+
58+ class RequiresPhpLowerEqual85 extends TestCase
59+ {
60+ #[RequiresPhp('<= 8.5 ' )]
61+ public function testFoo (): void {
62+
63+ }
64+ }
65+
66+ class RequiresPhp83 extends TestCase
67+ {
68+ #[RequiresPhp('8.3.* ' )]
69+ public function testFoo (): void {
70+
71+ }
72+ }
73+
74+ class RequiresPhp85 extends TestCase
75+ {
76+ #[RequiresPhp('8.5.* ' )]
77+ public function testFoo (): void {
78+
79+ }
80+ }
81+
4282class RequiresPhp8 extends TestCase
4383{
4484 #[RequiresPhp('>=8.0 ' )]
You can’t perform that action at this time.
0 commit comments