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

[8.x] Refactor setMethods to onlyMethods and addMethods #35480

Merged
merged 1 commit into from Dec 4, 2020

Conversation

soilSpoon
Copy link
Contributor

MockBuilder::setMethods is soft deprecated as of PHPUnit 9
So I refactor the test.

Please merge #35474 after merging

sebastianbergmann/phpunit#3687

@driesvints
Copy link
Member

Why did you change the onlyMethods usages to addMethods?

@driesvints
Copy link
Member

Also please revert the change to testBeginTransactionMethodRetriesOnFailure. This change will be merged upstream from your other PR.

@soilSpoon soilSpoon closed this Dec 3, 2020
`MockBuilder::setMethods` is soft deprecated as of PHPUnit 9
So I refactor the test.

Please merge laravel#35474  after merging

sebastianbergmann/phpunit#3687
@soilSpoon
Copy link
Contributor Author

@driesvints It's my mistake, I corrected it

@taylorotwell taylorotwell merged commit a8f7118 into laravel:8.x Dec 4, 2020
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.

None yet

4 participants