Code Duplication    Length = 3-8 lines in 2 locations

includes/admin/class-wc-stripe-admin-notices.php 2 locations

@@ 130-137 (lines=8) @@
127
				$this->add_admin_notice( '3ds', 'notice notice-warning', sprintf( $message, $url ), true );
128
			}
129
130
			if ( empty( $show_style_notice ) ) {
131
				/* translators: 1) int version 2) int version */
132
				$message = __( 'WooCommerce Stripe - We recently made changes to Stripe that may impact the appearance of your checkout. If your checkout has changed unexpectedly, please follow these <a href="https://docs.woocommerce.com/document/stripe/#styling" target="_blank">instructions</a> to fix.', 'woocommerce-gateway-stripe' );
133
134
				$this->add_admin_notice( 'style', 'notice notice-warning', $message, true );
135
136
				return;
137
			}
138
139
			if ( empty( $show_phpver_notice ) ) {
140
				if ( version_compare( phpversion(), WC_STRIPE_MIN_PHP_VER, '<' ) ) {
@@ 201-203 (lines=3) @@
198
				}
199
			}
200
201
			if ( empty( $show_sca_notice ) ) {
202
				$this->add_admin_notice( 'sca', 'notice notice-success', sprintf( __( 'Stripe is now ready for Strong Customer Authentication (SCA) and 3D Secure 2! <a href="%1$s" target="_blank">Read about SCA</a>', 'woocommerce-gateway-stripe' ), 'https://woocommerce.com/posts/introducing-strong-customer-authentication-sca/' ), true );
203
			}
204
205
			if ( 'yes' === $changed_keys_notice ) {
206
				// translators: %s is a the URL for the link.