From c908ecb1c51dbc838592f152cf0a8da24ba9c77a Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Fri, 10 Nov 2017 07:00:08 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Import/ImportRepositoryContentTest.php | 14 +++++++------- tests/NodeTypeDiscovery/PropertyDefinitionTest.php | 2 +- tests/Query/QOM/QomTestQueries.php | 8 ++++---- tests/Reading/SessionReadMethodsTest.php | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/Import/ImportRepositoryContentTest.php b/tests/Import/ImportRepositoryContentTest.php index afb6565c..85c97244 100644 --- a/tests/Import/ImportRepositoryContentTest.php +++ b/tests/Import/ImportRepositoryContentTest.php @@ -341,13 +341,13 @@ public function testImportXMLNoFile() $this->session->importXML('/', 'nonexisting.xml', ImportUUIDBehaviorInterface::IMPORT_UUID_COLLISION_THROW); } -/* - TODO: can we make XMLReader throw exception instead of whatever it does now? - public function testImportXMLNoXml() - { - $this->session->importXML('/', __FILE__, ImportUUIDBehaviorInterface::IMPORT_UUID_COLLISION_THROW); - } -*/ + /* + TODO: can we make XMLReader throw exception instead of whatever it does now? + public function testImportXMLNoXml() + { + $this->session->importXML('/', __FILE__, ImportUUIDBehaviorInterface::IMPORT_UUID_COLLISION_THROW); + } + */ public function testImportXMLDocument() { diff --git a/tests/NodeTypeDiscovery/PropertyDefinitionTest.php b/tests/NodeTypeDiscovery/PropertyDefinitionTest.php index e953ac2b..f3e71f8c 100644 --- a/tests/NodeTypeDiscovery/PropertyDefinitionTest.php +++ b/tests/NodeTypeDiscovery/PropertyDefinitionTest.php @@ -249,7 +249,7 @@ public function testIsQueryOrderable() $this->assertTrue($b); } - /// item methods /// + /// item methods /// public function testGetDeclaringNodeType() { $nt = $this->primaryType->getDeclaringNodeType(); diff --git a/tests/Query/QOM/QomTestQueries.php b/tests/Query/QOM/QomTestQueries.php index 704d8bec..e3cef18d 100644 --- a/tests/Query/QOM/QomTestQueries.php +++ b/tests/Query/QOM/QomTestQueries.php @@ -137,9 +137,9 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory) ) ; - /* - * 6.7.10 ChildNodeJoinCondition - */ + /* + * 6.7.10 ChildNodeJoinCondition + */ // SELECT * FROM nt:file INNER JOIN nt:folder ON ISCHILDNODE(child, parent) $queries['6.7.10.ChildNodeCondition'] = @@ -508,7 +508,7 @@ public static function getQueries(QueryObjectModelFactoryInterface $factory) ) ; - /* + /* * 6.7.29. NodeName */ diff --git a/tests/Reading/SessionReadMethodsTest.php b/tests/Reading/SessionReadMethodsTest.php index 91ecd216..67107619 100644 --- a/tests/Reading/SessionReadMethodsTest.php +++ b/tests/Reading/SessionReadMethodsTest.php @@ -224,7 +224,7 @@ public function testGetItemRepositoryException() $this->session->getItem('//'); } - //5.1.2 + //5.1.2 public function testItemExists() { $this->assertTrue($this->session->itemExists('/'));