Skip to content

Commit ed60530

Browse files
committed
Updated namespace to PHPCR
1 parent 3d7d2d9 commit ed60530

18 files changed

+45
-45
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Usage
1717
<?php
1818

1919
use Symfony\Component\Console\Output\NullOutput;
20-
use DTL\PhpcrMigrations\VersionStorage;
21-
use DTL\PhpcrMigrations\VersionFinder;
22-
use DTL\PhpcrMigrations\Migrator;
20+
use PHPCR\Migrations\VersionStorage;
21+
use PHPCR\Migrations\VersionFinder;
22+
use PHPCR\Migrations\Migrator;
2323

2424
$storage = new VersionStorage($phpcrSession);
2525
$finder = new VersionFinder(array('/path/to/migrations'));
@@ -40,7 +40,7 @@ Version classes contain `up` and `down` methods. The class is quite simple:
4040
````php
4141
<?php
4242

43-
use DTL\PhpcrMigrations\VersionInterface;
43+
use PHPCR\Migrations\VersionInterface;
4444

4545
class Version201504241200 implements VersionInterface
4646
{

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "dantleech/phpcr-migrations",
2+
"name": "phpcr/phpcr-migrations",
33
"description": "Migrations for PHPCR",
44
"license": "MIT",
55
"authors": [
@@ -19,12 +19,12 @@
1919
},
2020
"autoload": {
2121
"psr-4": {
22-
"DTL\\PhpcrMigrations\\": "lib"
22+
"PHPCR\\Migrations\\": "lib"
2323
}
2424
},
2525
"autoload-dev": {
2626
"psr-4": {
27-
"DTL\\PhpcrMigrations\\": "tests"
27+
"PHPCR\\Migrations\\": "tests"
2828
}
2929
},
3030
"extra": {

lib/Exception/MigratorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations\Exception;
12+
namespace PHPCR\Migrations\Exception;
1313

1414
class MigratorException extends \Exception
1515
{

lib/Migrator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

14-
use DTL\PhpcrMigrations\Exception\MigratorException;
14+
use PHPCR\Migrations\Exception\MigratorException;
1515
use PHPCR\SessionInterface;
1616
use Symfony\Component\Console\Output\OutputInterface;
1717

lib/MigratorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
use PHPCR\SessionInterface;
1515

lib/MigratorUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
class MigratorUtil
1515
{

lib/VersionCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
class VersionCollection
1515
{

lib/VersionFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
use Symfony\Component\Finder\Finder;
1515

lib/VersionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
use PHPCR\SessionInterface;
1515

lib/VersionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace DTL\PhpcrMigrations;
12+
namespace PHPCR\Migrations;
1313

1414
use PHPCR\SessionInterface;
1515

0 commit comments

Comments
 (0)