Verified Commit 1b80269c authored by Dave Long's avatar Dave Long
Browse files

Issue #3377000 by Spokje, longwave, xjm: Remove phpstan ignore for "#^Missing...

Issue #3377000 by Spokje, longwave, xjm: Remove phpstan ignore for "#^Missing cache backend declaration for performance.#"

(cherry picked from commit 6514a929)
parent d7088b45
Loading
Loading
Loading
Loading
Loading
+75 −0
Original line number Diff line number Diff line
@@ -901,6 +901,11 @@ parameters:
			count: 1
			path: lib/Drupal/Core/Menu/MenuLinkManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: lib/Drupal/Core/Menu/MenuLinkManager.php

		-
			message: """
				#^Fetching deprecated class constant RETURN_INSERT_ID of class Drupal\\\\Core\\\\Database\\\\Database\\:
@@ -915,6 +920,11 @@ parameters:
			count: 1
			path: lib/Drupal/Core/Menu/MenuTreeStorage.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: lib/Drupal/Core/Plugin/DefaultPluginManager.php

		-
			message: "#^Constructor of class Drupal\\\\Core\\\\Queue\\\\Memory has an unused parameter \\$name\\.$#"
			count: 1
@@ -1830,6 +1840,16 @@ parameters:
			count: 1
			path: modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/migrate/src/Plugin/MigrateDestinationPluginManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/migrate/src/Plugin/MigrateSourcePluginManager.php

		-
			message: "#^Constructor of class Drupal\\\\migrate\\\\Plugin\\\\MigrationPluginManager has an unused parameter \\$language_manager\\.$#"
			count: 1
@@ -1875,6 +1895,11 @@ parameters:
			count: 2
			path: modules/migrate/tests/src/Unit/process/SubProcessTest.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/migrate_drupal/src/MigrationPluginManager.php

		-
			message: "#^Variable \\$patterns might not be defined\\.$#"
			count: 1
@@ -1905,6 +1930,11 @@ parameters:
			count: 1
			path: modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php

		-
			message: "#^Variable \\$patterns might not be defined\\.$#"
			count: 1
@@ -2349,6 +2379,31 @@ parameters:
			count: 1
			path: modules/system/tests/modules/service_provider_test/src/TestClass.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/system/tests/modules/lazy_route_provider_install_test/src/PluginManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/system/tests/modules/plugin_test/src/Plugin/DefaultsTestPluginManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: modules/system/tests/modules/plugin_test/src/Plugin/TestPluginManager.php

		-
			message: """
				#^Usage of deprecated trait Symfony\\\\Component\\\\DependencyInjection\\\\ContainerAwareTrait in class Drupal\\\\service_provider_test\\\\TestClass\\:
@@ -3330,6 +3385,11 @@ parameters:
			count: 1
			path: tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php

		-
			message: "#^Result of static method Drupal\\\\Composer\\\\Composer\\:\\:ensureComposerVersion\\(\\) \\(void\\) is used\\.$#"
			count: 1
@@ -3505,6 +3565,11 @@ parameters:
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php

		-
			message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
			count: 1
@@ -3515,11 +3580,21 @@ parameters:
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php

		-
			message: "#^Constructor of class Drupal\\\\Tests\\\\Core\\\\Plugin\\\\TestPluginManager has an unused parameter \\$namespaces\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/TestPluginManager.php

		-
			message: "#^Missing cache backend declaration for performance\\.$#"
			count: 1
			path: tests/Drupal/Tests/Core/Plugin/TestPluginManager.php

		-
			message: """
				#^Call to deprecated method expectError\\(\\) of class PHPUnit\\\\Framework\\\\TestCase\\:
+0 −1
Original line number Diff line number Diff line
@@ -37,5 +37,4 @@ parameters:
    # Ignore common errors for now.
    - "#Drupal calls should be avoided in classes, use dependency injection instead#"
    - "#^Plugin definitions cannot be altered.#"
    - "#^Missing cache backend declaration for performance.#"
    - "#^Class .* extends @internal class#"