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

PhpUnit 8.3 deprecation notice #28

Closed
robbah opened this issue Jan 8, 2020 · 3 comments
Closed

PhpUnit 8.3 deprecation notice #28

robbah opened this issue Jan 8, 2020 · 3 comments

Comments

@robbah
Copy link

robbah commented Jan 8, 2020

I am receiving this deprecation notice when running on PhpUnit 8.3.5

The "PHPUnit\TextUI\ResultPrinter" class is considered internal This class is not covered by the backward compatibility promise for PHPUnit. It may change without further notice. You should not use it from "Sempro\PHPUnitPrettyPrinter\PrettyPrinter"

@AdamKyle
Copy link

It sounds like you should replace the class with phpunit's - in other words, sounds like this package is now internal in their own implementation. I could be wrong.

@ecrmnn
Copy link
Contributor

ecrmnn commented Jan 17, 2020

Apparently PHPUnit\TextUI\ResultPrinter is @internal in version 8. I'm not experiencing this when using PHPUnit 7. Not sure how to fix this yet.

Seems like other printers have this too.
mikeerickson/phpunit-pretty-result-printer#155

@parkourben99
Copy link

parkourben99 commented Feb 9, 2020

It looks like they have replaced this class with a interface in phpunit 9.

This was referenced Mar 22, 2020
@ventrec ventrec closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants