Default to PHP 8.2
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.
On hold because WordPress only has "Beta" support for PHP 8.2
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.