Skip to content

Commit 079a072

Browse files
anomiexmatticbot
authored andcommitted
tests: Fix PHPUnit 12.5 whining about mocks versus stubs (#46260)
PHPUnit 12.5 has started complaining about the use of mocks when stubs would be sufficient. Unfortunately the ability to create partial stubs was only added in 12.5.1, so in many cases we have to just set the attribute to ignore the complaints. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/20144146632 Upstream-Ref: Automattic/jetpack@6e2cd72
1 parent 49edb01 commit 079a072

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "GPL-2.0-or-later",
66
"require-dev": {
77
"yoast/phpunit-polyfills": "^4.0.0",
8-
"automattic/jetpack-changelogger": "^6.0.11",
8+
"automattic/jetpack-changelogger": "^6.0.12-alpha",
99
"automattic/phpunit-select-config": "^1.0.3"
1010
},
1111
"autoload": {

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)