Skip to content

Commit 9bd2860

Browse files
This test requires PHP 8.1
1 parent 658d8de commit 9bd2860

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/end-to-end/mock-objects/mock-method/with_argument_default_new_expression.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
https://github.com/sebastianbergmann/phpunit/issues/4929
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (version_compare('8.1.0', PHP_VERSION, '>')) {
6+
print 'skip: PHP 8.1 is required.';
7+
}
38
--FILE--
49
<?php declare(strict_types=1);
510
class Foo

0 commit comments

Comments
 (0)