Code Duplication    Length = 5-5 lines in 3 locations

modules/comments/comments.php 3 locations

@@ 525-529 (lines=5) @@
522
		$comment_meta = array();
523
524
		switch ( $this->is_highlander_comment_post() ) {
525
			case 'facebook':
526
				$comment_meta['hc_post_as']         = 'facebook';
527
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
528
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
529
				break;
530
531
			case 'twitter':
532
				$comment_meta['hc_post_as']         = 'twitter';
@@ 531-535 (lines=5) @@
528
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
529
				break;
530
531
			case 'twitter':
532
				$comment_meta['hc_post_as']         = 'twitter';
533
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
534
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
535
				break;
536
537
			// phpcs:ignore WordPress.WP.CapitalPDangit
538
			case 'wordpress':
@@ 546-550 (lines=5) @@
543
				$comment_meta['hc_wpcom_id_sig']    = stripslashes( $_POST['hc_wpcom_id_sig'] ); //since 1.9
544
				break;
545
546
			case 'jetpack':
547
				$comment_meta['hc_post_as']         = 'jetpack';
548
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
549
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
550
				break;
551
552
		}
553