From 70337e99fa9e5fa097134a3bad46c51f8639d4fd Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 8 Apr 2021 21:18:35 +0200 Subject: [PATCH] [ticket/16752] Add deprecation notices and fix tests PHPBB3-16752 --- phpBB/phpbb/event/md_exporter.php | 3 ++- phpBB/phpbb/event/php_exporter.php | 1 + tests/event/php_exporter_test.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/phpBB/phpbb/event/md_exporter.php b/phpBB/phpbb/event/md_exporter.php index 6ff7295886..0f672f0f36 100644 --- a/phpBB/phpbb/event/md_exporter.php +++ b/phpBB/phpbb/event/md_exporter.php @@ -246,7 +246,8 @@ class md_exporter * Format the md events as a wiki table * * @param string $action - * @return string Number of events found + * @return string Number of events found * @deprecated since 3.2 + * @deprecated 3.3.5-RC1 (To be removed: 4.0.0-a1) */ public function export_events_for_wiki($action = '') { diff --git a/phpBB/phpbb/event/php_exporter.php b/phpBB/phpbb/event/php_exporter.php index 921fe36498..85627c9dff 100644 --- a/phpBB/phpbb/event/php_exporter.php +++ b/phpBB/phpbb/event/php_exporter.php @@ -161,6 +161,7 @@ class php_exporter * * @param string $action * @return string + * @deprecated 3.3.5-RC1 (To be removed: 4.0.0-a1) */ public function export_events_for_wiki($action = '') { diff --git a/tests/event/php_exporter_test.php b/tests/event/php_exporter_test.php index 0effa9d181..3911f46ddd 100644 --- a/tests/event/php_exporter_test.php +++ b/tests/event/php_exporter_test.php @@ -57,7 +57,7 @@ class phpbb_event_php_exporter_test extends phpbb_test_case 'file' => 'extra_description.test', 'arguments' => array(), 'since' => '3.1.0-b2', - 'description' => 'Description

NOTE: This will also be exported', + 'description' => 'Description

NOTE: This will also be exported', ), ), ),