Skip to content

Commit 11fb836

Browse files
Fix namespace
1 parent 9fdc774 commit 11fb836

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,12 +539,12 @@ public function testBug13719(): void
539539
{
540540
$this->analyse([__DIR__ . '/data/bug-13719.php'], [
541541
[
542-
'Unknown parameter $greetings in call to function non_variadic.',
543-
18,
542+
'Unknown parameter $greetings in call to function Bug13719\non_variadic.',
543+
20,
544544
],
545545
[
546-
'Unknown parameter $greetings in call to function implicit_variadic.',
547-
25,
546+
'Unknown parameter $greetings in call to function Bug13719\implicit_variadic.',
547+
27,
548548
],
549549
]);
550550
}

tests/PHPStan/Rules/Functions/data/bug-13719.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php declare(strict_types = 1);
22

3+
namespace Bug13719;
4+
35
function non_variadic(string $name, ?string $greeting = null): void {
46
var_dump($name);
57
}

0 commit comments

Comments
 (0)