-
Notifications
You must be signed in to change notification settings - Fork 17
/
pint-schema.json
4179 lines (4179 loc) · 144 KB
/
pint-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://json-schema.org/draft-04/schema#",
"title": "Laravel Pint",
"type": "object",
"properties": {
"preset": {
"type": "string",
"description": "Preset that applies a group of rules to the formatting.",
"default": "laravel",
"oneOf": [
{
"enum": [
"laravel",
"symfony",
"psr12",
"per"
]
}
]
},
"exclude": {
"type": "array",
"description": "List of folders to exclude.",
"items": {
"type": "string"
}
},
"notName": {
"type": "array",
"description": "List of file name patterns to exclude.",
"items": {
"type": "string"
}
},
"notPath": {
"type": "array",
"description": "List of exact file paths to exclude.",
"items": {
"type": "string"
}
},
"cache-folder": {
"type": "string",
"description": "Cache file path for customise it. Defaults to tmp folder that your operating system uses."
},
"rules": {
"type": "object",
"description": "Customise rules used for the formatting, this replaces the ones of the preset",
"properties": {
"Laravel/laravel_phpdoc_alignment": {
"description": "Aligns PHPDocs (@throws, @return, etc) using Laravel's opinionated style",
"type": "boolean"
},
"align_multiline_comment": {
"description": "Each line of multi-line DocComments must have an asterisk [PSR-5] and must be aligned with the first one.",
"type": "object",
"properties": {
"comment_type": {
"description": "Whether to fix PHPDoc comments only (`phpdocs_only`), any multi-line comment whose lines all start with an asterisk (`phpdocs_like`) or any multi-line comment (`all_multiline`).",
"default": "phpdocs_only",
"oneOf": [
{
"enum": [
"phpdocs_only",
"phpdocs_like",
"all_multiline"
]
}
]
}
}
},
"array_indentation": {
"description": "Each element of an array must be indented exactly once."
},
"array_push": {
"description": "Converts simple usages of `array_push($x, $y);` to `$x[] = $y;`."
},
"array_syntax": {
"description": "PHP arrays should be declared using the configured syntax.",
"type": "object",
"properties": {
"syntax": {
"description": "Whether to use the `long` or `short` array syntax.",
"default": "short",
"oneOf": [
{
"enum": [
"long",
"short"
]
}
]
}
}
},
"assign_null_coalescing_to_coalesce_equal": {
"description": "Use the null coalescing assignment operator `??=` where possible."
},
"attribute_empty_parentheses": {
"description": "PHP attributes declared without arguments must (not) be followed by empty parentheses.",
"type": "object",
"properties": {
"use_parentheses": {
"description": "Whether attributes should be followed by parentheses or not.",
"default": false,
"type": "boolean"
}
}
},
"backtick_to_shell_exec": {
"description": "Converts backtick operators to `shell_exec` calls."
},
"binary_operator_spaces": {
"description": "Binary operators should be surrounded by space as configured.",
"type": "object",
"properties": {
"default": {
"description": "Default fix strategy.",
"default": "single_space",
"oneOf": [
{
"enum": [
"align",
"align_by_scope",
"align_single_space",
"align_single_space_minimal",
"align_single_space_by_scope",
"align_single_space_minimal_by_scope",
"single_space",
"no_space",
"at_least_single_space",
null
]
}
]
},
"operators": {
"description": "Dictionary of `binary operator` => `fix strategy` values that differ from the default strategy. Supported are: `=`, `*`, `/`, `%`, `<`, `>`, `|`, `^`, `+`, `-`, `&`, `&=`, `&&`, `||`, `.=`, `/=`, `=>`, `==`, `>=`, `===`, `!=`, `<>`, `!==`, `<=`, `and`, `or`, `xor`, `-=`, `%=`, `*=`, `|=`, `+=`, `<<`, `<<=`, `>>`, `>>=`, `^=`, `**`, `**=`, `<=>`, `??` and `??=`.",
"default": {},
"type": "object"
}
}
},
"blank_line_after_namespace": {
"description": "There MUST be one blank line after the namespace declaration."
},
"blank_line_after_opening_tag": {
"description": "Ensure there is no code on the same line as the PHP open tag and it is followed by a blank line."
},
"blank_line_before_statement": {
"description": "An empty line feed must precede any configured statement.",
"type": "object",
"properties": {
"statements": {
"description": "List of statements which must be preceded by an empty line.",
"default": [
"break",
"continue",
"declare",
"return",
"throw",
"try"
],
"type": "array",
"oneOf": [
{
"enum": [
[
"break",
"case",
"continue",
"declare",
"default",
"do",
"exit",
"for",
"foreach",
"goto",
"if",
"include",
"include_once",
"phpdoc",
"require",
"require_once",
"return",
"switch",
"throw",
"try",
"while",
"yield",
"yield_from"
]
]
}
]
}
}
},
"blank_line_between_import_groups": {
"description": "Putting blank lines between `use` statement groups."
},
"blank_lines_before_namespace": {
"description": "Controls blank lines before a namespace declaration.",
"type": "object",
"properties": {
"max_line_breaks": {
"description": "Maximum line breaks that should exist before namespace declaration.",
"default": 2,
"type": "int"
},
"min_line_breaks": {
"description": "Minimum line breaks that should exist before namespace declaration.",
"default": 2,
"type": "int"
}
}
},
"braces": {
"description": "The body of each structure MUST be enclosed by braces. Braces should be properly placed. Body of braces should be properly indented.",
"type": "object",
"properties": {
"allow_single_line_anonymous_class_with_empty_body": {
"description": "Whether single line anonymous class with empty body notation should be allowed.",
"default": false,
"type": "boolean"
},
"allow_single_line_closure": {
"description": "Whether single line lambda notation should be allowed.",
"default": false,
"type": "boolean"
},
"position_after_anonymous_constructs": {
"description": "Whether the opening brace should be placed on \"next\" or \"same\" line after anonymous constructs (anonymous classes and lambda functions).",
"default": "same",
"oneOf": [
{
"enum": [
"next",
"same"
]
}
]
},
"position_after_control_structures": {
"description": "Whether the opening brace should be placed on \"next\" or \"same\" line after control structures.",
"default": "same",
"oneOf": [
{
"enum": [
"next",
"same"
]
}
]
},
"position_after_functions_and_oop_constructs": {
"description": "Whether the opening brace should be placed on \"next\" or \"same\" line after classy constructs (non-anonymous classes, interfaces, traits, methods and non-lambda functions).",
"default": "next",
"oneOf": [
{
"enum": [
"next",
"same"
]
}
]
}
}
},
"braces_position": {
"description": "Braces must be placed as configured.",
"type": "object",
"properties": {
"allow_single_line_anonymous_functions": {
"description": "Allow anonymous functions to have opening and closing braces on the same line.",
"default": true,
"type": "boolean"
},
"allow_single_line_empty_anonymous_classes": {
"description": "Allow anonymous classes to have opening and closing braces on the same line.",
"default": true,
"type": "boolean"
},
"anonymous_classes_opening_brace": {
"description": "The position of the opening brace of anonymous classes‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"anonymous_functions_opening_brace": {
"description": "The position of the opening brace of anonymous functions‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"classes_opening_brace": {
"description": "The position of the opening brace of classes‘ body.",
"default": "next_line_unless_newline_at_signature_end",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"control_structures_opening_brace": {
"description": "The position of the opening brace of control structures‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"functions_opening_brace": {
"description": "The position of the opening brace of functions‘ body.",
"default": "next_line_unless_newline_at_signature_end",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
}
}
},
"cast_spaces": {
"description": "A single space or none should be between cast and variable.",
"type": "object",
"properties": {
"space": {
"description": "Spacing to apply between cast and variable.",
"default": "single",
"oneOf": [
{
"enum": [
"none",
"single"
]
}
]
}
}
},
"class_attributes_separation": {
"description": "Class, trait and interface elements must be separated with one or none blank line.",
"type": "object",
"properties": {
"elements": {
"description": "Dictionary of `const|method|property|trait_import|case` => `none|one|only_if_meta` values.",
"default": {
"const": "one",
"method": "one",
"property": "one",
"trait_import": "none",
"case": "none"
},
"type": "object"
}
}
},
"class_definition": {
"description": "Whitespace around the keywords of a class, trait, enum or interfaces definition should be one space.",
"type": "object",
"properties": {
"inline_constructor_arguments": {
"description": "Whether constructor argument list in anonymous classes should be single line.",
"default": true,
"type": "boolean"
},
"multi_line_extends_each_single_line": {
"description": "Whether definitions should be multiline.",
"default": false,
"type": "boolean"
},
"single_item_single_line": {
"description": "Whether definitions should be single line when including a single item.",
"default": false,
"type": "boolean"
},
"single_line": {
"description": "Whether definitions should be single line.",
"default": false,
"type": "boolean"
},
"space_before_parenthesis": {
"description": "Whether there should be a single space after the parenthesis of anonymous class (PSR12) or not.",
"default": false,
"type": "boolean"
}
}
},
"class_keyword": {
"description": "Converts FQCN strings to `*::class` keywords."
},
"class_keyword_remove": {
"description": "Converts `::class` keywords to FQCN strings."
},
"class_reference_name_casing": {
"description": "When referencing an internal class it must be written using the correct casing."
},
"clean_namespace": {
"description": "Namespace must not contain spacing, comments or PHPDoc."
},
"combine_consecutive_issets": {
"description": "Using `isset($var) &&` multiple times should be done in one call."
},
"combine_consecutive_unsets": {
"description": "Calling `unset` on multiple items should be done in one call."
},
"combine_nested_dirname": {
"description": "Replace multiple nested calls of `dirname` by only one call with second `$level` parameter. Requires PHP >= 7.0."
},
"comment_to_phpdoc": {
"description": "Comments with annotation should be docblock when used on structural elements.",
"type": "object",
"properties": {
"ignored_tags": {
"description": "List of ignored tags.",
"default": [],
"type": "array"
}
}
},
"compact_nullable_type_declaration": {
"description": "Remove extra spaces in a nullable type declaration."
},
"compact_nullable_typehint": {
"description": "Remove extra spaces in a nullable typehint."
},
"concat_space": {
"description": "Concatenation should be spaced according to configuration.",
"type": "object",
"properties": {
"spacing": {
"description": "Spacing to apply around concatenation operator.",
"default": "none",
"oneOf": [
{
"enum": [
"one",
"none"
]
}
]
}
}
},
"constant_case": {
"description": "The PHP constants `true`, `false`, and `null` MUST be written using the correct casing.",
"type": "object",
"properties": {
"case": {
"description": "Whether to use the `upper` or `lower` case syntax.",
"default": "lower",
"oneOf": [
{
"enum": [
"upper",
"lower"
]
}
]
}
}
},
"control_structure_braces": {
"description": "The body of each control structure MUST be enclosed within braces."
},
"control_structure_continuation_position": {
"description": "Control structure continuation keyword must be on the configured line.",
"type": "object",
"properties": {
"position": {
"description": "The position of the keyword that continues the control structure.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line",
"same_line"
]
}
]
}
}
},
"curly_braces_position": {
"description": "Curly braces must be placed as configured.",
"type": "object",
"properties": {
"allow_single_line_anonymous_functions": {
"description": "Allow anonymous functions to have opening and closing braces on the same line.",
"default": true,
"type": "boolean"
},
"allow_single_line_empty_anonymous_classes": {
"description": "Allow anonymous classes to have opening and closing braces on the same line.",
"default": true,
"type": "boolean"
},
"anonymous_classes_opening_brace": {
"description": "The position of the opening brace of anonymous classes‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"anonymous_functions_opening_brace": {
"description": "The position of the opening brace of anonymous functions‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"classes_opening_brace": {
"description": "The position of the opening brace of classes‘ body.",
"default": "next_line_unless_newline_at_signature_end",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"control_structures_opening_brace": {
"description": "The position of the opening brace of control structures‘ body.",
"default": "same_line",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
},
"functions_opening_brace": {
"description": "The position of the opening brace of functions‘ body.",
"default": "next_line_unless_newline_at_signature_end",
"oneOf": [
{
"enum": [
"next_line_unless_newline_at_signature_end",
"same_line"
]
}
]
}
}
},
"date_time_create_from_format_call": {
"description": "The first argument of `DateTime::createFromFormat` method must start with `!`."
},
"date_time_immutable": {
"description": "Class `DateTimeImmutable` should be used instead of `DateTime`."
},
"declare_equal_normalize": {
"description": "Equal sign in declare statement should be surrounded by spaces or not following configuration.",
"type": "object",
"properties": {
"space": {
"description": "Spacing to apply around the equal sign.",
"default": "none",
"oneOf": [
{
"enum": [
"single",
"none"
]
}
]
}
}
},
"declare_parentheses": {
"description": "There must not be spaces around `declare` statement parentheses."
},
"declare_strict_types": {
"description": "Force strict types declaration in all files. Requires PHP >= 7.0."
},
"dir_constant": {
"description": "Replaces `dirname(__FILE__)` expression with equivalent `__DIR__` constant."
},
"doctrine_annotation_array_assignment": {
"description": "Doctrine annotations must use configured operator for assignment in arrays.",
"type": "object",
"properties": {
"ignored_tags": {
"description": "List of tags that must not be treated as Doctrine Annotations.",
"default": [
"abstract",
"access",
"code",
"deprec",
"encode",
"exception",
"final",
"ingroup",
"inheritdoc",
"inheritDoc",
"magic",
"name",
"toc",
"tutorial",
"private",
"static",
"staticvar",
"staticVar",
"throw",
"api",
"author",
"category",
"copyright",
"deprecated",
"example",
"filesource",
"global",
"ignore",
"internal",
"license",
"link",
"method",
"package",
"param",
"property",
"property-read",
"property-write",
"return",
"see",
"since",
"source",
"subpackage",
"throws",
"todo",
"TODO",
"usedBy",
"uses",
"var",
"version",
"after",
"afterClass",
"backupGlobals",
"backupStaticAttributes",
"before",
"beforeClass",
"codeCoverageIgnore",
"codeCoverageIgnoreStart",
"codeCoverageIgnoreEnd",
"covers",
"coversDefaultClass",
"coversNothing",
"dataProvider",
"depends",
"expectedException",
"expectedExceptionCode",
"expectedExceptionMessage",
"expectedExceptionMessageRegExp",
"group",
"large",
"medium",
"preserveGlobalState",
"requires",
"runTestsInSeparateProcesses",
"runInSeparateProcess",
"small",
"test",
"testdox",
"ticket",
"uses",
"SuppressWarnings",
"noinspection",
"package_version",
"enduml",
"startuml",
"psalm",
"phpstan",
"template",
"fix",
"FIXME",
"fixme",
"override"
],
"type": "array"
},
"operator": {
"description": "The operator to use.",
"default": "=",
"oneOf": [
{
"enum": [
"=",
":"
]
}
]
}
}
},
"doctrine_annotation_braces": {
"description": "Doctrine annotations without arguments must use the configured syntax.",
"type": "object",
"properties": {
"ignored_tags": {
"description": "List of tags that must not be treated as Doctrine Annotations.",
"default": [
"abstract",
"access",
"code",
"deprec",
"encode",
"exception",
"final",
"ingroup",
"inheritdoc",
"inheritDoc",
"magic",
"name",
"toc",
"tutorial",
"private",
"static",
"staticvar",
"staticVar",
"throw",
"api",
"author",
"category",
"copyright",
"deprecated",
"example",
"filesource",
"global",
"ignore",
"internal",
"license",
"link",
"method",
"package",
"param",
"property",
"property-read",
"property-write",
"return",
"see",
"since",
"source",
"subpackage",
"throws",
"todo",
"TODO",
"usedBy",
"uses",
"var",
"version",
"after",
"afterClass",
"backupGlobals",
"backupStaticAttributes",
"before",
"beforeClass",
"codeCoverageIgnore",
"codeCoverageIgnoreStart",
"codeCoverageIgnoreEnd",
"covers",
"coversDefaultClass",
"coversNothing",
"dataProvider",
"depends",
"expectedException",
"expectedExceptionCode",
"expectedExceptionMessage",
"expectedExceptionMessageRegExp",
"group",
"large",
"medium",
"preserveGlobalState",
"requires",
"runTestsInSeparateProcesses",
"runInSeparateProcess",
"small",
"test",
"testdox",
"ticket",
"uses",
"SuppressWarnings",
"noinspection",
"package_version",
"enduml",
"startuml",
"psalm",
"phpstan",
"template",
"fix",
"FIXME",
"fixme",
"override"
],
"type": "array"
},
"syntax": {
"description": "Whether to add or remove braces.",
"default": "without_braces",
"oneOf": [
{
"enum": [
"with_braces",
"without_braces"
]
}
]
}
}
},
"doctrine_annotation_indentation": {
"description": "Doctrine annotations must be indented with four spaces.",
"type": "object",
"properties": {
"ignored_tags": {
"description": "List of tags that must not be treated as Doctrine Annotations.",
"default": [
"abstract",
"access",
"code",
"deprec",
"encode",
"exception",
"final",
"ingroup",
"inheritdoc",
"inheritDoc",
"magic",
"name",
"toc",
"tutorial",
"private",
"static",
"staticvar",
"staticVar",
"throw",
"api",
"author",
"category",
"copyright",
"deprecated",
"example",
"filesource",
"global",
"ignore",
"internal",
"license",
"link",
"method",
"package",
"param",
"property",
"property-read",
"property-write",
"return",
"see",
"since",
"source",
"subpackage",
"throws",
"todo",
"TODO",
"usedBy",
"uses",
"var",
"version",
"after",
"afterClass",
"backupGlobals",
"backupStaticAttributes",
"before",
"beforeClass",
"codeCoverageIgnore",
"codeCoverageIgnoreStart",
"codeCoverageIgnoreEnd",
"covers",
"coversDefaultClass",
"coversNothing",
"dataProvider",
"depends",
"expectedException",
"expectedExceptionCode",
"expectedExceptionMessage",
"expectedExceptionMessageRegExp",
"group",
"large",
"medium",
"preserveGlobalState",
"requires",
"runTestsInSeparateProcesses",
"runInSeparateProcess",
"small",
"test",
"testdox",
"ticket",
"uses",
"SuppressWarnings",
"noinspection",
"package_version",
"enduml",
"startuml",
"psalm",
"phpstan",
"template",
"fix",
"FIXME",
"fixme",
"override"
],
"type": "array"
},
"indent_mixed_lines": {
"description": "Whether to indent lines that have content before closing parenthesis.",
"default": false,
"type": "boolean"
}
}
},
"doctrine_annotation_spaces": {
"description": "Fixes spaces in Doctrine annotations.",
"type": "object",
"properties": {
"after_argument_assignments": {
"description": "Whether to add, remove or ignore spaces after argument assignment operator.",
"default": false,
"type": [
"null",
"boolean"
]
},
"after_array_assignments_colon": {
"description": "Whether to add, remove or ignore spaces after array assignment `:` operator.",
"default": true,
"type": [
"null",
"boolean"
]
},
"after_array_assignments_equals": {
"description": "Whether to add, remove or ignore spaces after array assignment `=` operator.",
"default": true,
"type": [
"null",
"boolean"
]
},
"around_commas": {
"description": "Whether to fix spaces around commas.",
"default": true,
"type": "boolean"
},
"around_parentheses": {
"description": "Whether to fix spaces around parentheses.",
"default": true,
"type": "boolean"
},
"before_argument_assignments": {
"description": "Whether to add, remove or ignore spaces before argument assignment operator.",
"default": false,
"type": [
"null",
"boolean"
]
},