yiisoft / yiisoft/yii-debug-api

feat: add PHP 8.5 support

Open Beginner friendly
#163 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Summary

The current composer.json restricts PHP to 8.1 - 8.4, which explicitly excludes PHP 8.5+.

Background

This constraint was introduced in PR #156 (merged 2025-07-25) when PHP 8.4 support was added. At that time, the CI matrix was updated to include 8.4, and the version range was narrowed to match the tested versions — which is a reasonable practice. However, PHP 8.5 has since been released, and the constraint has not been updated.

Analysis

After reviewing the codebase, there are no known PHP 8.5 incompatibilities in this package. The restriction appears to be purely declarative (CI has not been run against 8.5 yet), rather than a technical limitation.

Request

Please consider:

  1. Adding 8.5 to the CI test matrix (GitHub Actions)
  2. Updating composer.json to extend the PHP constraint to 8.1 - 8.5

Context

We are running a Yii3 project that targets PHP 8.5 (~8.5.0). This package is currently installable only with --ignore-platform-req=php, which is a workaround we'd like to avoid. All other yiisoft/* packages in our stack already declare 8.1 - 8.5 support.

Thank you for maintaining this package!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing composer.json and the GitHub Actions CI configuration, especially the existing PHP version matrix. Run the current CI checks with PHP 8.5 and confirm the package dependency constraint accepts it. Done means PHP 8.5 is tested in CI and declared as supported without requiring --ignore-platform-req=php.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, php
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.