
no_multiline_whitespace_around_double_arrow
¶Operator =>
should not be surrounded by multi-line whitespaces.
--- Original
+++ New
@@ -1,4 +1,2 @@
<?php
-$a = array(1
-
-=> 2);
+$a = array(1 => 2);
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the no_multiline_whitespace_around_double_arrow
rule.
Using the @Symfony rule set will enable the no_multiline_whitespace_around_double_arrow
rule.