[Fix] Pass window instead of view to is_php_file in insert_use_statement