]> granicus.if.org Git - php/commitdiff
Remove obsolete function names from CODING_STANDARDS file
authorAleš Rebec <alesrebec@gmail.com>
Fri, 14 Apr 2017 20:26:50 +0000 (22:26 +0200)
committerJoe Watkins <krakjoe@php.net>
Tue, 25 Jul 2017 06:04:23 +0000 (07:04 +0100)
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

index 5cf70c92b5f5ab06977629ba6fff87255cc80116..38e501339c8040e4f32a4a06b8fdc466f9e4fd0e 100644 (file)
@@ -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'?)