Skip to content

Commit 64e8ce3

Browse files
committed
the cnd parser has been fixed
1 parent 1f5bd54 commit 64e8ce3

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

composer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,5 @@
3636
"PHPCR\\Test\\": "inc/",
3737
"PHPCR\\Tests\\": "tests/"
3838
}
39-
},
40-
"extra": {
41-
"branch-alias": {
42-
"dev-master": "2.1-dev"
43-
}
4439
}
4540
}

tests/PhpcrUtils/CndParserTest.php

Lines changed: 0 additions & 8 deletions
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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,10 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory)
442442
$factory->createQuery(
443443
$factory->selector('file', 'nt:file'),
444444
$factory->sameNode('file', '/home node'),
445-
array(),
446-
array());
445+
[],
446+
[]
447+
)
448+
;
447449

448450
/*
449451
* 6.7.21. ChildNode

0 commit comments

Comments
 (0)