Skip to content

Commit 6904533

Browse files
committed
Change namespace from Tree to NestedSet
1 parent 364dc86 commit 6904533

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"autoload": {
2323
"psr-4": {
24-
"PNX\\Tree\\": "src"
24+
"PNX\\NestedSet\\": "src"
2525
}
2626
},
2727
"autoload-dev": {
2828
"psr-4": {
29-
"PNX\\Tree\\Tests\\": "tests"
29+
"PNX\\NestedSet\\Tests\\": "tests"
3030
}
3131
},
3232
"config": {

src/NestedSetInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PNX\Tree;
3+
namespace PNX\NestedSet;
44

55
/**
66
* Provides a tree implementation.

src/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace PNX\Tree;
3+
namespace PNX\NestedSet;
44

55
/**
66
* Model object that represents a node in a tree.

src/Storage/DbalNestedSet.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace PNX\Tree\Storage;
3+
namespace PNX\NestedSet\Storage;
44

55
use Doctrine\DBAL\Connection;
66
use Exception;
7-
use PNX\Tree\Node;
8-
use PNX\Tree\NestedSetInterface;
7+
use PNX\NestedSet\Node;
8+
use PNX\NestedSet\NestedSetInterface;
99

1010
/**
1111
* Provides a DBAL implementation of a Tree.

tests/Functional/DbalNestedSetTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

3-
namespace PNX\Tree\Tests\Functional;
3+
namespace PNX\NestedSet\Tests\Functional;
44

55
use Console_Table;
66
use Doctrine\DBAL\Configuration;
77
use Doctrine\DBAL\DriverManager;
88
use Doctrine\DBAL\Schema\Schema;
9-
use PNX\Tree\Node;
10-
use PNX\Tree\Storage\DbalNestedSet;
9+
use PNX\NestedSet\Node;
10+
use PNX\NestedSet\Storage\DbalNestedSet;
1111

1212
/**
1313
* Tests the Dbal Tree implementation.

0 commit comments

Comments
 (0)