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

CommentFileSizeAuthor
#4 13466807-4.patch3.62 KBhimmatbhatia
#3 13466807-3.patch0 byteshimmatbhatia

Comments

himmatbhatia created an issue. See original summary.

himmatbhatia’s picture

Assigned: Unassigned » himmatbhatia
himmatbhatia’s picture

Assigned: himmatbhatia » Unassigned
Status: Needs work » Needs review
StatusFileSize
new0 bytes

Fixed above deprecated code problem attaching the patch.

himmatbhatia’s picture

StatusFileSize
new3.62 KB

Wrong patch uploaded now uploading correct one

Status: Needs review » Needs work

The last submitted patch, 4: 13466807-4.patch, failed testing. View results

narendra.rajwar27’s picture

Status: Needs work » Fixed

The patch changes are already in Drupal9.x branch. I think the status should be closed/fixed now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.