From a86df0610154a56dda5089ca4b60a06ff1a6b61f Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Fri, 23 Oct 2026 22:32:09 +0530 Subject: [PATCH] Tests: Make data provider in cache.php static --- tests/phpunit/tests/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/cache.php b/tests/phpunit/tests/cache.php index 42fdac9d2de15..a21d672938ebf 100644 --- a/tests/phpunit/tests/cache.php +++ b/tests/phpunit/tests/cache.php @@ -57,7 +57,7 @@ public function test_is_valid_key( $key, $valid ) { * @type bool $valid Whether the key should be considered valid. * } */ - public function data_is_valid_key() { + public static function data_is_valid_key() { return array( 'false' => array( false, false ), 'null' => array( null, false ),