Support PHP versions higher than 7.3

Created on 9 January 2023, over 1 year ago
Updated 27 January 2023, over 1 year ago

Problem/Motivation

When try to install the module via composer in Drupal 8.9 it throws following error:
Problem 1
- mpdf/mpdf[v7.0.0-beta1, ..., v7.0.0-beta2] require php ^5.6 || ~7.0.0 || ~7.1.0 -> your php version (7.4.33) does not satisfy that requirement.
- mpdf/mpdf[v7.0.0-RC1, ..., v7.1.6] require php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- mpdf/mpdf[v7.1.7, ..., v7.1.9] require php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- drupal/pdf_using_mpdf 2.2.0 requires mpdf/mpdf ^7.0.0 -> satisfiable by mpdf/mpdf[v7.0.0-beta1, ..., v7.1.9].
- Root composer.json requires drupal/pdf_using_mpdf ^2.2 -> satisfiable by drupal/pdf_using_mpdf[2.2.0].

Steps to reproduce

Proposed resolution

Port the module compatible with latest php versions

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Closed: duplicate

Version

2.2

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia MukhtarM

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: duplicate over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine gilmord ๐Ÿ‡บ๐Ÿ‡ฆUkraine

    Hi, please check this issue:
    https://www.drupal.org/project/pdf_using_mpdf/issues/3205270 ๐Ÿ’ฌ Support PHP 7.4+ (mPDF 8) Fixed

    It has steps to fix the capability issue before the fix is merged.

    Also checking the patch - I am not sure which version of the code you used to provide this patch.
    It should be applicable to the latest dev version (8.x-2.x), as in the patch I see a lot of changes already fixed in the dev branch.

    Changing the composer.json requirements won`t help here unless you do hacks with requirements (see this comment here https://www.drupal.org/project/pdf_using_mpdf/issues/3205270#comment-142... ๐Ÿ’ฌ Support PHP 7.4+ (mPDF 8) Fixed )

    Closing this issue as a duplicate.

Production build 0.69.0 2024