Skip to content

Commit ff1cc1d

Browse files
committed
Merge branch 'feature/phpunit-7.1'
Closes #28
2 parents a7e7a51 + 50107e7 commit ff1cc1d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
- PHPUNIT_VERSION=~6.4.0
1616
- PHPUNIT_VERSION=~6.5.0
1717
- PHPUNIT_VERSION=~7.0.0
18+
- PHPUNIT_VERSION=~7.1.0
1819

1920
php:
2021
- 7.2
@@ -27,6 +28,8 @@ matrix:
2728
exclude:
2829
- php: 7
2930
env: PHPUNIT_VERSION=dev-master
31+
- php: 7
32+
env: PHPUNIT_VERSION=~7.1.0
3033
- php: 7
3134
env: PHPUNIT_VERSION=~7.0.0
3235
allow_failures:

classes/MockObjectProxy.php

+10
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,14 @@ public function __phpunit_hasMatchers()
7979
// @codingStandardsIgnoreEnd
8080
return $this->mockObject->__phpunit_hasMatchers();
8181
}
82+
83+
/**
84+
* @SuppressWarnings(PHPMD)
85+
*/
86+
// @codingStandardsIgnoreStart
87+
public function __phpunit_setReturnValueGeneration(bool $returnValueGeneration)
88+
{
89+
// @codingStandardsIgnoreEnd
90+
return $this->mockObject->__phpunit_setReturnValueGeneration($returnValueGeneration);
91+
}
8292
}

0 commit comments

Comments
 (0)