Failed Conditions
Push — develop ( fd334e...158dbb )
by Remco
04:21 queued 12s
created
src/Integration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -608,9 +608,9 @@
 block discarded – undo
608 608
 
609 609
 		foreach ( $files as $name => $meta_key ) {
610 610
 			// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated
611
-			if ( isset( $_FILES[ $name ] ) && \UPLOAD_ERR_OK === $_FILES[ $name ]['error'] ) {
611
+			if ( isset( $_FILES[$name] ) && \UPLOAD_ERR_OK === $_FILES[$name]['error'] ) {
612 612
 				// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
613
-				$value = file_get_contents( $_FILES[ $name ]['tmp_name'], true );
613
+				$value = file_get_contents( $_FILES[$name]['tmp_name'], true );
614 614
 
615 615
 				if ( '_pronamic_gateway_adyen_apple_pay_merchant_id_certificate' === $meta_key ) {
616 616
 					$apple_pay_merchant_id_pkcs12 = $value;
Please login to merge, or discard this patch.