Skip to content

chore(renovate): detect docs PHP version, xdebug and phpDocumentor; enable lock file maintenance - #121

Merged
mathroc merged 2 commits into
mainfrom
renovate/detect-missed-deps
Dec 4, 2026
Merged

mathroc merged 2 commits into
mainfrom
renovate/detect-missed-deps

Conversation

@mathroc

@mathroc mathroc commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Make Renovate detect dependencies it currently misses.

Changes

  • renovate.json: extend customManagers:githubActionsVersions and customManagers:dockerfileVersions; enable lockFileMaintenance.
  • .github/workflows/documentation.yml: the docs PHP version moves to a workflow-level PHP_VERSION env var with a # renovate: comment, and php-version: ${{ env.PHP_VERSION }} uses it. The preset only matches *_VERSION keys, so a comment directly above php-version: would not be picked up. The test.yml matrix is unchanged.
  • .docker/Dockerfile: pin xdebug and build it from its GitHub tag tarball (ARG XDEBUG_VERSION=3.6.0alpha1, docker-php-source + docker-php-ext-install). Pin phpDocumentor (ARG PHPDOCUMENTOR_VERSION=3.10.0), downloaded from the versioned GitHub release instead of phpdoc.org/phpDocumentor.phar.
  • .devcontainer/devcontainer.json: remove the dead VARIANT build arg. The Dockerfile has no ARG VARIANT, and this was left over from the Alpine template.

What Renovate now detects

File depName datasource current
.github/workflows/documentation.yml php docker 8.3
.docker/Dockerfile xdebug/xdebug github-tags* (versioning=pep440) 3.6.0alpha1
.docker/Dockerfile phpDocumentor/phpDocumentor github-releases (extractVersion=^v(?<version>.+)$) 3.10.0
composer.lock lock file maintenance — —

* Renovate has no PECL datasource. xdebug's GitHub tags match the PECL versions. With pep440 versioning, 3.6.0alpha1 is treated as a pre-release, so Renovate will move to 3.6.0 final and later releases. The old XDEBUG_2_x tags are ignored.

Validation

  • renovate-config-validator --strict passes.
  • A local renovate --platform=local --dry-run=lookup shows the three deps above with the expected datasources. It proposes php 8.3 → 8.6 for the docs job, and xdebug and phpDocumentor are up to date.
  • docker build .docker now succeeds on php:8.6, with Xdebug v3.6.0alpha1 and phpDocumentor v3.10.0.

⚠️ Notes for reviewers

  • Docs job PHP bump: the docs job uses apigen 7 (alpha) from tools/apigen. Renovate will now propose bumping PHP there (8.3 → 8.6). Before merging that PR, check that apigen still works on the new version.
  • Dev image fixed: .docker/Dockerfile did not build on main, because the php:8.6 image ships without pecl and xdebug 3.5.x rejects PHP 8.6. xdebug is now built from source at 3.6.0alpha1, the same approach as Make Renovate detect missed dependencies doctest#88.

🤖 Generated with Claude Code

…r in Dockerfile

- extend customManagers:githubActionsVersions and customManagers:dockerfileVersions
- enable lockFileMaintenance
- pin xdebug and phpDocumentor versions in .docker/Dockerfile
- drop dead VARIANT build arg from devcontainer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1009909) to head (989ff2a).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##                main      #121   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       117       117           
===========================================
  Files             10        10           
  Lines            406       406           
===========================================
  Hits             406       406           
Flag Coverage Δ
php-8.5 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…PHP 8.6

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mathroc
mathroc merged commit 6281c1d into main Dec 4, 2026
9 checks passed
@mathroc
mathroc deleted the renovate/detect-missed-deps branch December 4, 2026 15:11

This branch was previously deployed

1 inactive deployment
github-pages — 989ff2a1 Deployed Dec 4, 2026 by mathroc via deploy #411
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.

1 participant