Repository navigation
chore(renovate): detect docs PHP version, xdebug and phpDocumentor; enable lock file maintenance - #121
Merged
Conversation
…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 Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 117 117
===========================================
Files 10 10
Lines 406 406
===========================================
Hits 406 406
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…PHP 8.6 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Make Renovate detect dependencies it currently misses.
Changes
renovate.json: extendcustomManagers:githubActionsVersionsandcustomManagers:dockerfileVersions; enablelockFileMaintenance..github/workflows/documentation.yml: the docs PHP version moves to a workflow-levelPHP_VERSIONenv var with a# renovate:comment, andphp-version: ${{ env.PHP_VERSION }}uses it. The preset only matches*_VERSIONkeys, so a comment directly abovephp-version:would not be picked up. Thetest.ymlmatrix 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 ofphpdoc.org/phpDocumentor.phar..devcontainer/devcontainer.json: remove the deadVARIANTbuild arg. The Dockerfile has noARG VARIANT, and this was left over from the Alpine template.What Renovate now detects
.github/workflows/documentation.ymlphp.docker/Dockerfilexdebug/xdebugversioning=pep440).docker/DockerfilephpDocumentor/phpDocumentorextractVersion=^v(?<version>.+)$)composer.lock* Renovate has no PECL datasource. xdebug's GitHub tags match the PECL versions. With
pep440versioning,3.6.0alpha1is treated as a pre-release, so Renovate will move to3.6.0final and later releases. The oldXDEBUG_2_xtags are ignored.Validation
renovate-config-validator --strictpasses.renovate --platform=local --dry-run=lookupshows the three deps above with the expected datasources. It proposesphp8.3 → 8.6 for the docs job, and xdebug and phpDocumentor are up to date.docker build .dockernow succeeds onphp:8.6, with Xdebug v3.6.0alpha1 andphpDocumentor v3.10.0.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..docker/Dockerfiledid not build on main, because thephp:8.6image ships withoutpecland 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