php drupal-check.phar modules/contrib/dfp/
22/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------
Line src/Form/Tag.php
------ ---------------------------------------------------
212 Call to deprecated function drupal_set_message().
215 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ -----------------------------------------------------------------------------------
Line src/Tests/DfpTestBase.php
------ -----------------------------------------------------------------------------------
122 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line src/Tests/DisplayTagTest.php
------ -----------------------------------------------------------------------------------
30 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
206 Call to deprecated method strtoupper() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------
Line src/View/dfp.adtest.inc
------ -----------------------------------------
35 Calls to function kpr should not exist.
------ -----------------------------------------
------ -------------------------------------------------------------------------
Line tests/src/Unit/View/TagViewTest.php
------ -------------------------------------------------------------------------
74 Call to deprecated method getMock() of class Drupal\Tests\UnitTestCase.
101 Call to deprecated method getMock() of class Drupal\Tests\UnitTestCase.
------ -------------------------------------------------------------------------
[ERROR] Found 8 errors| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff-3082242-2-4.txt | 7.48 KB | fgm |
| #4 | 3082242-deprecated-4.patch | 12.07 KB | fgm |
| #2 | deprecated-3082242-2.patch | 4.81 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
fgmNew deprecations are detected by upgrade_status:
In addition, the call to the parent constructor in
TagViewBuilderis incorrect, missing the optional (required in 9.0) fourth and fifth parameters.Comment #4
fgmSuggested patch fixing all current issues.
Comment #5
bleen commentedHavent tested anything, but #4 looks good upon review
Comment #6
vladimirausApplies fine and removes all the warning and errors. Thanks
Comment #7
fgm@bleen : any hope of having it be merged ? It is currently a blocker for an existing project.
Comment #9
vladimiraus