Add PHP 8.2 to testing matrix #10
Draft
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.
This PR adds PHP 8.2 to the GitHub Actions testing matrix to ensure the package is properly tested against all supported PHP versions.
Background
The
composer.jsoncurrently specifies"php": "^8.2"as a requirement, indicating that the package supports PHP 8.2 and above. However, the GitHub Actions workflow was only testing against PHP 8.3 and 8.4, leaving PHP 8.2 untested despite being officially supported.Changes
.github/workflows/tests.ymlto include PHP 8.2 in the testing matrixTesting
This change ensures that:
The change is minimal and only affects the CI configuration without modifying any application code.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/phpstan/phpstan/zipball/d618573eed4a1b6b75e37b2e0b65ac65c885d88e/usr/bin/php8.3 -n -c /tmp/DilWxz /usr/bin/composer install --prefer-dist --no-progress(http block)https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70/usr/bin/php8.3 -n -c /tmp/DilWxz /usr/bin/composer install --prefer-dist --no-progress(http block)https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c/usr/bin/php8.3 -n -c /tmp/DilWxz /usr/bin/composer install --prefer-dist --no-progress(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.