# 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
#
# cspell:disable
# Forward compatibility warnings for return types that the domain classes do
# not declare yet, on methods they inherit from core. They are raised here
# because the next-major lane installs domain and runs with
# --fail-on-deprecation, and they cannot be fixed from this repository.
# Deliberately scoped to the domain namespaces, so the same warning on one of
# this project's own classes still fails the lane.
%Method "[^"]+::[^"]+\(\)" might add "[^"]+" as a native return type declaration in the future\. Do the same in (?:implementation|child class) "Drupal\\(domain|domain_access|domain_alias|domain_config|domain_config_language|domain_config_language_ui|domain_config_ui|domain_content|domain_source)\\[^"]+" now to avoid errors or add an explicit @return annotation to suppress this message%
