Fix PHP 8 test fails

Created on 27 December 2020, over 4 years ago
Updated 29 May 2023, almost 2 years ago

Problem/Motivation

Add module compatibility for PHP 8 on Drupal 9.1

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇩🇪Germany Universaldenker

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.

  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    A first step would be to update the testing configuration. Tests are being run on PHP 7.3. The only PHP 8 test is on Drupal 10.1.

  • Status changed to Closed: outdated almost 2 years ago
  • 🇨🇭Switzerland berdir Switzerland

    This is an old issue, while there seem to be some D10.1 test issues atm, PHP8 test fails were fixed as part of D10 compatibility.

  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    The testing config is still out of date and tests are failing on the PHP 8 testing configurations that do exist.

  • 🇨🇭Switzerland berdir Switzerland

    The test configurations deliberately test on the lowest supported version on D9, and D10.0 is passing except a single hal related issue on PHP8, the other 10.1 fails are new, so they are not PHP 8 related. You're welcome to create a new issue for the D10 issues, I'll get to it at some point too.

  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    It would be helpful to see Drupal 9 tests on more recent PHP. That allows people to see whether the module is likely to work if they are running more recent PHP.

Production build 0.71.5 2024