Skip to content

Commit

Permalink
Move base namespace to composer.json (#35)
Browse files Browse the repository at this point in the history
* Move base namespace to composer.json

* Fix tmp test dir

* Fix path to sqlite file
  • Loading branch information
janedbal authored Apr 27, 2023
1 parent bd48066 commit 2d6c4c0
Show file tree
Hide file tree
Showing 30 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
},
"autoload": {
"psr-4": {
"ShipMonk\\": "src/"
"ShipMonk\\Doctrine\\Migration\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ShipMonk\\": "tests/"
"ShipMonk\\Doctrine\\Migration\\": "tests/"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ parameters:
ignoreErrors:
-
message: "#Call to function method_exists\\(\\) with Doctrine\\\\DBAL\\\\Schema\\\\AbstractSchemaManager and 'createComparator' will always evaluate to true.#"
path: src/Doctrine/Migration/MigrationService.php
path: src/MigrationService.php
reportUnmatched: false # depends on dbal version used, we support wider range
count: 1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private function createMigrationService(

private function getMigrationsTestDir(): string
{
return __DIR__ . '/../../../tmp/migrations';
return __DIR__ . '/../tmp/migrations';
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait WithEntityManagerTest

public function createEntityManager(): EntityManagerInterface
{
$tmpDir = __DIR__ . '/../../../tmp';
$tmpDir = __DIR__ . '/../tmp';

$databaseFile = $tmpDir . '/db.sqlite';

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2d6c4c0

Please sign in to comment.