Skip to content

Commit

Permalink
Update compatibility patch
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Jul 8, 2022
1 parent b988737 commit b1e5165
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/php81-compatibility.patch
Expand Up @@ -109,7 +109,7 @@ index 5c3f27b..9703897 100644
+ }
}
diff --git a/tests/fixed/TrailingCommaOnFunctions.php b/tests/fixed/TrailingCommaOnFunctions.php
index f3ffa91..7038fa4 100644
index f3ffa91..4248238 100644
--- a/tests/fixed/TrailingCommaOnFunctions.php
+++ b/tests/fixed/TrailingCommaOnFunctions.php
@@ -15,7 +15,7 @@ class TrailingCommaOnFunctions
Expand All @@ -130,14 +130,17 @@ index f3ffa91..7038fa4 100644
): void {
var_dump($var);
};
@@ -37,6 +37,7 @@ class TrailingCommaOnFunctions
@@ -37,8 +37,9 @@ class TrailingCommaOnFunctions

$class = new TrailingCommaOnFunctions();

+// phpcs:ignore Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma
$class->a(1);

$class->a(
- 1
+ 1,
);
diff --git a/tests/fixed/UselessConditions.php b/tests/fixed/UselessConditions.php
index 2151b17..71e0cfb 100644
--- a/tests/fixed/UselessConditions.php
Expand Down

0 comments on commit b1e5165

Please sign in to comment.