Make PHP 7.4 and PHP 8.1 compatible

Created on 30 March 2023, almost 2 years ago

Problem/Motivation

Why:
The module must be available for Drupal 9.5 and Drupal 10
Requirements of the cores:
* 9.5 - "php": ">=7.3.0"
* 10.0 - "php": ">=8.1.0"

So, our module must be available for both PHP versions. But version 7.3 is a bit outdated, but 7.4 prepares us as much as possible for the move to PHP 8+. Therefore the module must be compatible with "php": ">=7.4.0"
Composer requirements will be added in the πŸ“Œ composer.json Fixed

Proposed resolution

At the moment module is compatible with PHP 8.1 which was tested on the real project.
So we have to rework some parts of the code to make them PHP7.4 compatible.
For example:
- SeoUrlSubscriber.php
- SeoUrlManager.php

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

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

Comments & Activities

Production build 0.71.5 2024