Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Fixture Listener with schema loader #13

Open
Staubiii opened this issue Nov 1, 2023 · 0 comments
Open

Replace Fixture Listener with schema loader #13

Staubiii opened this issue Nov 1, 2023 · 0 comments

Comments

@Staubiii
Copy link
Member

Staubiii commented Nov 1, 2023

TestListenerTrait was removed. PHPUnit dropped support for these listeners. See PHPUnit 10 Upgrade

https://book.cakephp.org/5/en/appendices/5-0-migration-guide.html#testsuite

This leads to a deprecation message with newer PHPUnit 9.x versions:

composer test
phpunit
Deprecated: 4.5.0 - TestListenerTrait is deprecated, as PHPUnit is removing support for listeners.

Necessary changes:
cakephp/debug_kit@8a2ad6a#diff-e35810879ec42bdd81797b3ccb72f6de28a8b4a0e3bfdba43183e133e866b892

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant