# Temporary ignores for upstream Search API and Autocomplete deprecations.
# Keep this module's deprecations visible; remove patterns as upstream fixes land.

# Missing forward-compatible return types in dependency classes.
%^Method "Drupal\\[^\"]+::[^\"]+\(\)" might add "[^\"]+" as a native return type declaration in the future\. Do the same in (?:implementation|child class) "Drupal\\(?:search_api|search_api_autocomplete)\\[^\"]+" now to avoid errors or add an explicit @return annotation to suppress this message\.$%

# Procedural code in the dependency modules, including Search API's test module.
%^Code in (?:search_api|search_api_test|search_api_autocomplete)\.module is deprecated in drupal:11\.5\.0 and must be converted before drupal:13\.0\.0\. Use classes instead\. See https://www\.drupal\.org/node/3619765$%

# Deprecated classes and interfaces still loaded by Search API itself.
%^\\Drupal\\search_api\\Entity\\TaskStorageSchema is deprecated in search_api:8\.x-1\.23 and is removed from search_api:2\.0\.0\. There is no replacement\. See https://www\.drupal\.org/node/3259783$%
%^\\Drupal\\search_api\\Plugin\\search_api\\datasource\\EntityDatasourceInterface is deprecated in search_api:8\.x-1\.16 and is removed from search_api:2\.0\.0\. There is no replacement\. See https://www\.drupal\.org/node/3103584$%
