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 deprecated methods from phpunit issue 5062 #284

Merged
merged 1 commit into from Nov 3, 2023

Conversation

eerison
Copy link
Contributor

@eerison eerison commented Nov 2, 2023

On issue sebastianbergmann/phpunit#5062 was deprecated few methods.

then I am applying the replacement for methods that has other method to substitute.

you can check here in this file: https://github.com/sebastianbergmann/phpunit/blob/9.6/src/Framework/TestCase.php

@eerison eerison marked this pull request as draft November 2, 2023 13:32
@eerison eerison force-pushed the patch-1 branch 2 times, most recently from fbd93c4 to adf429f Compare November 2, 2023 13:37
@eerison eerison marked this pull request as ready for review November 2, 2023 13:38
@samsonasik samsonasik merged commit d09bee8 into rectorphp:main Nov 3, 2023
5 checks passed
@samsonasik
Copy link
Member

Thank you @eerison

@Wirone
Copy link

Wirone commented Dec 14, 2023

Is this PR valid, though? Considering this comment you can't just change e.g. expectDeprecationMessage to expectExceptionMessage, because these errors won't be converted into exceptions.

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

3 participants