diff --git a/tests/Issues/MozartIssue124Test.php b/tests/Issues/MozartIssue124Test.php index fabd5ff2..d23554f7 100644 --- a/tests/Issues/MozartIssue124Test.php +++ b/tests/Issues/MozartIssue124Test.php @@ -85,7 +85,7 @@ public function test_it_does_not_make_classname_replacement_inside_namespaced_fi */ public function test_it_does_not_prefix_function_argument_types_whose_classname_matches_the_namespace() { - if (version_compare(phpversion(), '8.1', '<=')) { + if (version_compare(phpversion(), '8.1', '>=')) { $this->markTestSkipped("Package specified for test is not PHP 8.1 compatible. Running tests under PHP " . phpversion()); }