Skip to content

Commit 7901d0f

Browse files
authored
Merge pull request #199 from phpcr/cnd-parser-fixed
the cnd parser has been fixed
2 parents 42fbd00 + d297e75 commit 7901d0f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

tests/PhpcrUtils/CndParserTest.php

-8
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,6 @@ public function testErrorNoFile()
111111
*/
112112
public function testScannerErrorComment()
113113
{
114-
/**
115-
* Remove this PHP7 only condition after PHPCR-Utils #168
116-
* (https://github.com/phpcr/phpcr-utils/issues/168) is closed
117-
*/
118-
if (PHP_MAJOR_VERSION >= 7) {
119-
$this->markTestSkipped();
120-
}
121-
122114
$this->expectException(ScannerException::class);
123115

124116
$cnd = <<<EOT

tests/Query/QOM/QomTestQueries.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
444444
$factory->sameNode('file', '/home node'),
445445
[],
446446
[]
447-
);
447+
)
448+
;
448449

449450
/*
450451
* 6.7.21. ChildNode

0 commit comments

Comments
 (0)