Fixed
Project:
Metatag
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2026 at 19:22 UTC
Updated:
30 Oct 2026 at 10:46 UTC
Jump to comment: Most recent
One of the phpstan test failures:
Line src/MetatagDefaultsListBuilder.php
------ -----------------------------------------------------------------------
127 Method Drupal\metatag\MetatagDefaultsListBuilder::getOperations() is
missing the CacheableMetadata parameter added in Drupal 11.3. Update
the signature to: getOperations(\Drupal\Core\Entity\EntityInterface
$entity, ?\Drupal\Core\Cache\CacheableMetadata $cacheability = NULL).
🪪 drupal.entityListBuilderMissingCacheabilityParameter
💡 See https://www.drupal.org/node/3533080
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
shubhamgoel commentedHi Team,
The test failure has been resolved. Please review and merge the MR https://git.drupalcode.org/project/metatag/-/merge_requests/295/diffs
Comment #5
damienmckennaComment #6
damienmckennaComment #8
damienmckennaCommitted.