mirror of
https://github.com/flarum/core.git
synced 2025-08-03 15:07:53 +02:00
phpstan
This commit is contained in:
@@ -26,6 +26,11 @@ interface MigrationRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function delete(string $file, ?string $extension = null): void;
|
public function delete(string $file, ?string $extension = null): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create the migration repository table.
|
||||||
|
*/
|
||||||
|
public function createRepository(): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the migration repository exists.
|
* Determine if the migration repository exists.
|
||||||
*/
|
*/
|
||||||
|
@@ -260,10 +260,8 @@ class Migrator
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the migration repository instance.
|
* Get the migration repository instance.
|
||||||
*
|
|
||||||
* @return MigrationRepositoryInterface
|
|
||||||
*/
|
*/
|
||||||
public function getRepository()
|
public function getRepository(): MigrationRepositoryInterface
|
||||||
{
|
{
|
||||||
return $this->repository;
|
return $this->repository;
|
||||||
}
|
}
|
||||||
|
@@ -35,6 +35,9 @@ parameters:
|
|||||||
- extensions/tags/extend.php
|
- extensions/tags/extend.php
|
||||||
excludePaths:
|
excludePaths:
|
||||||
- *.blade.php
|
- *.blade.php
|
||||||
checkMissingIterableValueType: false
|
|
||||||
checkGenericClassInNonGenericObjectType: false
|
|
||||||
databaseMigrationsPath: ['framework/core/migrations']
|
databaseMigrationsPath: ['framework/core/migrations']
|
||||||
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
identifier: missingType.iterableValue
|
||||||
|
-
|
||||||
|
identifier: missingType.generics
|
||||||
|
Reference in New Issue
Block a user