Drupal 11 compatibility

Created on 2 May 2024, 5 months ago

Problem/Motivation

Drupal 11 will be released soon. Let's make this module Drupal 11 compatible!

Analysis of work to be done

1. Drupal's project update bot ( πŸ“Œ Automated Drupal 11 compatibility fixes for pathologic Needs review ) does not report/provide any changes beyond changing the core_version_requirement.
2. An execution of drupal-rector finds no other Drupal deprecations:

docker@cli:/var/www$ vendor/bin/rector process web/modules/contrib/pathologic/ --dry-run
 13/13 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%

                                                                                                                        
 [OK] Rector is done!                                                                                                   
                                                                                                                   

3. Running tests against Drupal 11 reports the following schema violation, per https://www.drupal.org/node/2442603 β†’

Time: 00:01.024, Memory: 8.00 MB

OK (2 tests, 55 assertions)

Remaining self deprecation notices (16)

  16x: The definition for the 'pathologic.settings.scheme_allow_list' sequence declares the type of its items in a way that is deprecated in drupal:8.0.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2442603
    12x in PathologicTest::testPathologic from Drupal\Tests\pathologic\Kernel
    4x in PathologicLanguageTest::testContentTranslation from Drupal\Tests\pathologic\Kernel
πŸ“Œ Task
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mark_fullmer Tucson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024