From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 21 Aug 2019 11:30:10 -1000
Subject: Adapt to recent version of PHPUnit (8)

Forwarded: https://github.com/theseer/fDOMDocument/pull/39
---
 tests/XPathQuery.test.php           | 2 +-
 tests/fDOMDocument.test.php         | 2 +-
 tests/fDOMDocumentFragment.test.php | 2 +-
 tests/fDOMElement.test.php          | 2 +-
 tests/fDOMXPath.test.php            | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/XPathQuery.test.php b/tests/XPathQuery.test.php
index 3bed435..da8e7ed 100644
--- a/tests/XPathQuery.test.php
+++ b/tests/XPathQuery.test.php
@@ -48,7 +48,7 @@ namespace TheSeer\fDOM\Tests {
 
         private $dom;
 
-        protected function setUp() {
+        protected function setUp(): void {
             $this->dom = new fDOMDocument();
             $this->dom->loadXML('<?xml version="1.0" ?><root attr="value" />');
         }
diff --git a/tests/fDOMDocument.test.php b/tests/fDOMDocument.test.php
index fd5c08f..28798cd 100644
--- a/tests/fDOMDocument.test.php
+++ b/tests/fDOMDocument.test.php
@@ -55,7 +55,7 @@ namespace TheSeer\fDOM\Tests {
          */
         private $dom;
 
-        public function setUp() {
+        public function setUp(): void {
             $this->dom = new fDOMDocument();
         }
 
diff --git a/tests/fDOMDocumentFragment.test.php b/tests/fDOMDocumentFragment.test.php
index d7fd021..98a5be4 100644
--- a/tests/fDOMDocumentFragment.test.php
+++ b/tests/fDOMDocumentFragment.test.php
@@ -61,7 +61,7 @@ namespace TheSeer\fDOM\Tests {
          */
         private $frag;
 
-        public function setUp() {
+        public function setUp(): void {
             $this->dom = new fDOMDocument();
             $this->frag = $this->dom->createDocumentFragment();
         }
diff --git a/tests/fDOMElement.test.php b/tests/fDOMElement.test.php
index 3dba211..5b015cf 100644
--- a/tests/fDOMElement.test.php
+++ b/tests/fDOMElement.test.php
@@ -61,7 +61,7 @@ namespace TheSeer\fDOM\Tests {
          */
         private $node;
 
-        public function setUp() {
+        public function setUp(): void {
             $this->dom = new fDOMDocument();
             $this->dom->loadXML('<?xml version="1.0" ?><root><node><child/></node><node /></root>');
             $this->node = $this->dom->documentElement;
diff --git a/tests/fDOMXPath.test.php b/tests/fDOMXPath.test.php
index 2504a75..76cdbd1 100644
--- a/tests/fDOMXPath.test.php
+++ b/tests/fDOMXPath.test.php
@@ -61,7 +61,7 @@ namespace TheSeer\fDOM\Tests {
          */
         private $xp;
 
-        public function setUp() {
+        public function setUp(): void {
             $this->dom = new fDOMDocument();
             $this->dom->loadXML('<?xml version="1.0" ?><root><node attr="foo" /></root>');
             $this->xp = $this->dom->getDOMXPath();
