[ticket/16752] Add deprecation notices and fix tests

PHPBB3-16752
This commit is contained in:
Marc Alexander 2021-04-08 21:18:35 +02:00
parent 1ecc2e042b
commit 70337e99fa
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
3 changed files with 4 additions and 2 deletions

View file

@ -246,7 +246,8 @@ class md_exporter
* Format the md events as a wiki table * Format the md events as a wiki table
* *
* @param string $action * @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 = '') public function export_events_for_wiki($action = '')
{ {

View file

@ -161,6 +161,7 @@ class php_exporter
* *
* @param string $action * @param string $action
* @return string * @return string
* @deprecated 3.3.5-RC1 (To be removed: 4.0.0-a1)
*/ */
public function export_events_for_wiki($action = '') public function export_events_for_wiki($action = '')
{ {

View file

@ -57,7 +57,7 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
'file' => 'extra_description.test', 'file' => 'extra_description.test',
'arguments' => array(), 'arguments' => array(),
'since' => '3.1.0-b2', 'since' => '3.1.0-b2',
'description' => 'Description<br/><br/>NOTE: This will also be exported', 'description' => 'Description<br><br>NOTE: This will also be exported',
), ),
), ),
), ),