From f469edcf59177f3004cba019fa143dbaaaeeaf6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Rebec?= Date: Fri, 14 Apr 2017 22:26:50 +0200 Subject: [PATCH] Remove obsolete function names from CODING_STANDARDS file Deprecated and removed function names used as examples in coding standards file. - Mcrypt is deprecated and will be removed in 7.2 - Mysql functions are deprecated in 5.4 and removed in 7.0. According to those changes, CODING_STANDARDS file should be updated. --- CODING_STANDARDS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CODING_STANDARDS b/CODING_STANDARDS index 5cf70c92b5f..38e501339c8 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -93,12 +93,12 @@ User Functions/Methods Naming Conventions readability of the function name itself:: Good: - 'mcrypt_enc_self_test' - 'mysql_list_fields' + 'str_word_count' + 'array_key_exists' Ok: - 'mcrypt_module_get_algo_supported_key_sizes' - (could be 'mcrypt_mod_get_algo_sup_key_sizes'?) + 'date_interval_create_from_date_string' + (could be 'date_intvl_create_from_date_str'?) 'get_html_translation_table' (could be 'html_get_trans_table'?)