Skip to content

Commit e59fd3e

Browse files
authored
Hard wrap at 120 characters
1 parent dd5e270 commit e59fd3e

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
@@ -54,6 +54,9 @@ public void apply(CodeStyleSettings settings) {
5454

5555
// Wrap if long
5656
commonSettings.METHOD_CALL_CHAIN_WRAP = 1;
57+
58+
// Hard wrap at 120 characters
59+
commonSettings.RIGHT_MARGIN = 120;
5760

5861
PhpCodeStyleSettings phpSettings = settings.getCustomSettings(PhpCodeStyleSettings.class);
5962
phpSettings.LOWER_CASE_BOOLEAN_CONST = true;

0 commit comments

Comments
 (0)