@@ -135,7 +135,7 @@ static function ( $check, $object_id, $meta_key ) {
135135 );
136136
137137 $ this ->assertSame ( $ expected_vals , $ actual_vals , 'Actual meta values should match expected values. ' );
138- $ this ->assertSame ( $ expected_mids , $ result , 'Actual meta IDs should match expected meta IDs. ' );
138+ $ this ->assertSame ( $ expected_mids , $ result , 'Actual meta IDs should match expected meta IDs. ' );
139139 $ this ->assertSame ( 3 , $ action1 ->get_call_count (), "'add_ {$ meta_type }_metadata' filter should be called the correct number of times. " );
140140 $ this ->assertSame ( 2 , $ action2 ->get_call_count (), "'add_ {$ meta_type }_meta' action should be called the correct number of times. " );
141141 $ this ->assertSame ( 2 , $ action3 ->get_call_count (), "'added_ {$ meta_type }_meta' action should be called the correct number of times. " );
@@ -193,15 +193,15 @@ public function test_slashed_data_should_be_handled_correctly( string $meta_type
193193 * @return array<string,array<string>>
194194 */
195195 protected function data_meta_types (): array {
196- $ types = [
197- 'post ' => [ 'post ' ] ,
198- 'user ' => [ 'user ' ] ,
199- 'comment ' => [ 'comment ' ] ,
200- 'term ' => [ 'term ' ] ,
201- ] ;
196+ $ types = array (
197+ 'post ' => array ( 'post ' ) ,
198+ 'user ' => array ( 'user ' ) ,
199+ 'comment ' => array ( 'comment ' ) ,
200+ 'term ' => array ( 'term ' ) ,
201+ ) ;
202202
203203 if ( is_multisite () ) {
204- $ types ['blog ' ] = [ 'blog ' ] ;
204+ $ types ['blog ' ] = array ( 'blog ' ) ;
205205 }
206206
207207 return $ types ;
@@ -211,12 +211,12 @@ private static function get_autoincrement( string $meta_type ): int {
211211 global $ wpdb ;
212212
213213 $ table = "{$ meta_type }meta " ;
214- $ sql = "
214+ $ sql = '
215215 SELECT AUTO_INCREMENT
216216 FROM INFORMATION_SCHEMA.TABLES
217217 WHERE TABLE_SCHEMA = DATABASE()
218218 AND TABLE_NAME = %s
219- " ;
219+ ' ;
220220
221221 return (int ) $ wpdb ->get_var (
222222 $ wpdb ->prepare (
0 commit comments