171/171 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -----------------------------------------------------------------------------------------------
Line src/JsonApiResource/ResourceObject.php
------ -----------------------------------------------------------------------------------------------
287 Call to deprecated method hasLabelCallback() of class Drupal\Core\Entity\EntityTypeInterface.
------ -----------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line tests/src/Functional/JsonApiFunctionalTest.php
------ ---------------------------------------------------------------------------
274 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
567 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
590 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
601 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
612 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
628 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
636 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
649 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
665 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
681 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
705 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
725 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
743 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
751 Call to deprecated method entityManager() of class Drupal.
767 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
786 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
794 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
815 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
837 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
866 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
878 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
------ ---------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line tests/src/Functional/JsonApiRegressionTest.php
------ ---------------------------------------------------------------------------
73 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
137 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
184 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
224 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
286 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
325 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
411 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
472 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
566 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
640 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
692 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
760 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
804 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
849 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
890 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
------ ---------------------------------------------------------------------------
------ -------------------------------------------------------------------
Line tests/src/Kernel/Controller/EntityResourceTest.php
------ -------------------------------------------------------------------
425 Call to deprecated function entity_load_multiple_by_properties().
------ -------------------------------------------------------------------
[ERROR] Found 38 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | deprecated_code-3054403-2.patch | 17.97 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedI replaced deprecated functions, here is the patch. Please review.
Comment #4
wim leers#3042745: Remove group @legacy from jsonapi tests and fix deprecation messages predates this by nearly two months. Please help that issue instead! That already had a green patch, and just needs a little bit more work to become RTBC, you could do that! :)