diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php
index b7a8c3fb6c4..dca795f5419 100644
--- a/htdocs/core/class/html.formsms.class.php
+++ b/htdocs/core/class/html.formsms.class.php
@@ -88,16 +88,17 @@ class FormSms
return 1;
}
+ // phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show the form to input an sms.
*
- * @param string $morecss Class on first column td
- * @param int $showform Show form tags and submit button (recommanded is to use with value 0)
+ * @param string $morecss Class on first column td
+ * @param int $showform Show form tags and submit button (recommanded is to use with value 0)
* @return void
*/
- // phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
function show_form($morecss='titlefield', $showform=1)
{
+ // phpcs:enable
global $conf, $langs, $user, $form;
if (! is_object($form)) $form=new Form($this->db);