Skip to content

Commit

Permalink
Remove test case comments that are no longer true
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Dec 22, 2023
1 parent 048ad86 commit 9118889
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/Calls/FunctionCallsNamedParamsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ public function testRule(): void
38,
],
]);
// Based on the configuration above, no errors in this file:
$this->analyse([__DIR__ . '/../src/disallowed-allow/functionCallsNamedParams.php'], [
[
'Calling Foo\Bar\Waldo\foo() (as foo()) is forbidden.',
Expand Down
1 change: 0 additions & 1 deletion tests/Calls/FunctionCallsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ public function testRule(): void
91,
],
]);
// Based on the configuration above, no errors in this file:
$this->analyse([__DIR__ . '/../src/disallowed-allow/functionCalls.php'], [
[
'Calling Foo\Bar\waldo() (as waldo()) is forbidden, whoa, a namespace.',
Expand Down
3 changes: 0 additions & 3 deletions tests/Calls/FunctionCallsTypeStringParamsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,9 @@ public function testRule(): void
33,
],
]);
// Based on the configuration above, no errors in this file:
$this->analyse([__DIR__ . '/../src/disallowed-allow/functionCallsTypeStringParams.php'], [
[
// expect this error message:
'Calling Foo\Bar\Waldo\config() (as config()) is forbidden.',
// on this line:
6,
],
[
Expand Down

0 comments on commit 9118889

Please sign in to comment.