Skip to content

Commit e509c9a

Browse files
authored
Tweak to array initialisation wrapping
1 parent a4663a5 commit e509c9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/org/mediawiki/MediaWikiPhpPredefinedCodeStyle.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ public void apply(CodeStyleSettings settings) {
4848
commonSettings.DOWHILE_BRACE_FORCE = 3;
4949
commonSettings.WHILE_BRACE_FORCE = 3;
5050

51+
// Chop down if long
52+
commonSettings.ARRAY_INITIALIZER_WRAP = 2;
53+
5154
// Wrap if long
52-
commonSettings.ARRAY_INITIALIZER_WRAP = 1;
5355
commonSettings.METHOD_CALL_CHAIN_WRAP = 1;
5456

5557
PhpCodeStyleSettings phpSettings = settings.getCustomSettings(PhpCodeStyleSettings.class);

0 commit comments

Comments
 (0)