Skip to content

Add the error suppression operation to the test triggering deprecation - #1527

Open
DeveloperRob wants to merge 1 commit into
mockery:1.6.xfrom
DeveloperRob:add-error-suppression-to-test-mustBe-call-to-suppress-deprecation
Open

DeveloperRob wants to merge 1 commit into
mockery:1.6.xfrom
DeveloperRob:add-error-suppression-to-test-mustBe-call-to-suppress-deprecation

Conversation

@DeveloperRob

@DeveloperRob DeveloperRob commented Sep 30, 2026 •

Copy link
Copy Markdown

In Tests\Unit\Mockery\ArgumentTest, testArgumentMatcher still covers Argument::mustBe which is now deprecated. This PR adds the error suppression operator before the call, resolving the warnings on the github actions / preventing surplus errors being logged.

If it is prefered for this PR to be include on one branch with #1526 and/or #1528 then please let me know, I have initially split the changes so if you don't want to merge any you can still easily merge any that you do want to.

…Be` call in `Tests\Unit\Mockery\ArgumentTest`

This branch has not been deployed

No deployments
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