Problem/Motivation

Drupal core supports PHP 8.5 from Drupal 11.3. Varbase 9.2.x, 10.1.x and 11.0.x run on Drupal 11.4, and their modules, recipes and themes have been checked on PHP 8.5.

The Varbase profile's own CI still runs its PHPCS and PHPStan jobs on PHP 8.3.

Proposed resolution

Use PHP 8.5 as the default PHP version for the Varbase profile's development and CI on the 9.2.x, 10.1.x and 11.0.x branches, while the supported PHP range stays as Drupal core defines it:

  • GitLab CI: the PHPCS and PHPStan jobs on php:8.5-cli (.gitlab-ci.yml and .gitlab-ci-local.yml).

Varbase 9.1.x and 10.0.x (Drupal 10.6) stay on PHP 8.4, the highest PHP that Drupal 10 supports.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • task: Change default PHP version to PHP 8.5 for Varbase

Issue fork varbase-3638902

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue.

  • rajab natshah committed e3a848bc on 9.2.x
    task: #3638902 Change default PHP version to PHP 8.5 for Varbase (9.2.x)
    

  • rajab natshah committed 3f8ebe6b on 10.1.x
    task: #3638902 Change default PHP version to PHP 8.5 for Varbase (10.1.x...

  • rajab natshah committed 92e31efd on 11.0.x
    task: #3638902 Change default PHP version to PHP 8.5 for Varbase (11.0.x...