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

Improve usage of phpunit #442

Merged
merged 1 commit into from Feb 27, 2019
Merged

Conversation

malukenho
Copy link
Collaborator

Copy link
Owner

@Ocramius Ocramius left a 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/ConfigurationTest.php Outdated Show resolved Hide resolved
tests/ProxyManagerTest/ConfigurationTest.php Outdated Show resolved Hide resolved
tests/ProxyManagerTest/ConfigurationTest.php Show resolved Hide resolved
tests/ProxyManagerTest/ConfigurationTest.php Outdated Show resolved Hide resolved
tests/ProxyManagerTest/ConfigurationTest.php Outdated Show resolved Hide resolved
@Ocramius
Copy link
Owner

@malukenho one CS issue left, sorry ^_^''

* 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>
@malukenho
Copy link
Collaborator Author

About the upgrade, I dunno how messy it is gonna be. But I'll try after this one is merged.

@Ocramius
Copy link
Owner

But I'll try after this one is merged.

👍 thanks, and please don't feel obliged to do so!

@Ocramius Ocramius merged commit a2c1e83 into Ocramius:master Feb 27, 2019
@Ocramius Ocramius added this to the 2.3.0 milestone Feb 27, 2019
@malukenho malukenho deleted the improve-test-suite branch February 27, 2019 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants