Skip to content

Reimplement assertions removed in PHPUnit 10/12 #14

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

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

W0rma
Copy link
Contributor

@W0rma W0rma commented Feb 20, 2025

I noticed some missing assertions when trying to add missing tests to https://github.com/Codeception/module-asserts

Removed in PHPUnit 10 (sebastianbergmann/phpunit#4602):

  • assertClassHasStaticAttribute
  • assertClassNotHasStaticAttribute

Removed in PHPUnit 12 (sebastianbergmann/phpunit#5473)

  • assertStringNotMatchesFormat
  • assertStringNotMatchesFormatFile

@W0rma W0rma changed the title Reimplement assertions remove in PHPUnit 10/12 Reimplement assertions removed in PHPUnit 10/12 Feb 20, 2025
@Naktibalda Naktibalda merged commit 06750a6 into Codeception:master Mar 10, 2025
@W0rma W0rma deleted the fix-removed-assertions branch March 11, 2025 04:40
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.

2 participants