Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack-plan.php 2 locations

@@ 152-158 (lines=7) @@
149
			'value_bundle-2y',
150
		);
151
152
		if ( in_array( $plan['product_slug'], $premium_plans, true ) ) {
153
			$supports[]    = 'akismet';
154
			$supports[]    = 'simple-payments';
155
			$supports[]    = 'vaultpress';
156
			$supports[]    = 'videopress';
157
			$plan['class'] = 'premium';
158
		}
159
160
		// Define what paid modules are supported by professional plans.
161
		$business_plans = array(
@@ 173-179 (lines=7) @@
170
			'vip',
171
		);
172
173
		if ( in_array( $plan['product_slug'], $business_plans, true ) ) {
174
			$supports[]    = 'akismet';
175
			$supports[]    = 'simple-payments';
176
			$supports[]    = 'vaultpress';
177
			$supports[]    = 'videopress';
178
			$plan['class'] = 'business';
179
		}
180
181
		// get available features.
182
		foreach ( Jetpack::get_available_modules() as $module_slug ) {