fix phpcs warnings in RTMediaFormHandler