# Deprecation patterns ignored while testing this module. Core's own
# core/.deprecation-ignore.txt is appended to this file by the phpunit
# job, so both sets apply; see .gitlab-ci.yml.
#
# Format: https://www.drupal.org/node/3285162
#
# Everything here belongs to a dependency or to core, never to
# audit_trail. A deprecation naming Drupal\audit_trail is a real
# finding and belongs fixed, not ignored.
#
# cspell:disable
# Forward-compatibility warnings raised by Symfony's DebugClassLoader
# against our dependencies. Core carries the same pattern for its own
# modules, with the same reasoning: the downstream project has to add
# the return types before the ignore can go. key is a runtime
# dependency; paragraphs and entity_reference_revisions are dev
# dependencies of audit_trail_entity_paragraphs.
%Method "Drupal\\[^"]+::[^"]+\(\)" might add "[^"]+" as a native return type declaration in the future\. Do the same in (?:implementation|child class) "Drupal\\(key|paragraphs|entity_reference_revisions)\\[^"]+" now to avoid errors or add an explicit @return annotation to suppress this message%

# Core 11.5 asks every module to move the hooks in its .module file
# into classes. These dependencies still have such code, and core
# raises it once per module and test class, so the next-major job
# fails on a fully green test table. The pattern names only these
# modules, so code left in a .module file of audit_trail's own still
# fails the lane. Drop a module from it once that module converts.
%Code in (key|paragraphs|entity_reference_revisions)\.module is deprecated in drupal:11\.5\.0 and must be converted before drupal:13\.0\.0\.%

# Twig's own forward-compatibility notice about a core class.
%(Since twig/twig 3\.28: )?The "Drupal\\Core\\Template\\TwigSandboxPolicy::checkSecurity\(\)" method will (take a 4th|require a new)%
# cspell:enable
