From ce874e6a75d58198cda8e2906c8f9ec75c558ca9 Mon Sep 17 00:00:00 2001 From: RJChow Date: Fri, 1 Apr 2022 17:29:57 +0800 Subject: [PATCH] Temporary PHP lint suppression --- phpcs.xml | 30 ++++++++++++++++++++ plugins/woocommerce/src/Admin/Notes/Note.php | 10 +++---- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/phpcs.xml b/phpcs.xml index bfd630f6681..525a3e938d6 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -98,4 +98,34 @@ tests/php/ + + + + src/Internal/Admin/ + src/Admin/ + + + + + src/Internal/Admin/ + src/Admin/ + + + + + src/Internal/Admin/ + src/Admin/ + + + + + plugins/woocommerce/src/Internal/Admin/ + src/Admin/ + + + + + src/Internal/Admin/ + src/Admin/ + diff --git a/plugins/woocommerce/src/Admin/Notes/Note.php b/plugins/woocommerce/src/Admin/Notes/Note.php index 2d70bf2cb4b..f73bc039e00 100644 --- a/plugins/woocommerce/src/Admin/Notes/Note.php +++ b/plugins/woocommerce/src/Admin/Notes/Note.php @@ -616,12 +616,12 @@ class Note extends \WC_Data { /** * Add an action to the note * - * @param string $name Action name (not presented to user). - * @param string $label Action label (presented as button label). - * @param string $url Action URL, if navigation needed. Optional. - * @param string $status Status to transition parent Note to upon click. Defaults to 'actioned'. + * @param string $name Action name (not presented to user). + * @param string $label Action label (presented as button label). + * @param string $url Action URL, if navigation needed. Optional. + * @param string $status Status to transition parent Note to upon click. Defaults to 'actioned'. * @param boolean $primary Deprecated since version 3.4.0. - * @param string $actioned_text The label to display after the note has been actioned but before it is dismissed in the UI. + * @param string $actioned_text The label to display after the note has been actioned but before it is dismissed in the UI. */ public function add_action( $name,