Code Duplication    Length = 10-10 lines in 3 locations

_inc/lib/class.core-rest-api-endpoints.php 3 locations

@@ 1001-1010 (lines=10) @@
998
				break;
999
1000
			// Galleries
1001
			case 'tiled-gallery':
1002
				$options = array(
1003
					'tiled_galleries' => array(
1004
						'description'        => esc_html__( 'Display all your gallery pictures in a cool mosaic.', 'jetpack' ),
1005
						'type'               => 'boolean',
1006
						'default'            => 0,
1007
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1008
					),
1009
				);
1010
				break;
1011
1012
			// Gravatar Hovercards
1013
			case 'gravatar-hovercards':
@@ 1070-1079 (lines=10) @@
1067
				break;
1068
1069
			// Markdown
1070
			case 'markdown':
1071
				$options = array(
1072
					'wpcom_publish_comments_with_markdown' => array(
1073
						'description'        => esc_html__( 'Use Markdown for comments.', 'jetpack' ),
1074
						'type'               => 'boolean',
1075
						'default'            => 0,
1076
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1077
					),
1078
				);
1079
				break;
1080
1081
			// Mobile Theme
1082
			case 'minileven':
@@ 1114-1123 (lines=10) @@
1111
				break;
1112
1113
			// Monitor
1114
			case 'monitor':
1115
				$options = array(
1116
					'monitor_receive_notifications' => array(
1117
						'description'        => esc_html__( 'Receive Monitor Email Notifications.', 'jetpack' ),
1118
						'type'               => 'boolean',
1119
						'default'            => 0,
1120
						'validate_callback'  => __CLASS__ . '::validate_boolean',
1121
					),
1122
				);
1123
				break;
1124
1125
			// Post by Email
1126
			case 'post-by-email':