Use short returns in PHPUnit tests
[TASK] Use short returns in PHPUnit tests
Usage of PHPUnit’s mock e.g. ->will($this->returnValue(..)) must be
replaced by its shorter equivalent such as ->willReturn(...).
Tested-by: TYPO3com <email@example.com>
Tested-by: Oliver Klee <firstname.lastname@example.org>
Tested-by: Daniel Goerz <email@example.com>
Reviewed-by: Oliver Klee <firstname.lastname@example.org>
Reviewed-by: Daniel Goerz <email@example.com>
#1 Updated by Gerrit Code Review 28 days ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62100