# Ignore deprecations from other projects during PHPUnit (next major).
# See https://www.drupal.org/node/3285162
# Patterns are PCRE, one per line, `%` delimited (same as core).

# Symfony DebugClassLoader native return-type notices from contrib that
# next-major tests with composer lenient (not this module's namespaces).
%Method "[^"]+" might add "[^"]+" as a native return type declaration in the future. Do the same in (?:implementation|child class) "Drupal\\(?!entity_reference_deck(?:_|\\))[^"]+" now to avoid errors or add an explicit @return annotation to suppress this message%

# PHPUnit 12: TestCase::__construct is internal/final (Drupal UnitTestCase).
%The "PHPUnit\\Framework\\TestCase::__construct\(\)" method is considered internal.* You should not extend it from "Drupal\\[^"]+"%
%The "PHPUnit\\Framework\\TestCase::__construct\(\)" method is considered final.* You should not extend it from "Drupal\\[^"]+"%
