Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 556 Bytes

no_multiline_whitespace_before_semicolons.rst

File metadata and controls

26 lines (19 loc) · 556 Bytes

Rule no_multiline_whitespace_before_semicolons

Warning

This rule is deprecated and will be removed on next major version.

You should use multiline_whitespace_before_semicolons instead.

Multi-line whitespace before closing semicolon are prohibited.

Examples

Example #1

--- Original
+++ New
 <?php
 function foo () {
-    return 1 + 2
-        ;
+    return 1 + 2;
 }