Skip to content

Composer(deps): update ergebnis/agent-detector requirement from ^2.0 to ^3.0 in the composer-production group - #405

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/composer-production-8b2d17cb55
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/composer-production-8b2d17cb55

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on ergebnis/agent-detector to permit the latest version.
Updates ergebnis/agent-detector to 3.0.0

Release notes

Sourced from ergebnis/agent-detector's releases.

3.0.0

What's Changed

Full Changelog: ergebnis/agent-detector@2.2.0...3.0.0

Changelog

Sourced from ergebnis/agent-detector's changelog.

[3.0.0][3.0.0]

For a full diff see [2.2.0...3.0.0][2.2.0...3.0.0].

Changed

  • Turned Detector into an interface and extracted EnvironmentDetector (#171), by [@​localheinz]

    To upgrade, replace instantiations of Detector with instantiations of EnvironmentDetector:

    -$detector = new AgentDetector\Detector();
    +$detector = new AgentDetector\EnvironmentDetector();

Fixed

  • Added paragraph about allowing installation to PHP version support policy (#167), by [@​localheinz]

[2.2.0][2.2.0]

For a full diff see [2.1.0...2.2.0][2.1.0...2.2.0].

Changed

[2.1.0][2.1.0]

For a full diff see [2.0.0...2.1.0][2.0.0...2.1.0].

Added

[2.0.0][2.0.0]

For a full diff see [1.3.0...2.0.0][1.3.0...2.0.0].

Added

  • Added support for disabling the detection by setting the AGENT_DETECTOR_DISABLE environment variable to a non-empty value (#140), by [@​localheinz]

Changed

  • Adjusted Detector::isAgentPresent() to read the known agent environment variables itself instead of expecting all environment variables as an argument (#122), by [@​localheinz]

Fixed

  • Adjusted Detector::isAgentPresent() to treat environment variables with empty values as not set (#134), by [@​localheinz]

... (truncated)

Commits
  • d1a9b8d Enhancement: Prepare release
  • 1a2765b Merge pull request #171 from ergebnis/enhancement/environment-detector
  • af2cf31 Enhancement: Turn Detector into an interface and extract EnvironmentDetector
  • 8683c52 Merge pull request #168 from ergebnis/dependabot/composer/phpstan/phpstan-php...
  • f84f703 composer(deps-dev): Bump phpstan/phpstan-phpunit from 2.1.2 to 2.1.3
  • 1141ed3 Merge pull request #167 from ergebnis/fix/add-paragraph-about-allowing-instal...
  • 3791967 Fix: Add paragraph about allowing installation to PHP version support policy
  • e1b6e0c Merge pull request #164 from ergebnis/dependabot/composer/ergebnis/composer-n...
  • 7719e07 composer(deps-dev): Bump ergebnis/composer-normalize
  • 224a245 Merge pull request #166 from ergebnis/dependabot/composer/phpstan/phpstan-dep...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [ergebnis/agent-detector](https://github.com/ergebnis/agent-detector) to permit the latest version.

Updates `ergebnis/agent-detector` to 3.0.0
- [Release notes](https://github.com/ergebnis/agent-detector/releases)
- [Changelog](https://github.com/ergebnis/agent-detector/blob/main/CHANGELOG.md)
- [Commits](ergebnis/agent-detector@2.0.0...3.0.0)

---
updated-dependencies:
- dependency-name: ergebnis/agent-detector
  dependency-version: 3.0.0
  dependency-type: direct:production
  dependency-group: composer-production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from coisa as a code owner December 3, 2026 23:09
@dependabot dependabot Bot added the dependencies Changes to repository dependencies or their update automation label Dec 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: composer. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5fb5fde4-1748-492d-a75f-f2bd2ce63ec9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

@coisa

coisa commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

A atualização de ergebnis/agent-detector para ^3.0 bloqueia a inicialização do Dev Tools neste PR. No CI do PHP 8.3, o PHP-DI tenta instanciar Ergebnis\AgentDetector\Detector ao resolver RuntimeEnvironment e falha com the class is not instantiable. A matriz falhou também no PHP 8.4 e 8.5.

Antes do merge, adapte o binding do container para uma implementação concreta compatível com a v3 e rode novamente a matriz.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Changes to repository dependencies or their update automation

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant