Skip to content

Commit 70a3651

Browse files
authored
Fix: use long array syntax for WPCS compliance
Replaced short array syntax `[]` with `array()` to meet WordPress Coding Standards.
1 parent 34f68ab commit 70a3651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/dependencies/stylesLTRSupport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Tests_Dependencies_StylesLtrSupport extends WP_UnitTestCase {
88
public function set_up(): void {
99
parent::set_up();
1010
switch_to_locale( 'fa_IR' ); // RTL language
11-
wp_styles()->registered = [];
11+
wp_styles()->registered = array();
1212
}
1313

1414
public function tear_down(): void {

0 commit comments

Comments
 (0)