Skip to content

Use php-version-action to derive CI PHP matrix#72

Merged
MekDrop merged 2 commits intomainfrom
codex/use-php-version-matrix
Mar 30, 2026
Merged

Use php-version-action to derive CI PHP matrix#72
MekDrop merged 2 commits intomainfrom
codex/use-php-version-matrix

Conversation

@Codex
Copy link
Copy Markdown
Contributor

@Codex Codex AI commented Mar 30, 2026

CI PHP versions should follow composer.json instead of a hardcoded list.

  • Matrix source
    • Add php-versions job using antfroger/php-version-action@v1 to emit supported PHP versions from composer.json.
  • Test job update
    • Consume the generated matrix for php while retaining existing OS matrix and test steps.

Example: matrix is now driven by action output

php-versions:
  steps:
    - uses: antfroger/php-version-action@v1

tests:
  needs: php-versions
  strategy:
    matrix:
      php: ${{ fromJson(needs.php-versions.outputs.matrix) }}
      os: [ubuntu-latest]

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/PHPCSStandards/PHP_CodeSniffer/zipball/0525c73950de35ded110cffafb9892946d7771b5
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/phpstan/phpstan/zipball/4a88c083c668b2c364a425c9b3171b2d9ea5d218
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/90f41072d220e5c40df6e8635f5dafba2d9d4d04
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a7de5df2e094f9a80b40a522391a7e6022df5f6
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/complexity/zipball/bad4316aba5303d0221f43f8cee37eb58d384bbb
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/diff/zipball/7ab1ea946c012266ca32390913653d844ecd085f
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/environment/zipball/7b8842c2d8e85d0c3a5831236bf5869af6ab2a11
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/exporter/zipball/016951ae10980765e4e7aee491eb288c64e505b7
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/global-state/zipball/ef1377171613d09edd25b7816f05be8313f9115d
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/97ffee3bcfb5805568d6af7f0f893678fc076d2f
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1effe8e9b8e068e9ae228e542d5d11b5d16db894
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/4bfa827c969c98be1e527abd576533293c634f6a
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b015312f28dd75b75d3422ca37dff2cd1a565e8d
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3d1cd096ef6bea4bf2762ba586e35dbd317cbfd5
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/12b54e689b07a25a9b41e57736dfab6ec9ae5406
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/e1367a453f0eda562eedb4f659e13aa900d66c53
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/php-timer/zipball/f258ce36aa457f3aa3339f9ed4c81fc66dc8c2cc
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/phpunit/zipball/47283cfd98d553edcb1353591f4e255dc1bb61f0
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/0b01998a7d5b1f122911a66bebcb8d46f0c82d8c
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/type/zipball/e549163b9760b8f71f191651d22acf32d56d6d4d
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/sebastianbergmann/version/zipball/3e6ccf7657d4f0a59200564b08cead899313b53c
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/squizlabs/PHP_CodeSniffer
    • Triggering command: /usr/bin/curl curl -I REDACTED git bran�� tnet/tools/git git odex/vendor/x86_64-REDACTED-linux-musl/path/git en git it git rev-�� --git-dir git odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git en git -musl/path/git git (http block)
  • https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)
  • https://api.github.com/repos/theseer/tokenizer/zipball/7989e43bf381af0eac72e4f0ca5bcbfa81658be4
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/xeuLk0 /usr/bin/composer install --no-progress tnet/tools/git ame (http block)
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/DsEaoz /usr/bin/composer install --no-progress odules/@openai/codex/vendor/x86_64-REDACTED-linux-musl/path/git (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Co-authored-by: MekDrop <342641+MekDrop@users.noreply.github.com>
@Codex Codex AI changed the title [WIP] Use antfroger/php-version-action for PHP versions matrix Use php-version-action to derive CI PHP matrix Mar 30, 2026
@Codex Codex AI requested a review from MekDrop March 30, 2026 12:15
@MekDrop MekDrop marked this pull request as ready for review March 30, 2026 12:32
@MekDrop MekDrop merged commit 8c8b980 into main Mar 30, 2026
5 checks passed
@MekDrop MekDrop deleted the codex/use-php-version-matrix branch March 30, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants