From 445cc23abdda5767b622d70cf7b5eb5310dcf908 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 22 May 2023 20:55:59 +0200 Subject: PHPStan Level 7 complete (#5406) * PHPStan Level 7 complete * Start PHPStan Level 8 * Forgot exclude .phtml --- tests/lib/Minz/MigratorTest.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/lib/Minz/MigratorTest.php') diff --git a/tests/lib/Minz/MigratorTest.php b/tests/lib/Minz/MigratorTest.php index 4ff02e837..1803e6e86 100644 --- a/tests/lib/Minz/MigratorTest.php +++ b/tests/lib/Minz/MigratorTest.php @@ -17,14 +17,6 @@ class MigratorTest extends TestCase self::assertTrue($result); } - public function testAddMigrationFailsIfUncallableMigration(): void { - $this->expectException(BadFunctionCallException::class); - $this->expectExceptionMessage('foo migration cannot be called.'); - - $migrator = new Minz_Migrator(); - $migrator->addMigration('foo', null); - } - public function testMigrationsIsSorted(): void { $migrator = new Minz_Migrator(); $migrator->addMigration('2_foo', function () { -- cgit v1.2.3