Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Dec 14, 2024
1 parent eec186c commit 7d7d91c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ private function createMigrationHistoryTable(): void
$tableName = $this->db->getQuoter()->getRawTableName($this->historyTable);
$this->informer->beginCreateHistoryTable('Creating migration history table "' . $tableName . '"...');

$b = $this->createBuilder(new NullMigrationInformer());

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

MixedArgument

src/Migrator.php:150:35: MixedArgument: Argument 1 of Yiisoft\Db\Migration\Migrator::createBuilder cannot be mixed, expecting Yiisoft\Db\Migration\Informer\MigrationInformerInterface|null (see https://psalm.dev/030)

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.3

UndefinedClass

src/Migrator.php:150:39: UndefinedClass: Class, interface or enum named Yiisoft\Db\Migration\NullMigrationInformer does not exist (see https://psalm.dev/019)

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

MixedArgument

src/Migrator.php:150:35: MixedArgument: Argument 1 of Yiisoft\Db\Migration\Migrator::createBuilder cannot be mixed, expecting Yiisoft\Db\Migration\Informer\MigrationInformerInterface|null (see https://psalm.dev/030)

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.1

UndefinedClass

src/Migrator.php:150:39: UndefinedClass: Class, interface or enum named Yiisoft\Db\Migration\NullMigrationInformer does not exist (see https://psalm.dev/019)

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

MixedArgument

src/Migrator.php:150:35: MixedArgument: Argument 1 of Yiisoft\Db\Migration\Migrator::createBuilder cannot be mixed, expecting Yiisoft\Db\Migration\Informer\MigrationInformerInterface|null (see https://psalm.dev/030)

Check failure on line 150 in src/Migrator.php

View workflow job for this annotation

GitHub Actions / PHP 8.2

UndefinedClass

src/Migrator.php:150:39: UndefinedClass: Class, interface or enum named Yiisoft\Db\Migration\NullMigrationInformer does not exist (see https://psalm.dev/019)

$b->createTable($this->historyTable, [
'id' => ColumnBuilder::primaryKey(),
'name' => ColumnBuilder::string($this->migrationNameLimit)->notNull(),
Expand Down

0 comments on commit 7d7d91c

Please sign in to comment.