Skip to content

Commit f915b7a

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

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

AbstractCachePool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ protected function validateKey($key)
299299
/**
300300
* @param LoggerInterface $logger
301301
*/
302-
public function setLogger(LoggerInterface $logger)
302+
public function setLogger(LoggerInterface $logger): void
303303
{
304304
$this->logger = $logger;
305305
}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
],
2323
"homepage": "http://www.php-cache.com/en/latest/",
2424
"require": {
25-
"php": "^5.6 || ^7.0 || ^8.0",
25+
"php": "^7.1 || ^8.0",
2626
"cache/tag-interop": "^1.0",
2727
"psr/cache": "^1.0 || ^2.0",
2828
"psr/log": "^1.0 || ^2.0 || ^3.0",
2929
"psr/simple-cache": "^1.0"
3030
},
3131
"require-dev": {
32-
"cache/integration-tests": "^0.16",
33-
"phpunit/phpunit": "^5.7.21"
32+
"cache/integration-tests": "^0.17",
33+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
3434
},
3535
"minimum-stability": "dev",
3636
"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)