Loading core/phpstan-baseline.neon +0 −10 Original line number Diff line number Diff line Loading @@ -2880,16 +2880,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Composer/ComposerTest.php - message: "#^Class Drupal\\\\Driver\\\\Database\\\\corefake\\\\Install\\\\Tasks not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/InstallerObjectTest.php - message: "#^Class Drupal\\\\Driver\\\\Database\\\\fake\\\\Install\\\\Tasks not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/InstallerObjectTest.php - message: "#^Trying to mock an undefined method getRevisionId\\(\\) on class Drupal\\\\Tests\\\\Core\\\\Entity\\\\UrlTestEntity\\.$#" count: 1 Loading core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -63,9 +63,11 @@ public function providerDbInstallerObject() { ['mysql', "Drupal\\mysql\\Driver\\Database\\mysql", MysqlInstallTasks::class], // A driver only in the custom namespace. // @phpstan-ignore-next-line ['fake', "Drupal\\Driver\\Database\\fake", FakeInstallTasks::class], // A driver in both namespaces. The custom one takes precedence. // @phpstan-ignore-next-line ['corefake', "Drupal\\Driver\\Database\\corefake", CustomCoreFakeInstallTasks::class], // A driver from a module that has a different name as the driver. Loading Loading
core/phpstan-baseline.neon +0 −10 Original line number Diff line number Diff line Loading @@ -2880,16 +2880,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Composer/ComposerTest.php - message: "#^Class Drupal\\\\Driver\\\\Database\\\\corefake\\\\Install\\\\Tasks not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/InstallerObjectTest.php - message: "#^Class Drupal\\\\Driver\\\\Database\\\\fake\\\\Install\\\\Tasks not found\\.$#" count: 1 path: tests/Drupal/Tests/Core/Database/InstallerObjectTest.php - message: "#^Trying to mock an undefined method getRevisionId\\(\\) on class Drupal\\\\Tests\\\\Core\\\\Entity\\\\UrlTestEntity\\.$#" count: 1 Loading
core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -63,9 +63,11 @@ public function providerDbInstallerObject() { ['mysql', "Drupal\\mysql\\Driver\\Database\\mysql", MysqlInstallTasks::class], // A driver only in the custom namespace. // @phpstan-ignore-next-line ['fake', "Drupal\\Driver\\Database\\fake", FakeInstallTasks::class], // A driver in both namespaces. The custom one takes precedence. // @phpstan-ignore-next-line ['corefake', "Drupal\\Driver\\Database\\corefake", CustomCoreFakeInstallTasks::class], // A driver from a module that has a different name as the driver. Loading