summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorAleš Rebec <alesrebec@gmail.com>2017-04-14 22:26:50 +0200
committerJoe Watkins <krakjoe@php.net>2017-07-25 07:04:23 +0100
commitf469edcf59177f3004cba019fa143dbaaaeeaf6b (patch)
treea47694ec28b29dad1a581b77e443690ea859acf3 /CODING_STANDARDS
parent4ddb0630c216481dbc25605421551ad676c8c4f0 (diff)
downloadphp-git-f469edcf59177f3004cba019fa143dbaaaeeaf6b.tar.gz
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.
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS8
1 files changed, 4 insertions, 4 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index 5cf70c92b5..38e501339c 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'?)