Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request downgrades the minimum supported PHP version from 8.1 to 8.0 across the entire codebase. The change is comprehensive and includes updates to plugin metadata, documentation, CI/CD workflows, and development dependencies to ensure PHP 8.0 compatibility.
Key changes:
- Updated minimum PHP version requirement from 8.1 to 8.0 in all documentation and configuration files
- Downgraded multiple Symfony packages and other dev dependencies to versions compatible with PHP 8.0
- Updated GitHub Actions workflows to test against PHP 8.0 instead of 8.1
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| speechkit.php | Updated "Requires PHP" metadata from 8.1 to 8.0 |
| rector.php | Changed PHP feature set from php81 to php80 |
| readme.txt | Updated version requirements and added changelog entry for version 6.0.3 with PHP 8.0 support, marked previous 8.1 requirement as obsolete |
| grumphp.yml | Removed phpversion check task from pre-commit hooks |
| doc/code-quality-checks.md | Updated documentation to reflect PHP 8.0 minimum version |
| composer.lock | Updated lock file with downgraded dependency versions compatible with PHP 8.0 |
| composer.json | Downgraded behat/behat, doctrine/instantiator, phpro/grumphp, and multiple symfony/* packages to older major versions |
| README.md | Updated PHP version badge to show 8.0+ support |
| .wp-env.override.json.example | Added phpVersion configuration set to 8.0 |
| .github/workflows/main.yml | Updated all PHP version references and cache keys from 8.1 to 8.0 across multiple jobs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
nklhtv
approved these changes
Dec 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To support PHP 8.0 we need Symfony 5.4, which was released before PHP 8.4 and has deprecation warnings with PHP 8.4's stricter nullable parameter rules.
Symfony 5.4 triggers deprecation warnings on PHP 8.4.
PHP version support and configuration updates:
README.md,readme.txt,speechkit.php), configuration files (.wp-env.override.json.example,rector.php), and workflow files (.github/workflows/main.yml). [1] [2] [3] [4] [5] [6] [7] [8]readme.txtto reflect PHP 8.0 as the new minimum supported version. [1] [2]GitHub Actions and Composer workflow changes:
Development dependency adjustments:
require-devdependencies incomposer.jsonto older major versions compatible with PHP 8.0 (e.g.,behat/behat,doctrine/instantiator,phpro/grumphp, and varioussymfony/*packages).Code quality and pre-commit configuration:
phpversioncheck from pre-commit tasks. [1] [2] [3]