Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 30, 2025

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.json currently 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

  • Updated .github/workflows/tests.yml to include PHP 8.2 in the testing matrix
  • The workflow now tests against PHP versions: 8.2, 8.3, and 8.4

Testing

This change ensures that:

  • All supported PHP versions are covered by CI
  • Potential compatibility issues with PHP 8.2 will be caught early
  • Users can have confidence that the package works correctly on PHP 8.2

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
    • Triggering command: /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
    • Triggering command: /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
    • Triggering command: /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

could u plz add php 8.2 to the tests matrix aswell lol.

Created from VS Code via the [GitHub Pull Request](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) extension.

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: munezaclovis <51137458+munezaclovis@users.noreply.github.com>
Copilot AI changed the title [WIP] could u plz add php ... Add PHP 8.2 to testing matrix Sep 30, 2025
Copilot AI requested a review from munezaclovis September 30, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants