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

[stable18] Fix PHPUnit deprecation warnings #22058

Merged
merged 5 commits into from Jul 30, 2020

Conversation

MorrisJobke
Copy link
Member

Backport of #21972 (resolved conflicts which were mainly due to changed code style)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
See sebastianbergmann/phpunit#3339 (comment)

It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
…ameter

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
…ls in constructor tests

I removed the tests completely because they just test that the constructor assigns the values to the internal properties. Nothing that should be cared about from the outside.

See sebastianbergmann/phpunit#3339 (comment)

It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
Copy link
Member Author

/backport to stable17

@MorrisJobke MorrisJobke merged commit 271200d into stable18 Jul 30, 2020
@MorrisJobke MorrisJobke deleted the backport/21972/stable18 branch July 30, 2020 12:12
@rullzer rullzer mentioned this pull request Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants