Verified Commit 95c061fa authored by Dave Long's avatar Dave Long
Browse files

Issue #3358890 by Spokje, mondrake, smustgrave: Fix PHPStan L1 errors "Class \Foo\Bar not found."

parent 0ed2aa1a
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -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.