Drupal 10 compatibility

Created on 25 July 2023, over 1 year ago
Updated 26 October 2023, about 1 year ago

Problem/Motivation


CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Commerce Order Item Discount UI 2.0.0-beta1
Scanned on Tue, 07/25/2023 - 11:55.

2 errors found. 1 warning found. Avoid some manual work by using drupal-rector
for fixing issues automatically or Upgrade Rector to generate patches.

web/modules/contrib/commerce_item_discount_ui/tests/src/Kernel/AdjustmentTest.ph
p:
┌──────────┬──────┬─────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                       MESSAGE                       │
├──────────┼──────┼─────────────────────────────────────────────────────┤
│ Fix with │ 86   │ Call to deprecated method assertEqual() of class    │
│ rector   │      │ Drupal\KernelTests\KernelTestBase. Deprecated in    │
│          │      │ drupal:8.0.0 and is removed from drupal:10.0.0. Use │
│          │      │ $this->assertEquals() instead.                      │
│          │      │                                                     │
│ Fix with │ 87   │ Call to deprecated method assertEqual() of class    │
│ rector   │      │ Drupal\KernelTests\KernelTestBase. Deprecated in    │
│          │      │ drupal:8.0.0 and is removed from drupal:10.0.0. Use │
│          │      │ $this->assertEquals() instead.                      │
│          │      │                                                     │
└──────────┴──────┴─────────────────────────────────────────────────────┘

web/modules/contrib/commerce_item_discount_ui/commerce_item_discount_ui.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Value of core_version_requirement: ^8 || ^9 is not         │
│ manually │      │ compatible with the next major version of Drupal core. See │
│          │      │ https://drupal.org/node/3070687.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘



Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇸🇰Slovakia kaszarobert

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

Comments & Activities

Production build 0.71.5 2024