Skip to content

Commit

Permalink
[#14733] - Renaming DM to DataMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Feb 8, 2020
1 parent ded33db commit 27facc9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/_data/fixtures/DataMapper/Pdo/ConnectionFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\DM\Pdo;
namespace Phalcon\Test\Fixtures\DataMapper\Pdo;

use Phalcon\DM\Pdo\Connection;
use Phalcon\DM\Pdo\Profiler\ProfilerInterface;
use Phalcon\DataMapper\Pdo\Connection;
use Phalcon\DataMapper\Pdo\Profiler\ProfilerInterface;

class ConnectionFixture extends Connection
{
Expand Down
2 changes: 1 addition & 1 deletion tests/_data/fixtures/DataMapper/Pdo/PdoFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

declare(strict_types=1);

namespace Phalcon\Test\Fixtures\DM\Pdo;
namespace Phalcon\Test\Fixtures\DataMapper\Pdo;

class PdoFixture
{
Expand Down
2 changes: 1 addition & 1 deletion tests/_data/fixtures/Migrations/AbstractMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Phalcon\Test\Fixtures\Migrations;

use PDO;
use Phalcon\DM\Pdo\Connection;
use Phalcon\DataMapper\Pdo\Connection;
use function get_class;
use function var_dump;

Expand Down
4 changes: 2 additions & 2 deletions tests/_support/Helper/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Codeception\Exception\ModuleException;
use Codeception\TestInterface;
use PDO;
use Phalcon\DM\Pdo\Connection;
use Phalcon\DataMapper\Pdo\Connection;

use function date;
use function env;
Expand Down Expand Up @@ -166,7 +166,7 @@ public function getDatabaseUsername(): string
/**
* @return Connection
*/
public function getDMConnection(): Connection
public function getDataMapperConnection(): Connection
{
return new Connection(
$this->getDatabaseDsn(),
Expand Down

0 comments on commit 27facc9

Please sign in to comment.