$ php -v):PHP 7.1.18 (cli) (built: May 25 2018 19:18:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.18, Copyright (c) 1999-2018, by Zend Technologies
$ php-cs-fixer -V):PHP CS Fixer 2.12.1 Long Journey by Fabien Potencier and Dariusz Ruminski
vendor/bin/php-cs-fixer fix -v --using-cache=no
Basically the same as dmvdbrugge/dynamic-components, except explicit_string_variable, header_comment, no_alternative_syntax, and no_unset_on_property
$arr = [
'a' => 'b',
// 'c' => 'd',
];
--- Original
+++ New
@@ @@
$arr = [
'a' => 'b',
-
-// 'c' => 'd',
+
+ // 'c' => 'd',
];
--- Original
+++ New
@@ @@
$arr = [
'a' => 'b',
-
+
// 'c' => 'd',
];
Meta: this is case 63 of #3844
IMO not a priority issue but a bug in array_indentation which shouldn't indent empty lines.
Most helpful comment
IMO not a priority issue but a bug in
array_indentationwhich shouldn't indent empty lines.