We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98ac273 commit da033f0Copy full SHA for da033f0
php-cs-fixer-rules.php
@@ -4,6 +4,7 @@
4
5
return [
6
'@PSR12' => true,
7
+ 'array_indentation' => true,
8
'array_syntax' => true,
9
'binary_operator_spaces' => true,
10
'cast_spaces' => [
@@ -42,7 +43,12 @@
42
43
'no_empty_phpdoc' => true,
44
'no_extra_blank_lines' => [
45
'tokens' => [
46
+ 'continue',
47
'extra',
48
+ 'parenthesis_brace_block',
49
+ 'return',
50
+ 'square_brace_block',
51
+ 'throw',
52
'use',
53
],
54
tests/fixtures/invalid/array-indentation.php
@@ -0,0 +1,9 @@
1
+<?php
2
+
3
+declare(strict_types=1);
+$foo = [
+'invalid' => 'i am invalid',
+];
0 commit comments