[Tests-Only] Phpunit8 20200326#37168
Closed
phil-davis wants to merge 1 commit into
Closed
Conversation
Closed
Codecov Report
@@ Coverage Diff @@
## master #37168 +/- ##
=============================================
- Coverage 64.87% 54.14% -10.74%
=============================================
Files 1269 63 -1206
Lines 74947 7510 -67437
Branches 1331 1331
=============================================
- Hits 48625 4066 -44559
+ Misses 25930 3052 -22878
Partials 392 392
Continue to review full report at Codecov.
|
eff21a9 to
afbc928
Compare
Contributor
Author
|
Remaining warnings are all about use of deprecated methods that look inside private properties of a class. These should be refactored. |
11 tasks
26d06cd to
ec18c84
Compare
5ef2bda to
82e0c05
Compare
82e0c05 to
993f0f1
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
See what happens when phpunit8 is used.
This is on top of the pending/future PR that will drop PHP 7.1 support some time in the future.
Remove undeclared property PHPUnit\Framework\Error\Deprecated - not valid/needed any more with phpunit8
Stop using assertAttributeEquals in tests/lib/ConfigTest.php - that assert is deprecated and being removed. I wrote a function that does an
assertEqualsfor each item.Adjust createMock calls to remove deprecated array of interface names -
createMock()can only be passed a single class/interface.How Has This Been Tested?
CI
Types of changes
Checklist: