------ --------------------------------------------------
Line country.module
------ --------------------------------------------------
18 Call to deprecated method url() of class Drupal.
------ --------------------------------------------------
------ -----------------------------------------------------------------------------------
Line src/Controller/CountryAutocompleteController.php
------ -----------------------------------------------------------------------------------
43 \Drupal calls should be avoided in classes, use dependency injection instead
45 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
45 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/CountryManager.php
------ ------------------------------------------------------------------------------
35 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Plugin/Field/FieldFormatter/CountryDefaultFormatter.php
------ ------------------------------------------------------------------------------
34 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Plugin/Field/FieldWidget/CountryAutocompleteWidget.php
------ ------------------------------------------------------------------------------
44 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Plugin/Field/FieldWidget/CountryDefaultWidget.php
------ ------------------------------------------------------------------------------
32 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Plugin/views/filter/CountryItem.php
------ ------------------------------------------------------------------------------
173 \Drupal calls should be avoided in classes, use dependency injection instead
174 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------
I might be able to help with a patch later if someone doesn't fix it first :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | replace-depracted-code.patch | 2.51 KB | matsbla |
Comments
Comment #2
rudranil29 commentedComment #3
matsbla commentedComment #4
dakalaComment #6
dakalaComment #7
dakala