From 4c5653801b5506504136fc21f77b0a958402274b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 14 Oct 2024 14:51:47 +1300 Subject: [PATCH] ENH Suppress deprecation notices for API we can't avoid --- tests/php/Publisher/FilesystemPublisherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php/Publisher/FilesystemPublisherTest.php b/tests/php/Publisher/FilesystemPublisherTest.php index eae570b..bed0857 100644 --- a/tests/php/Publisher/FilesystemPublisherTest.php +++ b/tests/php/Publisher/FilesystemPublisherTest.php @@ -140,7 +140,7 @@ public function testUrlToPathWithDomainBasedCaching(): void public function testMenu2LinkingMode(): void { - SSViewer::set_themes(null); + SSViewer::set_themes([]); $reflection = new \ReflectionClass(FilesystemPublisher::class); $urlToPath = $reflection->getMethod('URLtoPath');