Skip to content

Commit f85fdf3

Browse files
Closes #3174
1 parent 3c50bbf commit f85fdf3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog-7.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes of the PHPUnit 7.2 release series are documented in this fil
77
### Fixed
88

99
* Fixed [#3160](https://github.com/sebastianbergmann/phpunit/issues/3160): TeamCity logfile writer broken on Windows
10+
* Fixed [#3174](https://github.com/sebastianbergmann/phpunit/issues/3174): Code generator for test doubles does not handle proxied methods with variadic parameters correctly
1011

1112
## [7.2.4] - 2018-06-05
1213

src/Framework/MockObject/Generator/proxied_method_void.tpl.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$__phpunit_arguments_tmp = func_get_args();
99

1010
for ($__phpunit_i = {arguments_count}; $__phpunit_i < $__phpunit_count; $__phpunit_i++) {
11-
$__phpunit_arguments[] = $__phpunit_arguments_tmp[$i];
11+
$__phpunit_arguments[] = $__phpunit_arguments_tmp[$__phpunit_i];
1212
}
1313
}
1414

0 commit comments

Comments
 (0)