------ ----------------------------------------------------------------------
  Line   src\Plugin\Field\FieldFormatter\ImageBase64Formatter.php
 ------ ----------------------------------------------------------------------
  198    Call to deprecated method url() of class
         Drupal\Core\Entity\EntityInterface:
         in Drupal 8.0.0, intended to be removed in Drupal 9.0.0
         Please use toUrl() instead.
 ------ ----------------------------------------------------------------------
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ilchovuchkov created an issue. See original summary.

  • ilchovuchkov committed 5dac7bb on 8.x-1.x
    Issue #3068805 by ilchovuchkov: Update url() to toUrl().
    
vuil’s picture

Issue summary: View changes
vuil’s picture

Status: Active Β» Fixed
vuil’s picture

Status: Fixed Β» Closed (fixed)
Kristen Pol’s picture

Issue tags: +Drupal 9 compatibility

Per a Slack discussion with GΓ‘bor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.

vuil’s picture

Status: Closed (fixed) Β» Needs work

I revert the issue back to Needs work, and add a child issue about the reason (P.S.: One of the reasons).

vuil’s picture

Recent PHPStan Drupal 9 compatibility:

drupal-check -ad web/modules/image_base64_formatter
 3/3 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%
                                                                             
 [OK] No errors      

The following issues are still waiting:

1. Remove core: 8.x tag, it needs to stay core_version_requirement: ^8 || ^9 only.

2. Add composer.json file.

3. Check the drupalci.ymlfile and if it needs something more to be added (or corrected).

vuil’s picture

Status: Needs work Β» Needs review
FileSize
1.19 KB

I post a patch about the additional issues mentioned in #8.

vuil’s picture

Status: Needs review Β» Needs work
vuil’s picture

Status: Needs work Β» Needs review
FileSize
1.25 KB
vuil’s picture

Status: Needs review Β» Needs work
vuil’s picture

vuil’s picture

  • vuil committed 1bc8f9e on 8.x-1.x
    Issue #3068805 by vuil, Kristen Pol: Drupal 9 Deprecated Code Report
    
vuil’s picture

Status: Needs review Β» Fixed

Status: Fixed Β» Closed (fixed)

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