# https://stackoverflow.com/a/1390625/1348344
# https://github.com/philip/MySQLConverterTool/blob/master/Converter.php
services:
    Rector\Rector\Function_\FunctionReplaceRector:
        mysql_affected_rows: 'mysqli_affected_rows'
        mysql_close: 'mysqli_close'
        mysql_data_seek: 'mysqli_data_seek'
        mysql_errno: 'mysqli_errno'
        mysql_error: 'mysqli_error'
        mysql_fetch_array: 'mysqli_fetch_array'
        mysql_fetch_assoc: 'mysqli_fetch_assoc'
        mysql_fetch_lengths: 'mysqli_fetch_lengths'
        mysql_fetch_object: 'mysqli_fetch_object'
        mysql_fetch_row: 'mysqli_fetch_row'
        mysql_field_seek: 'mysqli_field_seek'
        mysql_free_result: 'mysqli_free_result'
        mysql_get_client_info: 'mysqli_get_client_info'
        mysql_get_host_info: 'mysqli_get_host_info'
        mysql_get_proto_info: 'mysqli_get_proto_info'
        mysql_get_server_info: 'mysqli_get_server_info'
        mysql_info: 'mysqli_info'
        mysql_insert_id: 'mysqli_insert_id'
        mysql_num_rows: 'mysqli_num_rows'
        mysql_ping: 'mysqli_ping'
        mysql_query: 'mysqli_query'
        mysql_real_escape_string: 'mysqli_real_escape_string'
        mysql_select_db: 'mysqli_select_db'
        mysql_set_charset: 'mysqli_set_charset'
        mysql_stat: 'mysqli_stat'
        mysql_thread_id: 'mysqli_thread_id'
        mysql_numfields: 'mysqli_num_fields'
        mysql_escape_string: 'mysqli_real_escape_string'
        mysql_client_encoding: 'mysqli_character_set_name'
        mysql_numrows: 'mysqli_num_rows'
        mysql_list_processes: 'mysqli_thread_id'
        mysql_num_fields: 'mysqli_field_count'
