-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Tests-Only] Bump phpunit/phpunit from 7.5.20 to 8.5.4 #37307
Conversation
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 7.5.20 to 8.5.4. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-8.5.md) - [Commits](sebastianbergmann/phpunit@7.5.20...8.5.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Codecov Report
@@ Coverage Diff @@
## master #37307 +/- ##
=========================================
Coverage 64.53% 64.53%
Complexity 19166 19166
=========================================
Files 1266 1266
Lines 74952 74952
Branches 1331 1331
=========================================
Hits 48372 48372
Misses 26188 26188
Partials 392 392
Continue to review full report at Codecov.
|
The phpunit warnings that needed to be fixed were:
|
public function __construct($parameters) { | ||
} | ||
|
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.
This was needed because of: https://drone.owncloud.com/owncloud/core/24405/13/9
PHPUnit 8.5.3 by Sebastian Bergmann and contributors.
Runtime: PHPDBG 7.2.27-6+ubuntu18.04.1+deb.sury.org+1
Configuration: /drone/src/tests/phpunit-autotest.xml
............................................................. 61 / 9984 ( 0%)
........................S.................................... 122 / 9984 ( 1%)
............................................................. 183 / 9984 ( 1%)
............................................................. 244 / 9984 ( 2%)
............................................................. 305 / 9984 ( 3%)
............................................................. 366 / 9984 ( 3%)
............................................................. 427 / 9984 ( 4%)
............................................................. 488 / 9984 ( 4%)
............................................................. 549 / 9984 ( 5%)
............................................................. 610 / 9984 ( 6%)
............................................................. 671 / 9984 ( 6%)
............................................................. 732 / 9984 ( 7%)
............................................................. 793 / 9984 ( 7%)
............................................................. 854 / 9984 ( 8%)
............................................................. 915 / 9984 ( 9%)
............................................................. 976 / 9984 ( 9%)
............................................................. 1037 / 9984 ( 10%)
.......................S........SS........................... 1098 / 9984 ( 10%)
............................................................. 1159 / 9984 ( 11%)
............................................................. 1220 / 9984 ( 12%)
............................................................. 1281 / 9984 ( 12%)
............................................................. 1342 / 9984 ( 13%)
............................................................. 1403 / 9984 ( 14%)
............................................................. 1464 / 9984 ( 14%)
............................................................. 1525 / 9984 ( 15%)
............................................................. 1586 / 9984 ( 15%)
............................................................. 1647 / 9984 ( 16%)
............................................................. 1708 / 9984 ( 17%)
............................................................. 1769 / 9984 ( 17%)
............................................................. 1830 / 9984 ( 18%)
............................................................. 1891 / 9984 ( 18%)
............................................................. 1952 / 9984 ( 19%)
............................................................. 2013 / 9984 ( 20%)
..
[PHP Fatal error: Class Mock_Common_a6b4666b contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Files\Storage::__construct) in /drone/src/lib/composer/phpunit/phpunit/src/Framework/MockObject/MockClass.php(42) : eval()'d code on line 3]
PHPunit 8 had trouble mocking the constructor of an abstract class, when the constructor itself is abstract. Putting a "dummy" implementation here helped it. Classes that extend Common
implement their own constructor anyway, which will override this.
Bumps phpunit/phpunit from 7.5.20 to 8.5.4.
Changelog
Sourced from phpunit/phpunit's changelog.
Commits
8474e22
Prepare release1b02a08
Update Psalm baselineb84b397
Fix wrong phpdoccb13599
Document fluent methods as such1cc2dcf
Update tools7482fe2
Update tools7b52d01
Update testsa6999a6
Use @psalm-var instead of @var (so that PHP-CS-Fixer does not touch these)47d3358
Fix CS/WS issuesd88df6c
Update toolsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in your Dependabot dashboard: