reusable-workflows icon indicating copy to clipboard operation
reusable-workflows copied to clipboard

Default to PHP 8.2

Open tyrann0us opened this issue 2 years ago • 1 comments

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines
  • [ ] Tests for the changes have been added (for bug fixes/features)
  • [x] Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Refactor

What is the current behavior? (You can also link to an open issue here) All PHP-based reusable workflows default to PHP 8.0, which reached EOL on 2023-11-26.

What is the new behavior (if this is a feature change)? Default all PHP-based reusable workflows to PHP 8.2, which will reach EOL on 2025-12-08.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) Yes. All calling workflows not specifying a PHP version with the PHP_VERSION input will run on PHP 8.2, potentially causing the workflow to fail.

Other information: Closes #44.

tyrann0us avatar Feb 06 '24 10:02 tyrann0us

On hold because WordPress only has "Beta" support for PHP 8.2

tyrann0us avatar Feb 13 '24 09:02 tyrann0us

On hold because WordPress only has "Beta" support for PHP 8.2

WordPress 6.6 officially supports PHP 8.2; see https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/. PR is no longer on hold.

tyrann0us avatar Sep 30 '24 13:09 tyrann0us