Line src/EventSubscriber/ResourceResponseSubscriber.php
------ -------------------------------------------------------------------------------------------------------------------
67 Parameter $event of method Drupal\rest\EventSubscriber\ResourceResponseSubscriber::onResponse() has typehint with
deprecated class Symfony\Component\HttpKernel\Event\FilterResponseEvent:
since Symfony 4.3, use ResponseEvent instead
------ -------------------------------------------------------------------------------------------
Line tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
------ -------------------------------------------------------------------------------------------
42 Instantiation of deprecated class Symfony\Component\HttpKernel\Event\FilterResponseEvent:
since Symfony 4.3, use ResponseEvent instead
145 Instantiation of deprecated class Symfony\Component\HttpKernel\Event\FilterResponseEvent:
since Symfony 4.3, use ResponseEvent instead
195 Instantiation of deprecated class Symfony\Component\HttpKernel\Event\FilterResponseEvent:
since Symfony 4.3, use ResponseEvent instead
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 13466807-4.patch | 3.62 KB | himmatbhatia |
| #3 | 13466807-3.patch | 0 bytes | himmatbhatia |
Comments
Comment #2
himmatbhatia commentedComment #3
himmatbhatia commentedFixed above deprecated code problem attaching the patch.
Comment #4
himmatbhatia commentedWrong patch uploaded now uploading correct one
Comment #6
narendra.rajwar27The patch changes are already in Drupal9.x branch. I think the status should be closed/fixed now.