Skip to content

Commit 23b1c22

Browse files
authored
Wrap arrays if long
1 parent 5e3cee2 commit 23b1c22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/mediawiki/MediaWikiPhpPredefinedCodeStyle.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ public void apply(CodeStyleSettings settings) {
4747
commonSettings.FOR_BRACE_FORCE = 3;
4848
commonSettings.DOWHILE_BRACE_FORCE = 3;
4949
commonSettings.WHILE_BRACE_FORCE = 3;
50+
51+
// Wrap if long
52+
commonSettings.ARRAY_INITIALIZER_WRAP = 1;
5053

5154
PhpCodeStyleSettings phpSettings = settings.getCustomSettings(PhpCodeStyleSettings.class);
5255
phpSettings.LOWER_CASE_BOOLEAN_CONST = true;

0 commit comments

Comments
 (0)