Skip to content

test: add void return type to tearDown() for PHPUnit 9 compat#69

Merged
nicdavidson merged 1 commit intodevelopfrom
test/phpunit-teardown-return-type
Apr 21, 2026
Merged

test: add void return type to tearDown() for PHPUnit 9 compat#69
nicdavidson merged 1 commit intodevelopfrom
test/phpunit-teardown-return-type

Conversation

@nicdavidson
Copy link
Copy Markdown
Contributor

Summary

  • PHPUnit 9 flags tearDown() without an explicit : void return type as deprecated; the warning trips strict runs across consumers of this trait.

Test plan

  • CI passes on this branch

PHPUnit 9 marks tearDown() without an explicit `: void` return type as
deprecated and the warning breaks strict test runs.
@nicdavidson nicdavidson merged commit f0ed929 into develop Apr 21, 2026
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