Skip to content

Commit e448e46

Browse files
authored
Drop PHP 5.6 + 7.0 (#257)
* Drop PHP 5.6 + 7.0 * Remove `syntaxCheck` * Add void
1 parent 7a0e4dc commit e448e46

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Tests/IntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ class IntegrationTest extends TestCase
2828
*/
2929
private $cache;
3030

31-
protected function setUp()
31+
protected function setUp(): void
3232
{
3333
$cache = new Memcached();
3434
$cache->addServer('localhost', 11211);
3535

3636
$this->cache = new MemcachedCachePool($cache);
3737
}
3838

39-
protected function tearDown()
39+
protected function tearDown(): void
4040
{
4141
if ($this->cache !== null) {
4242
$this->cache->clear();

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
],
1818
"homepage": "http://www.php-cache.com/en/latest/",
1919
"require": {
20-
"php": "^5.6 || ^7.0 || ^8.0",
20+
"php": "^7.1 || ^8.0",
2121
"cache/hierarchical-cache": "^1.0",
2222
"psr/cache": "^1.0 || ^2.0"
2323
},
2424
"require-dev": {
2525
"cache/memcached-adapter": "^1.0",
26-
"phpunit/phpunit": "^5.7.21"
26+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
2727
},
2828
"minimum-stability": "dev",
2929
"prefer-stable": true,

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="false"
11-
syntaxCheck="false"
1211
bootstrap="vendor/autoload.php"
1312
>
1413
<testsuites>

0 commit comments

Comments
 (0)