Fix: Add void return type to AdminTest::setUp and revert wp_mock constraint

This commit is contained in:
2025-04-18 18:22:42 +01:00
parent 51183c378e
commit 3d739915d7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"10up/wp_mock": "^1.0",
"10up/wp_mock": "^0.4.2",
"antecedent/patchwork": "^2.1.21"
},
"autoload": {

View File

@@ -30,7 +30,7 @@ class AdminTest extends \WP_Mock\Tools\TestCase {
/**
* Set up test environment
*/
public function setUp() {
public function setUp(): void {
parent::setUp();
// Set up mocks