Skip to content

Commit b4f804d

Browse files
committed
chore: change XML parser class name
1 parent 49ff5db commit b4f804d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [PharOperator](./src/PharOperator.php) - tool for build phar file
1414
- [RSACrypt](./src/RSACrypt.php) - RSA crypt tool
1515
- [UUID](./src/UUID.php) - generate uuid string
16+
- [XMLParser](./src/XMLParser.php) - the parser for XML string
1617

1718
## Install
1819

src/XML.php renamed to src/XMLParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace axios\tools;
66

7-
class XML
7+
class XMLParser
88
{
99
public static function decode(string $xml_string): array
1010
{

tests/unit/XMLTest.php renamed to tests/unit/XMLParserTest.php

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

55
namespace axios\tools\tests\unit;
66

7-
use axios\tools\XML;
7+
use axios\tools\XMLParser as XML;
88
use PHPUnit\Framework\TestCase;
99

1010
/**
1111
* @internal
1212
* @coversNothing
1313
*/
14-
class XMLTest extends TestCase
14+
class XMLParserTest extends TestCase
1515
{
1616
public function test()
1717
{

0 commit comments

Comments
 (0)