Drupal 10 Compatibility

Created on 8 March 2023, almost 2 years ago
Updated 13 March 2023, almost 2 years ago

Problem/Motivation

This module is not yet Drupal 10 compatible. I've added a patch to make it compatible with Drupal 10.

The errors

CUSTOM PROJECTS
--------------------------------------------------------------------------------
BSN
Scanned on Wed, 03/08/2023 - 10:38.

4 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/custom/bsn_field/tests/src/Kernel/BSNItemTest.php:
┌──────────┬──────┬─────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                       MESSAGE                       │
├──────────┼──────┼─────────────────────────────────────────────────────┤
│ Fix with │ 62   │ 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 │ 63   │ 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 │ 68   │ 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 │ 73   │ 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/custom/bsn_field/bsn_field.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.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands johan_vm Tilburg

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

Comments & Activities

Production build 0.71.5 2024