Skip to content

Raise the minimums that fail and test the lowest dependencies in CI - #62

Merged
stixx merged 1 commit into
mainfrom
ci/lowest-dependencies
Oct 25, 2026
Merged

stixx merged 1 commit into
mainfrom
ci/lowest-dependencies

Conversation

@stixx

@stixx stixx commented Oct 25, 2026

Copy link
Copy Markdown
Owner

CI only installed the newest versions in each Composer range, so the lower bounds were never run. Installing the lowest allowed versions found two that do not work:

  • nelmio/api-doc-bundle below 5.11.1 has no resettable ApiDocGenerator, so a long-running debug worker keeps validating against the OpenAPI document it generated first. The minimum is now 5.11.1.
  • symfony/property-info 6.4.0, which Nelmio allows, constructs phpstan/phpdoc-parser 1.x classes while swagger-php requires phpdoc-parser 2, so every API request fails. symfony/property-info: ^7.4 || ^8.0 is now required directly, like the other Symfony components.

The test logger fixture no longer types its parameters, so it is compatible with psr/log 1, 2 and 3.

A new CI job runs the tests on PHP 8.4 with --prefer-lowest. It runs tests only: static analysis on the oldest tooling reports only noise from old PHPStan extensions.

Nelmio's generator is resettable from 5.11.1, which debug regeneration needs, and
property-info 6.4 fails alongside phpdoc-parser 2. A CI job runs the tests
against the lowest allowed versions.
@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 9cbe551 and 527fbe3.

Files selected for processing: 4
  • .github/workflows/ci.yml
  • CHANGELOG.md
  • composer.json
  • tests/Functional/App/RecordingLogger.php
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@stixx
stixx merged commit 725ff60 into main Oct 25, 2026
11 checks passed
@stixx
stixx deleted the ci/lowest-dependencies branch October 25, 2026 20:05
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