Passed
Push — develop ( db0b89...834657 )
by Remco
08:37 queued 04:28
created
classes/Subscriptions/SubscriptionsDataStoreCPT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 		$post_status = $this->get_post_status( $subscription->get_status() );
101 101
 
102 102
 		if ( ! empty( $post_status ) ) {
103
-			$data['post_status'] = $post_status;
103
+			$data[ 'post_status' ] = $post_status;
104 104
 		}
105 105
 
106 106
 		wp_update_post( $data );
Please login to merge, or discard this patch.
src/check-versions.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
 
47 47
 foreach ( $tokens as $token ) {
48 48
 	if ( is_array( $token ) ) {
49
-		$type  = $token[0];
50
-		$value = $token[1];
51
-		$line  = $token[2];
49
+		$type  = $token[ 0 ];
50
+		$value = $token[ 1 ];
51
+		$line  = $token[ 2 ];
52 52
 
53 53
 		if ( in_array( $type, array( T_COMMENT, T_DOC_COMMENT ), true ) && false !== strpos( $value, 'Plugin Name' ) ) {
54 54
 			$file_header = $value;
@@ -90,14 +90,14 @@  discard block
 block discarded – undo
90 90
 	exit( 1 );
91 91
 }
92 92
 
93
-if ( $default_properties['version'] !== $pkg->version ) {
93
+if ( $default_properties[ 'version' ] !== $pkg->version ) {
94 94
 	printf( '❌  ' );
95
-	printf( 'The "version" property value "%s" in class "%s" does not match.', $default_properties['version'], $plugin_class_reflection->getName() );
95
+	printf( 'The "version" property value "%s" in class "%s" does not match.', $default_properties[ 'version' ], $plugin_class_reflection->getName() );
96 96
 
97 97
 	exit( 1 );
98 98
 }
99 99
 
100 100
 printf( '✅  ' );
101
-printf( 'The "version" property value "%s" in class "%s" matches.', $default_properties['version'], $plugin_class_reflection->getName() );
101
+printf( 'The "version" property value "%s" in class "%s" matches.', $default_properties[ 'version' ], $plugin_class_reflection->getName() );
102 102
 
103 103
 echo PHP_EOL;
Please login to merge, or discard this patch.