[Symfony 6] Symfony\Component\HttpKernel\Event\KernelEvent::isMasterRequest() is deprecated, use isMainRequest() instead

Created on 20 September 2023, about 1 year ago

Problem/Motivation

Error: Call to undefined method Symfony\Component\HttpKernel\Event\ResponseEvent::isMasterRequest() in Drupal\amp_optimizer\EventSubscriber\OptimizerSubscriber->optimizer() (line 93 of modules/contrib/amp_optimizer/src/EventSubscriber/OptimizerSubscriber.php).

Steps to reproduce

Update to Symfony 6

Proposed resolution

Replace the deprecated method with the replacement method.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇯🇴Jordan YazanMajadba

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @YazanMajadba
  • @yazanmajadba opened merge request.
  • @yazanmajadba opened merge request.
Production build 0.71.5 2024