From 896368e4f3fc173583b18725604a50ee2a6a6d06 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 6 Sep 2024 17:21:02 +1200 Subject: [PATCH] DEP Use PHPUnit 11 --- tests/php/BlogPostTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/php/BlogPostTest.php b/tests/php/BlogPostTest.php index 51abc217..e0ae4968 100644 --- a/tests/php/BlogPostTest.php +++ b/tests/php/BlogPostTest.php @@ -45,7 +45,7 @@ public function testCanView($date, $user, $page, $canView, $stage) * - expected result * - versioned stage */ - public function canViewProvider() + public static function canViewProvider() { $someFutureDate = '2013-10-10 20:00:00'; $somePastDate = '2009-10-10 20:00:00'; @@ -168,7 +168,7 @@ public function testGetMonthlyArchiveLink($type, $expected) /** * @return array[] */ - public function monthlyArchiveLinkProvider() + public static function monthlyArchiveLinkProvider() { return [ ['day', '/2013/10/1'],