Skip to content

Commit 2691921

Browse files
committed
Fix to use with new XmlUtil.
1 parent d7d4243 commit 2691921

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/AnyDataset.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use ByJG\AnyDataset\Core\Exception\DatabaseException;
66
use ByJG\AnyDataset\Core\Formatter\XmlFormatter;
7-
use ByJG\Util\File;
8-
use ByJG\Util\XmlDocument;
7+
use ByJG\XmlUtil\File;
8+
use ByJG\XmlUtil\XmlDocument;
99
use InvalidArgumentException;
1010

1111
/**
@@ -62,7 +62,7 @@ class AnyDataset
6262
/**
6363
* @param null|string $filename
6464
* @throws \ByJG\Serializer\Exception\InvalidArgumentException
65-
* @throws \ByJG\Util\Exception\XmlUtilException
65+
* @throws \ByJG\XmlUtil\Exception\XmlUtilException
6666
*/
6767
public function __construct($filename = null)
6868
{
@@ -110,7 +110,7 @@ private function defineSavePath($filename, $closure)
110110
* @param string $filepath Path and Filename to be read
111111
* @return void
112112
* @throws \ByJG\Serializer\Exception\InvalidArgumentException
113-
* @throws \ByJG\Util\Exception\XmlUtilException
113+
* @throws \ByJG\XmlUtil\Exception\XmlUtilException
114114
*/
115115
private function createFromFile()
116116
{
@@ -141,7 +141,7 @@ private function createFromFile()
141141
* Returns the AnyDataset XML representative structure.
142142
*
143143
* @return string XML String
144-
* @throws \ByJG\Util\Exception\XmlUtilException
144+
* @throws \ByJG\XmlUtil\Exception\XmlUtilException
145145
*/
146146
public function xml()
147147
{
@@ -152,7 +152,7 @@ public function xml()
152152
* @param string|null $filename
153153
* @return void
154154
* @throws DatabaseException
155-
* @throws \ByJG\Util\Exception\XmlUtilException
155+
* @throws \ByJG\XmlUtil\Exception\XmlUtilException
156156
*/
157157
public function save($filename = null)
158158
{

src/Formatter/XmlFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace ByJG\AnyDataset\Core\Formatter;
44

55
use ByJG\AnyDataset\Core\GenericIterator;
6-
use ByJG\Util\XmlDocument;
6+
use ByJG\XmlUtil\XmlDocument;
77

88
class XmlFormatter extends BaseFormatter
99
{

tests/AnyDatasetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use ByJG\AnyDataset\Core\Formatter\JsonFormatter;
88
use ByJG\AnyDataset\Core\Formatter\XmlFormatter;
99
use ByJG\AnyDataset\Core\IteratorFilter;
10-
use ByJG\Util\XmlDocument;
10+
use ByJG\XmlUtil\XmlDocument;
1111
use PHPUnit\Framework\TestCase;
1212
use PHPUnit\Util\Xml;
1313

tests/RowTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use ByJG\AnyDataset\Core\Formatter\JsonFormatter;
66
use ByJG\AnyDataset\Core\Formatter\XmlFormatter;
77
use ByJG\AnyDataset\Core\Row;
8-
use ByJG\Util\XmlDocument;
8+
use ByJG\XmlUtil\XmlDocument;
99
use PHPUnit\Framework\TestCase;
1010
use stdClass;
1111
use Tests\Sample\ModelGetter;

0 commit comments

Comments
 (0)