From d297e759aff3d54605f559df114731565e904a56 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Mon, 20 Feb 2023 17:18:04 +0100 Subject: [PATCH] the cnd parser has been fixed --- tests/PhpcrUtils/CndParserTest.php | 8 -------- tests/Query/QOM/QomTestQueries.php | 3 ++- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/PhpcrUtils/CndParserTest.php b/tests/PhpcrUtils/CndParserTest.php index 95e52ab1..e4e1792f 100644 --- a/tests/PhpcrUtils/CndParserTest.php +++ b/tests/PhpcrUtils/CndParserTest.php @@ -111,14 +111,6 @@ public function testErrorNoFile() */ public function testScannerErrorComment() { - /** - * Remove this PHP7 only condition after PHPCR-Utils #168 - * (https://github.com/phpcr/phpcr-utils/issues/168) is closed - */ - if (PHP_MAJOR_VERSION >= 7) { - $this->markTestSkipped(); - } - $this->expectException(ScannerException::class); $cnd = <<sameNode('file', '/home node'), [], [] - ); + ) + ; /* * 6.7.21. ChildNode