Skip to content

Commit

Permalink
Update compatibility patch
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 18, 2022
1 parent 0d88ed9 commit 7debe8d
Showing 1 changed file with 32 additions and 21 deletions.
53 changes: 32 additions & 21 deletions tests/php74-compatibility.patch
Original file line number Diff line number Diff line change
@@ -1,49 +1,60 @@
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
index da6fb11..fca0120 100644
index da6fb11..23e37e2 100644
--- a/tests/expected_report.txt
+++ b/tests/expected_report.txt
@@ -12,13 +12,11 @@ tests/input/class-references.php 10 0
tests/input/concatenation_spacing.php 49 0
tests/input/constants-no-lsb.php 2 0
tests/input/constants-var.php 7 0
-tests/input/ControlStructures.php 28 0
+tests/input/ControlStructures.php 29 0
@@ -15,26 +15,23 @@ tests/input/constants-var.php 7 0
tests/input/ControlStructures.php 28 0
tests/input/doc-comment-spacing.php 11 0
tests/input/duplicate-assignment-variable.php 1 0
tests/input/EarlyReturn.php 7 0
tests/input/example-class.php 44 0
-tests/input/EarlyReturn.php 7 0
-tests/input/example-class.php 44 0
-tests/input/ExampleBackedEnum.php 3 0
-tests/input/Exceptions.php 1 0
+tests/input/EarlyReturn.php 6 0
+tests/input/example-class.php 41 0
tests/input/forbidden-comments.php 14 0
tests/input/forbidden-functions.php 6 0
tests/input/inline_type_hint_assertions.php 7 0
@@ -32,7 +30,7 @@ tests/input/null_coalesce_equal_operator.php 5 0
tests/input/LowCaseTypes.php 2 0
tests/input/namespaces-spacing.php 7 0
-tests/input/NamingCamelCase.php 9 0
+tests/input/NamingCamelCase.php 6 0
tests/input/negation-operator.php 2 0
tests/input/new_with_parentheses.php 19 0
tests/input/not_spacing.php 8 0
tests/input/null_coalesce_equal_operator.php 5 0
tests/input/null_coalesce_operator.php 3 0
tests/input/null_safe_operator.php 1 0
-tests/input/null_safe_operator.php 1 0
tests/input/optimized-functions.php 1 0
-tests/input/PropertyDeclaration.php 14 0
+tests/input/PropertyDeclaration.php 7 0
tests/input/return_type_on_closures.php 26 0
tests/input/return_type_on_methods.php 22 0
-tests/input/return_type_on_closures.php 26 0
-tests/input/return_type_on_methods.php 22 0
+tests/input/PropertyDeclaration.php 6 0
+tests/input/return_type_on_closures.php 21 0
+tests/input/return_type_on_methods.php 17 0
tests/input/semicolon_spacing.php 3 0
@@ -43,7 +41,7 @@ tests/input/strings.php 1 0
tests/input/single-line-array-spacing.php 5 0
tests/input/spread-operator.php 6 0
@@ -43,17 +40,17 @@ tests/input/strings.php 1 0
tests/input/superfluous-naming.php 11 0
tests/input/test-case.php 8 0
tests/input/trailing_comma_on_array.php 1 0
-tests/input/TrailingCommaOnFunctions.php 6 0
+tests/input/TrailingCommaOnFunctions.php 4 0
+tests/input/TrailingCommaOnFunctions.php 2 0
tests/input/traits-uses.php 11 0
tests/input/type-hints.php 9 0
-tests/input/type-hints.php 9 0
+tests/input/type-hints.php 8 0
tests/input/UnusedVariables.php 1 0
@@ -51,9 +49,9 @@ tests/input/use-ordering.php 1 0
tests/input/use-ordering.php 1 0
tests/input/useless-semicolon.php 2 0
tests/input/UselessConditions.php 21 0
-tests/input/UselessConditions.php 21 0
+tests/input/UselessConditions.php 20 0
----------------------------------------------------------------------
-A TOTAL OF 444 ERRORS AND 0 WARNINGS WERE FOUND IN 47 FILES
+A TOTAL OF 432 ERRORS AND 0 WARNINGS WERE FOUND IN 45 FILES
+A TOTAL OF 408 ERRORS AND 0 WARNINGS WERE FOUND IN 44 FILES
----------------------------------------------------------------------
-PHPCBF CAN FIX 368 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
+PHPCBF CAN FIX 356 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
+PHPCBF CAN FIX 332 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


Expand Down

0 comments on commit 7debe8d

Please sign in to comment.