From 56fad782423b0d560f6b11ee7a4eb908b35fea17 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Mon, 28 Feb 2022 09:30:33 +0100 Subject: [PATCH] Test on match expr needs PHP 8.0 --- tests/tests/Data/RawCodeCoverageDataTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests/Data/RawCodeCoverageDataTest.php b/tests/tests/Data/RawCodeCoverageDataTest.php index faf954f95..a87324e3b 100644 --- a/tests/tests/Data/RawCodeCoverageDataTest.php +++ b/tests/tests/Data/RawCodeCoverageDataTest.php @@ -389,6 +389,9 @@ public function testEmtpyConstructorIsMarkedAsExecutable(): void ); } + /** + * @requires PHP 8.0 + */ public function testEachCaseInMatchExpressionIsMarkedAsExecutable(): void { $file = TEST_FILES_PATH . 'source_with_match_expression.php';