diff --git a/tests/Calls/FunctionCallsNamedParamsTest.php b/tests/Calls/FunctionCallsNamedParamsTest.php index fc3aed5..1e7b3e7 100644 --- a/tests/Calls/FunctionCallsNamedParamsTest.php +++ b/tests/Calls/FunctionCallsNamedParamsTest.php @@ -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.', diff --git a/tests/Calls/FunctionCallsTest.php b/tests/Calls/FunctionCallsTest.php index d8cd7f8..b8e0248 100644 --- a/tests/Calls/FunctionCallsTest.php +++ b/tests/Calls/FunctionCallsTest.php @@ -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.', diff --git a/tests/Calls/FunctionCallsTypeStringParamsTest.php b/tests/Calls/FunctionCallsTypeStringParamsTest.php index 27e0eae..78af8ab 100644 --- a/tests/Calls/FunctionCallsTypeStringParamsTest.php +++ b/tests/Calls/FunctionCallsTypeStringParamsTest.php @@ -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, ], [