Skip to content

Commit 1bb594c

Browse files
committed
Update namespaces
1 parent 07d8a2f commit 1bb594c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
},
99
"autoload": {
1010
"psr-4": {
11-
"Battye\\ArrayParser\\": "src"
11+
"battye\\array_parser\\": "src"
1212
}
1313
},
1414
"require-dev": {
1515
"symfony/phpunit-bridge": "^4.1"
1616
}
17-
}
17+
}

src/parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Modified by battye, originally from: http://jsteemann.github.io/blog/2015/06/16/parsing-php-arrays-with-php/
66
*/
77

8-
namespace Battye\ArrayParser;
8+
namespace battye\array_parser;
99

1010
class parser
1111
{

src/tokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Modified by battye, originally from: http://jsteemann.github.io/blog/2015/06/16/parsing-php-arrays-with-php/
66
*/
77

8-
namespace Battye\ArrayParser;
8+
namespace battye\array_parser;
99

1010
class tokens
1111
{

tests/ArrayParserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* Files in the files/ directory are straight copies of files from phpBB with varying complexity of arrays.
55
*/
66

7-
use Battye\ArrayParser\parser;
8-
use Battye\ArrayParser\tokens;
7+
use battye\array_parser\parser;
8+
use battye\array_parser\tokens;
99

1010
class ArrayParserTest extends \PHPUnit\Framework\TestCase
1111
{

0 commit comments

Comments
 (0)