-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Improve usage of phpunit #442
Conversation
70ba51d
to
fc4bfbb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malukenho can you try bumping to PHPUnit 8.x too? Or is that too messy?
tests/ProxyManagerTest/Factory/LazyLoadingValueHolderFactoryTest.php
Outdated
Show resolved
Hide resolved
tests/ProxyManagerTest/Factory/AccessInterceptorScopeLocalizerFactoryTest.php
Outdated
Show resolved
Hide resolved
tests/ProxyManagerTest/Functional/AccessInterceptorValueHolderFunctionalTest.php
Outdated
Show resolved
Hide resolved
tests/ProxyManagerTest/ProxyGenerator/LazyLoadingValueHolder/MethodGenerator/MagicCloneTest.php
Outdated
Show resolved
Hide resolved
fc4bfbb
to
840a399
Compare
@malukenho one CS issue left, sorry ^_^'' |
840a399
to
3b47c1e
Compare
* Remove unnecessary assertions * Avoid using deprecated assertions (sebastianbergmann/phpunit#3338) * Add more entropy when needed * Use static methods whenever possible (providers, test cases that don't access object context) Signed-off-by: Jefersson Nathan <malukenho.dev@gmail.com>
3b47c1e
to
7fdd8ea
Compare
About the upgrade, I dunno how messy it is gonna be. But I'll try after this one is merged. |
👍 thanks, and please don't feel obliged to do so! |
(Deprecate assertions (and helper methods) that operate on (non-public) attributes sebastianbergmann/phpunit#3338)