Passed
Push — develop ( a1ce48...859234 )
by Aristeides
05:21
created
modules/css/class-kirki-output.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,8 @@
 block discarded – undo
217 217
 						}
218 218
 						// If 'choice' is defined check for sub-values too.
219 219
 						// Fixes https://github.com/aristath/kirki/issues/1416.
220
-						if ( isset( $output['choice'] ) && isset( $value[ $output['choice'] ] ) && $exclude == $value[ $output['choice'] ] ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
220
+						if ( isset( $output['choice'] ) && isset( $value[ $output['choice'] ] ) && $exclude == $value[ $output['choice'] ] ) {
221
+// phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
221 222
 							$skip = true;
222 223
 						}
223 224
 					}
Please login to merge, or discard this patch.
modules/webfonts/class-kirki-fonts-google-local.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,7 +453,8 @@
 block discarded – undo
453 453
 			$variants = array_keys( $this->files );
454 454
 		}
455 455
 		foreach ( $this->files as $variant => $file ) {
456
-			if ( in_array( $variant, $variants ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
456
+			if ( in_array( $variant, $variants ) ) {
457
+// phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
457 458
 				$this->download_font_file( $file );
458 459
 			}
459 460
 		}
Please login to merge, or discard this patch.
core/class-kirki-helper.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -441,7 +441,8 @@
 block discarded – undo
441 441
 		if ( 'contains' === $operator || 'in' === $operator ) {
442 442
 			if ( is_array( $value1 ) && is_array( $value2 ) ) {
443 443
 				foreach ( $value2 as $val ) {
444
-					if ( in_array( $val, $value1 ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
444
+					if ( in_array( $val, $value1 ) ) {
445
+// phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
445 446
 						return true;
446 447
 					}
447 448
 				}
Please login to merge, or discard this patch.