diff --git a/classes/text_filter.php b/classes/text_filter.php index c844bfb..ea1110f 100644 --- a/classes/text_filter.php +++ b/classes/text_filter.php @@ -111,8 +111,6 @@ public function filter_stage_pre_format(string $text, array $options): string { * @param string $text * @param array $options * @return string - * - * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function filter_stage_pre_clean(string $text, array $options): string { return $text; @@ -124,8 +122,6 @@ public function filter_stage_pre_clean(string $text, array $options): string { * @param string $text * @param array $options * @return string - * - * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function filter_stage_post_clean(string $text, array $options): string { return $text; @@ -153,8 +149,6 @@ public function filter_stage_string(string $text, array $options): string { * @param string $text The text to filter. * @param array $options The filter options. * @return string The filtered text for this multilang block. - * - * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function filter($text, array $options = []) { diff --git a/tests/actual_test_cases.php b/tests/actual_test_cases.php index 15b146b..318e678 100644 --- a/tests/actual_test_cases.php +++ b/tests/actual_test_cases.php @@ -27,8 +27,6 @@ * Returns the actual test cases for the unit tests. * * @return array of test cases - * - * @SuppressWarnings(PHPMD.ExcessiveMethodLength) */ function multilang2_actual_test_cases(): array { return [