Update CORE_PHP_NEXT to 8.4

Migrated issue

Reported by: claudiu.cristea

Related to !276 (merged)

Problem/Motivation

PHP 8.4 is scheduled to be released on November 21, 2024. It would be good to test our contrib modules with PHP 8.4, even it’s still RC.

Steps to reproduce

With OPT_IN_TEST_MAX_PHP=1 it still runs 8.3

Proposed resolution

Before Drupal Core becomes compatible with PHP8.4, testing can be achieved using

composer (max PHP version):
  variables:
    PHP_VERSION: $CORE_PHP_NEXT

Run on PHP 8.4 when OPT_IN_TEST_MAX_PHP=1

Remaining tasks

  1. Update $CORE_PHP_NEXT from 8.3 to 8.4
  2. Create second MR to update $CORE_PHP_MAX from 8.3 to 8.4 when Drupal Core supports PHP8.4
  3. Work on #3484055 (closed) because currently the "max" jobs should not be run

Related issue: Issue #3427903

Related issue: Issue #3482069

Edited by drupalbot