Test Failed
Push — develop ( 5edab0...b80e50 )
by Reüel
06:00
created
src/Integration.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -516,10 +516,10 @@
 block discarded – undo
516 516
 			}
517 517
 
518 518
 			if ( empty( $private_key ) && false !== \strpos( $field['meta_key'], 'apple_pay' ) ) {
519
-			    printf(
520
-				    '<p class="pronamic-pay-description description">%s</p><p>&nbsp;</p>',
521
-				    esc_html__( 'Leave empty to auto fill when uploading an Apple Pay Merchant Identity PKCS#12 certificate file.', 'pronamic_ideal' )
522
-			    );
519
+				printf(
520
+					'<p class="pronamic-pay-description description">%s</p><p>&nbsp;</p>',
521
+					esc_html__( 'Leave empty to auto fill when uploading an Apple Pay Merchant Identity PKCS#12 certificate file.', 'pronamic_ideal' )
522
+				);
523 523
 			}
524 524
 
525 525
 			printf(
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -587,9 +587,9 @@
 block discarded – undo
587 587
 
588 588
 		foreach ( $files as $name => $meta_key ) {
589 589
 			// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated
590
-			if ( isset( $_FILES[ $name ] ) && \UPLOAD_ERR_OK === $_FILES[ $name ]['error'] ) {
590
+			if ( isset( $_FILES[$name] ) && \UPLOAD_ERR_OK === $_FILES[$name]['error'] ) {
591 591
 				// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
592
-				$value = file_get_contents( $_FILES[ $name ]['tmp_name'] );
592
+				$value = file_get_contents( $_FILES[$name]['tmp_name'] );
593 593
 
594 594
 				if ( '_pronamic_gateway_adyen_apple_pay_merchant_id_certificate' === $meta_key ) {
595 595
 					$apple_pay_merchant_id_pkcs12 = $value;
Please login to merge, or discard this patch.