Code Duplication    Length = 5-5 lines in 3 locations

projects/plugins/jetpack/modules/comments/comments.php 3 locations

@@ 550-554 (lines=5) @@
547
		$comment_meta = array();
548
549
		switch ( $this->is_highlander_comment_post() ) {
550
			case 'facebook':
551
				$comment_meta['hc_post_as']         = 'facebook';
552
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
553
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
554
				break;
555
556
			case 'twitter':
557
				$comment_meta['hc_post_as']         = 'twitter';
@@ 556-560 (lines=5) @@
553
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
554
				break;
555
556
			case 'twitter':
557
				$comment_meta['hc_post_as']         = 'twitter';
558
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
559
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
560
				break;
561
562
			// phpcs:ignore WordPress.WP.CapitalPDangit
563
			case 'wordpress':
@@ 571-575 (lines=5) @@
568
				$comment_meta['hc_wpcom_id_sig']    = stripslashes( $_POST['hc_wpcom_id_sig'] ); //since 1.9
569
				break;
570
571
			case 'jetpack':
572
				$comment_meta['hc_post_as']         = 'jetpack';
573
				$comment_meta['hc_avatar']          = stripslashes( $_POST['hc_avatar'] );
574
				$comment_meta['hc_foreign_user_id'] = stripslashes( $_POST['hc_userid'] );
575
				break;
576
577
		}
578