Drupal 10 compatibility

Created on 13 June 2023, about 1 year ago
Updated 24 January 2024, 5 months ago

Problem/Motivation

Make this module compatible with Drupal 10

After running a scan on the module using upgrade status the following issues were displayed:

Memory Profiler
Scanned on Tue, 06/13/2023 - 19:36.

2 warnings found.

modules/contrib/memory_profiler/src/EventSubscriber/MemoryProfilerEventSubscribe
r.php:

Parameter $event of method                                   
Drupal\memory_profiler\EventSubscriber\MemoryProfilerEventSu 
bscriber::onRequest() has typehint with deprecated class     
Symfony\Component\HttpKernel\Event\GetResponseEvent: since   
 Symfony 4.3, use RequestEvent instead                        

modules/contrib/memory_profiler/memory_profiler.info.yml:
 Value of core_version_requirement: ^8 || ^9 is not         
 compatible with the next major version of Drupal core. See 
https://drupal.org/node/3070687.                           

Steps to reproduce

  1. Donwload and install upgrade status β†’ module
  2. Donwload and install memory_profiler β†’ module using πŸ“Œ Add core_version_requirement: ^8 || ^9 for Drupal 9 Postponed
  3. Scan the selected module

Proposed resolution

Fix the compatibility issues

Remaining tasks

  • Test
  • Commit
  • Release
πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil murilohp

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

Comments & Activities

Production build 0.69.0 2024