2 files with changes ==================== 1) web/modules/contrib/entity_embed/src/Plugin/Filter/EntityEmbedFilter.php:1 ---------- begin diff ---------- @@ @@ namespace Drupal\entity_embed\Plugin\Filter; +use Drupal\Component\Utility\DeprecationHelper; +use Drupal\Core\Utility\Error; use Drupal\Component\Utility\Html; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; @@ @@ } } catch (EntityNotFoundException $e) { - watchdog_exception('entity_embed', $e); + DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => watchdog_exception('entity_embed', $e), fn() => Error::logException(\Drupal::logger('entity_embed'), $e)); } if ($entity instanceof EntityInterface) { ----------- end diff ----------- Applied rules: * WatchdogExceptionRector * ProtectedStaticModulesPropertyRector (https://www.drupal.org/node/2909426) 2) web/modules/contrib/entity_embed/src/Twig/EntityEmbedTwigExtension.php:61 ---------- begin diff ---------- @@ @@ */ public function getFunctions() { return [ - new TwigFunction('entity_embed', [$this, 'getRenderArray']), + new TwigFunction('entity_embed', $this->getRenderArray(...)), ]; } ----------- end diff ----------- Applied rules: * ProtectedStaticModulesPropertyRector (https://www.drupal.org/node/2909426) * MagicClosureTwigExtensionToNativeMethodsRector [OK] 2 files would have changed (dry-run) by Rector