Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
------ ---------------------------------------------------
Line src/Form/DeleteJob.php
------ ---------------------------------------------------
72 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/QueueForm.php
------ ---------------------------------------------------
170 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/ReleaseJob.php
------ ---------------------------------------------------
72 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/AdvancedQueue/Backend/BackendInterface.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
18 Interface Drupal\advancedqueue\Plugin\AdvancedQueue\Backend\BackendInterface extends deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#5 | 3092654-5-fix-deprecated.patch | 4.41 KB | bojanz |
#4 | 3092654-4.patch | 3.58 KB | Sahana _N |
#2 | deprecated-3092654-2.patch | 2.7 KB | Sergiu Stici |
|
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere's the patch, please review.
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedThank you for your work!
Let's use addStatus() instead of addMessage(). It's the more common version in core.
We also need to replace the setExpectedException() calls with expectException() and expectExceptionMessage() like we did in Commerce: #3089027: Replace the deprecated PHPUnit 4 setExpectedException() method usage.
Comment #4
Sahana _N CreditAttribution: Sahana _N at Specbee commentedCreated the patch as per the suggestions please review the patch.
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedLet's do this.
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedThe D9 build is failing, but it doesn't look like it's our fault. Let's proceed with the patch as-is and then open a followup if problems persist.