@@ -43,10 +43,15 @@ index 71be9a5..f9492c7 100644
43
43
'array_key_exists' => true,
44
44
'array_slice' => true,
45
45
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
46
- index 827fedc..fe8f917 100644
46
+ index c07423b..9b0ebf0 100644
47
47
--- a/tests/expected_report.txt
48
48
+++ b/tests/expected_report.txt
49
- @@ -15,7 +15,7 @@ tests/input/doc-comment-spacing.php 12 0
49
+ @@ -11,11 +11,11 @@ tests/input/concatenation_spacing.php 49 0
50
+ tests/input/constants-no-lsb.php 2 0
51
+ tests/input/constants-var.php 4 0
52
+ tests/input/ControlStructures.php 17 2
53
+ - tests/input/doc-comment-spacing.php 16 0
54
+ + tests/input/doc-comment-spacing.php 17 0
50
55
tests/input/doctrine-migration.php 18 6
51
56
tests/input/duplicate-assignment-variable.php 1 0
52
57
tests/input/EarlyReturn.php 6 0
@@ -67,14 +72,27 @@ index 827fedc..fe8f917 100644
67
72
tests/input/useless-semicolon.php 2 0
68
73
tests/input/UselessConditions.php 23 0
69
74
----------------------------------------------------------------------
70
- - A TOTAL OF 407 ERRORS AND 8 WARNINGS WERE FOUND IN 43 FILES
71
- + A TOTAL OF 411 ERRORS AND 8 WARNINGS WERE FOUND IN 43 FILES
75
+ - A TOTAL OF 411 ERRORS AND 8 WARNINGS WERE FOUND IN 43 FILES
76
+ + A TOTAL OF 416 ERRORS AND 8 WARNINGS WERE FOUND IN 43 FILES
72
77
----------------------------------------------------------------------
73
- - PHPCBF CAN FIX 330 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
74
- + PHPCBF CAN FIX 334 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
78
+ - PHPCBF CAN FIX 334 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
79
+ + PHPCBF CAN FIX 339 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
75
80
----------------------------------------------------------------------
76
81
77
82
83
+ diff --git a/tests/fixed/doc-comment-spacing.php b/tests/fixed/doc-comment-spacing.php
84
+ index 7798686..bb40667 100644
85
+ --- a/tests/fixed/doc-comment-spacing.php
86
+ +++ b/tests/fixed/doc-comment-spacing.php
87
+ @@ -25,7 +25,7 @@ class Test
88
+ * @psalm-var list<mixed>
89
+ * @phpstan-var array<mixed>
90
+ */
91
+ - public $foo = [];
92
+ + public array $foo = [];
93
+
94
+ /**
95
+ * Description
78
96
diff --git a/tests/fixed/example-class.php b/tests/fixed/example-class.php
79
97
index 0f98ce6..050d89c 100644
80
98
--- a/tests/fixed/example-class.php
0 commit comments