File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
tests/PHPStan/Rules/Functions Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 11<?php declare (strict_types = 1 );
22
3+ namespace Bug13719 ;
4+
35function non_variadic (string $ name , ?string $ greeting = null ): void {
46 var_dump ($ name );
57}
You can’t perform that action at this time.
0 commit comments