mirror of
https://github.com/doctrine/DoctrineCacheBundle.git
synced 2026-04-26 10:08:01 +02:00
[PR #125] [CLOSED] Use createMock instead of deprecated getMock #178
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/DoctrineCacheBundle/pull/125
Author: @DavidPrevot
Created: 11/28/2017
Status: ❌ Closed
Base:
master← Head:phpunit6📝 Commits (1)
0bc4d8dUse createMock instead of deprecated getMock📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
Tests/Functional/Command/CommandTestCase.php(+2 -2)📝
composer.json(+1 -1)📄 Description
getMock has been deprecated since PHPUnit 5.4, and removed in PHPUnit 6.
This drops support for PHPUnit 4, but that version is not supported
upstream anymore since February 3, 2017.
This may be taken into consideration in order to help migrate to recent
PHPUnit with https://github.com/doctrine/DoctrineCacheBundle/pull/124.
Bug-Debian: https://bugs.debian.org/882898
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.