From 3ca95c136bfe7d27e19a27993770a5cd1e8a5f7b Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Fri, 23 Oct 2026 23:00:46 +0530 Subject: [PATCH] Tests: Make data provider in walkerCategory.php static --- tests/phpunit/tests/category/walkerCategory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/category/walkerCategory.php b/tests/phpunit/tests/category/walkerCategory.php index e13ce9bb1047a..4a8b35a44ae62 100644 --- a/tests/phpunit/tests/category/walkerCategory.php +++ b/tests/phpunit/tests/category/walkerCategory.php @@ -56,7 +56,7 @@ static function ( $atts ) use ( $value ) { $this->assertSame( "
  • term_id}\">{$category->name}", trim( $output ) ); } - public function data_start_el_with_empty_attributes() { + public static function data_start_el_with_empty_attributes() { return array( array( '',