Skip to content

Integrate PHPUnit agent reporter into packaged config#328

Merged
coisa merged 2 commits intomainfrom
bugfix/327-phpunit-agent-reporter
May 1, 2026
Merged

Integrate PHPUnit agent reporter into packaged config#328
coisa merged 2 commits intomainfrom
bugfix/327-phpunit-agent-reporter

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented May 1, 2026

Summary

  • add ergebnis/phpunit-agent-reporter as a package dependency
  • register the agent reporter directly in the packaged phpunit.xml
  • document that overriding phpunit.xml must re-register both packaged extensions when the same behavior is desired

Testing

  • vendor/bin/phpunit tests/PhpUnit/Runner/Extension/DevToolsExtensionTest.php tests/Console/Command/TestsCommandTest.php
  • vendor/bin/ecs check src/PhpUnit/Runner/Extension/DevToolsExtension.php tests/PhpUnit/Runner/Extension/DevToolsExtensionTest.php

Closes #327

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

@coisa coisa merged commit a97abb2 into main May 1, 2026
11 of 12 checks passed
@coisa coisa deleted the bugfix/327-phpunit-agent-reporter branch May 1, 2026 09:14
@github-project-automation github-project-automation Bot moved this from Backlog to Released in PHP Fast Forward Project May 1, 2026
github-actions Bot added a commit that referenced this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Integrate ergebnis/phpunit-agent-reporter into agent-aware PHPUnit runs

1 participant