1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 15:07:53 +02:00
This commit is contained in:
Sami Mazouz
2024-06-21 10:30:58 +01:00
parent a03104d61d
commit 96b8b92d42
3 changed files with 11 additions and 5 deletions

View File

@@ -26,6 +26,11 @@ interface MigrationRepositoryInterface
*/
public function delete(string $file, ?string $extension = null): void;
/**
* Create the migration repository table.
*/
public function createRepository(): void;
/**
* Determine if the migration repository exists.
*/

View File

@@ -260,10 +260,8 @@ class Migrator
/**
* Get the migration repository instance.
*
* @return MigrationRepositoryInterface
*/
public function getRepository()
public function getRepository(): MigrationRepositoryInterface
{
return $this->repository;
}

View File

@@ -35,6 +35,9 @@ parameters:
- extensions/tags/extend.php
excludePaths:
- *.blade.php
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
databaseMigrationsPath: ['framework/core/migrations']
ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: missingType.generics