diff --git a/.travis.yml b/.travis.yml index 3562af7..e9b9799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ env: - PHPUNIT_VERSION=~6.4.0 - PHPUNIT_VERSION=~6.5.0 - PHPUNIT_VERSION=~7.0.0 + - PHPUNIT_VERSION=~7.1.0 php: - 7.2 @@ -27,6 +28,8 @@ matrix: exclude: - php: 7 env: PHPUNIT_VERSION=dev-master + - php: 7 + env: PHPUNIT_VERSION=~7.1.0 - php: 7 env: PHPUNIT_VERSION=~7.0.0 allow_failures: diff --git a/classes/MockObjectProxy.php b/classes/MockObjectProxy.php index 0132be0..7fd9ccc 100644 --- a/classes/MockObjectProxy.php +++ b/classes/MockObjectProxy.php @@ -79,4 +79,14 @@ public function __phpunit_hasMatchers() // @codingStandardsIgnoreEnd return $this->mockObject->__phpunit_hasMatchers(); } + + /** + * @SuppressWarnings(PHPMD) + */ + // @codingStandardsIgnoreStart + public function __phpunit_setReturnValueGeneration(bool $returnValueGeneration) + { + // @codingStandardsIgnoreEnd + return $this->mockObject->__phpunit_setReturnValueGeneration($returnValueGeneration); + } }