Skip to content

Commit 7521ecd

Browse files
committed
UnusedParameterSniff: More tests
1 parent 77f3c12 commit 7521ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Sniffs/Functions/data/unusedParameterNoErrors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ function parameterInString($a, $b)
3939
echo "${b}";
4040
}
4141

42-
function parameterInHeredoc($a)
42+
function parameterInHeredoc($a, $b)
4343
{
4444
echo <<<TEXT
45-
$a
45+
$a ${b}
4646
TEXT;
4747
}
4848

0 commit comments

Comments
 (0)