Issue #3240955 by andypost: \Drupal\media\Plugin\Filter\MediaEmbed::applyPerEmbedMediaOverrides() triggers deprecations in PHP 8.1