Skip to content

Commit 96baec9

Browse files
committed
Test 7.4
1 parent 6f5fcfd commit 96baec9

File tree

1 file changed

+33
-22
lines changed

1 file changed

+33
-22
lines changed

tests/php74-compatibility.patch

Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,59 @@ diff --git a/tests/expected_report.txt b/tests/expected_report.txt
22
index 1773423..9422a54 100644
33
--- a/tests/expected_report.txt
44
+++ b/tests/expected_report.txt
5-
@@ -14,13 +14,11 @@
6-
tests/input/concatenation_spacing.php 49 0
7-
tests/input/constants-no-lsb.php 2 0
8-
tests/input/constants-var.php 6 0
9-
-tests/input/ControlStructures.php 28 0
10-
+tests/input/ControlStructures.php 29 0
5+
@@ -16,26 +16,23 @@ tests/input/constants-var.php 6 0
6+
tests/input/ControlStructures.php 28 0
117
tests/input/doc-comment-spacing.php 11 0
128
tests/input/duplicate-assignment-variable.php 1 0
13-
tests/input/EarlyReturn.php 7 0
14-
tests/input/example-class.php 47 0
9+
-tests/input/EarlyReturn.php 7 0
10+
-tests/input/example-class.php 47 0
1511
-tests/input/ExampleBackedEnum.php 3 0
1612
-tests/input/Exceptions.php 1 0
13+
+tests/input/EarlyReturn.php 6 0
14+
+tests/input/example-class.php 44 0
1715
tests/input/forbidden-comments.php 14 0
1816
tests/input/forbidden-functions.php 6 0
1917
tests/input/inline_type_hint_assertions.php 10 0
20-
@@ -34,7 +32,7 @@
18+
tests/input/LowCaseTypes.php 2 0
19+
tests/input/namespaces-spacing.php 7 0
20+
-tests/input/NamingCamelCase.php 9 0
21+
+tests/input/NamingCamelCase.php 6 0
22+
tests/input/negation-operator.php 2 0
23+
tests/input/new_with_parentheses.php 19 0
24+
tests/input/not_spacing.php 8 0
25+
tests/input/null_coalesce_equal_operator.php 5 0
2126
tests/input/null_coalesce_operator.php 3 0
22-
tests/input/null_safe_operator.php 1 0
27+
-tests/input/null_safe_operator.php 1 0
2328
tests/input/optimized-functions.php 1 0
2429
-tests/input/PropertyDeclaration.php 14 0
25-
+tests/input/PropertyDeclaration.php 7 0
26-
tests/input/return_type_on_closures.php 26 0
27-
tests/input/return_type_on_methods.php 22 0
30+
-tests/input/return_type_on_closures.php 26 0
31+
-tests/input/return_type_on_methods.php 22 0
32+
+tests/input/PropertyDeclaration.php 6 0
33+
+tests/input/return_type_on_closures.php 21 0
34+
+tests/input/return_type_on_methods.php 17 0
2835
tests/input/semicolon_spacing.php 3 0
29-
@@ -45,7 +43,7 @@
36+
tests/input/single-line-array-spacing.php 5 0
37+
tests/input/spread-operator.php 6 0
38+
@@ -44,17 +41,17 @@ tests/input/strings.php 3 0
3039
tests/input/superfluous-naming.php 11 0
3140
tests/input/test-case.php 8 0
3241
tests/input/trailing_comma_on_array.php 1 0
3342
-tests/input/TrailingCommaOnFunctions.php 6 0
34-
+tests/input/TrailingCommaOnFunctions.php 4 0
43+
+tests/input/TrailingCommaOnFunctions.php 2 0
3544
tests/input/traits-uses.php 11 0
36-
tests/input/type-hints.php 9 0
45+
-tests/input/type-hints.php 9 0
46+
+tests/input/type-hints.php 8 0
3747
tests/input/UnusedVariables.php 1 0
38-
@@ -53,9 +51,9 @@
48+
tests/input/use-ordering.php 1 0
3949
tests/input/useless-semicolon.php 2 0
40-
tests/input/UselessConditions.php 21 0
50+
-tests/input/UselessConditions.php 21 0
51+
+tests/input/UselessConditions.php 20 0
4152
----------------------------------------------------------------------
42-
-A TOTAL OF 461 ERRORS AND 2 WARNINGS WERE FOUND IN 49 FILES
43-
+A TOTAL OF 449 ERRORS AND 2 WARNINGS WERE FOUND IN 47 FILES
53+
-A TOTAL OF 453 ERRORS AND 0 WARNINGS WERE FOUND IN 48 FILES
54+
+A TOTAL OF 417 ERRORS AND 0 WARNINGS WERE FOUND IN 45 FILES
4455
----------------------------------------------------------------------
45-
-PHPCBF CAN FIX 377 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
46-
+PHPCBF CAN FIX 365 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
56+
-PHPCBF CAN FIX 375 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
57+
+PHPCBF CAN FIX 339 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
4758
----------------------------------------------------------------------
4859

4960

0 commit comments

Comments
 (0)