Skip to content

Use stricter assertions in tests - #6640

Merged
staabm merged 2 commits into
phpstan:2.3.xfrom
staabm:unitup
Oct 1, 2026
Merged

staabm merged 2 commits into
phpstan:2.3.xfrom
staabm:unitup

Conversation

@staabm

@staabm staabm commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

fixes

assertEmpty() is not allowed. Use more strict assertion.

which we get after phpstan/phpstan-phpunit#325 with strict-rules+bleeding-edge

@staabm
staabm marked this pull request as ready for review October 1, 2026 05:46
@staabm staabm changed the title Use stricter assertions Use stricter assertions in tests Oct 1, 2026
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@staabm
staabm merged commit afdcf35 into phpstan:2.3.x Oct 1, 2026
888 of 908 checks passed
@staabm
staabm deleted the unitup branch October 1, 2026 06:19
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