The new Plugin Check from the plugin review team is reporting some issues. For example, these two:
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
json_encode() is discouraged. Use wp_json_encode() instead.