1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
From: Nicolas Grekas <nicolas.grekas@gmail.com>
Date: Fri, 17 Mar 2017 11:48:57 +0100
Subject: Move to namespaced phpunit versions
Origin: upstream, https://github.com/php-cache/integration-tests/commit/1ec7362962185df91d3d749bc3fa7e7b99cb9fc7
---
composer.json | 5 ++++-
src/CachePoolTest.php | 3 ++-
src/HierarchicalCachePoolTest.php | 3 ++-
src/SimpleCacheTest.php | 3 ++-
src/TaggableCachePoolTest.php | 3 ++-
5 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/composer.json b/composer.json
index 30666b2..7cf25e1 100755
--- a/composer.json
+++ b/composer.json
@@ -29,13 +29,16 @@
"cache/tag-interop": "^1.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.0|^5.0",
+ "phpunit/phpunit": "^4.8.35|^5.4.3",
"cache/cache": "dev-master",
"symfony/cache": "^3.1",
"madewithlove/illuminate-psr-cache-bridge": "^1.0",
"illuminate/cache": "^5.0",
"tedivm/stash": "dev-master"
},
+ "conflict": {
+ "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0"
+ },
"autoload": {
"psr-4": {
"Cache\\IntegrationTests\\": "src/"
diff --git a/src/CachePoolTest.php b/src/CachePoolTest.php
index c2bc29e..926f14c 100644
--- a/src/CachePoolTest.php
+++ b/src/CachePoolTest.php
@@ -11,10 +11,11 @@
namespace Cache\IntegrationTests;
+use PHPUnit\Framework\TestCase;
use Psr\Cache\CacheItemInterface;
use Psr\Cache\CacheItemPoolInterface;
-abstract class CachePoolTest extends \PHPUnit_Framework_TestCase
+abstract class CachePoolTest extends TestCase
{
/**
* @type array with functionName => reason.
diff --git a/src/HierarchicalCachePoolTest.php b/src/HierarchicalCachePoolTest.php
index a643d3e..768d120 100644
--- a/src/HierarchicalCachePoolTest.php
+++ b/src/HierarchicalCachePoolTest.php
@@ -11,12 +11,13 @@
namespace Cache\IntegrationTests;
+use PHPUnit\Framework\TestCase;
use Psr\Cache\CacheItemPoolInterface;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
-abstract class HierarchicalCachePoolTest extends \PHPUnit_Framework_TestCase
+abstract class HierarchicalCachePoolTest extends TestCase
{
/**
* @type array with functionName => reason.
diff --git a/src/SimpleCacheTest.php b/src/SimpleCacheTest.php
index 45060a6..42d1200 100644
--- a/src/SimpleCacheTest.php
+++ b/src/SimpleCacheTest.php
@@ -11,9 +11,10 @@
namespace Cache\IntegrationTests;
+use PHPUnit\Framework\TestCase;
use Psr\SimpleCache\CacheInterface;
-abstract class SimpleCacheTest extends \PHPUnit_Framework_TestCase
+abstract class SimpleCacheTest extends TestCase
{
/**
* @type array with functionName => reason.
diff --git a/src/TaggableCachePoolTest.php b/src/TaggableCachePoolTest.php
index 2a27341..763b775 100644
--- a/src/TaggableCachePoolTest.php
+++ b/src/TaggableCachePoolTest.php
@@ -12,11 +12,12 @@
namespace Cache\IntegrationTests;
use Cache\TagInterop\TaggableCacheItemPoolInterface;
+use PHPUnit\Framework\TestCase;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
-abstract class TaggableCachePoolTest extends \PHPUnit_Framework_TestCase
+abstract class TaggableCachePoolTest extends TestCase
{
/**
* @type array with functionName => reason.
|