Fix camelCase syntax and remove disabling of phpcs

This commit is contained in:
wdammak 2019-02-27 04:02:11 +01:00 committed by GitHub
parent 0a28d06213
commit 64bd995978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3682,7 +3682,6 @@ class Form
return $num; return $num;
} }
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/** /**
* Return a HTML select list of establishment * Return a HTML select list of establishment
* *
@ -3694,7 +3693,7 @@ class Form
* @param string $moreattrib To add more attribute on select * @param string $moreattrib To add more attribute on select
* @return int <0 if error, Num of establishment found if OK (0, 1, 2, ...) * @return int <0 if error, Num of establishment found if OK (0, 1, 2, ...)
*/ */
function select_establishments($selected = '', $htmlname = 'entity', $statut = 0, $filtre = '', $useempty = 0, $moreattrib = '') function selectEstablishments($selected = '', $htmlname = 'entity', $statut = 0, $filtre = '', $useempty = 0, $moreattrib = '')
{ {
// phpcs:enable // phpcs:enable
global $langs, $conf; global $langs, $conf;