Skip to content
Snippets Groups Projects

Issue #3377000: Remove phpstan ignore "#^Missing cache backend declaration for performance.#"

Closed Issue #3377000: Remove phpstan ignore "#^Missing cache backend declaration for performance.#"
Closed spokje requested to merge issue/drupal-3377000:3377000-remove-phpstan-ignore into 11.x
Files
2
+ 75
0
@@ -780,6 +780,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\\:
@@ -794,6 +799,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
@@ -1653,6 +1663,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
@@ -1698,6 +1718,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
@@ -1728,6 +1753,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
@@ -2174,6 +2204,31 @@ parameters:
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/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: "#^Access to an undefined property Drupal\\\\Tests\\\\system\\\\Functional\\\\FileTransfer\\\\TestFileTransfer\\:\\:\\$connection\\.$#"
count: 5
@@ -3162,6 +3217,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
@@ -3313,6 +3373,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
@@ -3323,11 +3388,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\\:
Loading