Problem/Motivation

Currently the code throws some deprecation warnings. Those should be fixed.

Steps to reproduce

See Drupal CI output

Proposed resolution

  • Fix deprecation warnings

Remaining tasks

  • Update code

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hctom created an issue. See original summary.

  • hctom committed 0739441 on 8.x-1.x
    Issue #3204780 by hctom: Fix deprecation warnings
    
hctom’s picture

Status: Active » Fixed
hctom’s picture

Status: Fixed » Closed (fixed)
hctom’s picture

Status: Closed (fixed) » Needs work

I guess this ticket has to be reopened, because the fixed deprecation warnings result in fatal errors in Drupal 8.x, but work perfectly in Drupal 9.x. This is due to the fact that FieldKernelTestBase in Drupal 8.x falsely exposes static $modules test class property as public and therefore cannot be set to protected in extending classes again (which is the correct visibility as seen in KernelTestBase class).

  • hctom committed 2cbe3e8 on 8.x-1.x
    Issue #3204780 by hctom: Fix deprecation warnings
    
hctom’s picture

Status: Needs work » Fixed

The fatal errors for 8.x have been resolved. From now on, the 8.x-1.x branch will only be compatible with ^8.8 and the 2.x branch will be compatible with ^9.

hctom’s picture

Status: Fixed » Closed (fixed)