Testing different PHP versions

Created on 10 June 2025, 24 days ago

Hi folks,

Is there any of testing against multiple PHP versions?

We are using office_hours in LocalGov Drupal and do test against PHP 8.1, 8.2, 8.3, 8.4.

Recent changes here have broken tests for earlier versions, so we're now pinning to 1.28

It would be great to be able to support multiple versions of PHP confidently.

Many thanks,

Finn

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom finn lewis Oxford

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

Comments & Activities

  • Issue created by @finn lewis
  • 🇳🇱Netherlands johnv

    In the past, one could test against different version of PHP.
    The new system does not support that, I believe.

    When developing, I work in 1 version, so, indeed, sometimes a PHP8.3 feature was built in, innocently.
    Now, I have several issues for this and other module that should be postponed, until 8.1 and 8.2 are not supported anymore.

    If you have any tests failing, I am happy to revert some code.
    Please create an issue in that case.

Production build 0.71.5 2024