Skip to content

Commit fb0b5a8

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

61 files changed

Lines changed: 85 additions & 109 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
16+
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
1717

1818
services:
1919
redis:
@@ -74,10 +74,6 @@ jobs:
7474
fi
7575
done
7676
77-
if [ $PHP_VERSION = '5.6' ]; then
78-
exit 0
79-
fi
80-
8177
exit $ok
8278
8379
- name: Run tests

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
],
2222
"homepage": "http://www.php-cache.com/en/latest/",
2323
"require": {
24-
"php": "^5.6 || ^7.0 || ^8.0",
24+
"php": "^7.1 || ^8.0",
2525
"doctrine/cache": "^1.3",
2626
"league/flysystem": "^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",
32+
"cache/integration-tests": "^0.17",
3333
"defuse/php-encryption": "^2.0",
3434
"illuminate/cache": "^5.4 || ^5.5 || ^5.6",
3535
"mockery/mockery": "^1.0",
36-
"phpunit/phpunit": "^5.7.21",
36+
"phpunit/phpunit": "^7.5.20 || ^9.5.10",
3737
"predis/predis": "^1.1",
3838
"symfony/cache": "^3.1",
3939
"symfony/polyfill-php70": "^1.6"

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>

src/Adapter/Apc/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
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/adapter-common": "^1.0",
2727
"psr/cache": "^1.0 || ^2.0",
2828
"psr/simple-cache": "^1.0"
2929
},
3030
"require-dev": {
31-
"cache/integration-tests": "^0.16",
32-
"phpunit/phpunit": "^5.7.21"
31+
"cache/integration-tests": "^0.17",
32+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
3333
},
3434
"provide": {
3535
"psr/cache-implementation": "^1.0",

src/Adapter/Apc/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>

src/Adapter/Apcu/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
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/adapter-common": "^1.0",
2727
"psr/cache": "^1.0 || ^2.0",
2828
"psr/simple-cache": "^1.0"
2929
},
3030
"require-dev": {
31-
"cache/integration-tests": "^0.16",
32-
"phpunit/phpunit": "^5.7.21"
31+
"cache/integration-tests": "^0.17",
32+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
3333
},
3434
"provide": {
3535
"psr/cache-implementation": "^1.0",

src/Adapter/Apcu/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>

src/Adapter/Chain/CachePoolChain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function invalidateTags(array $tags)
297297
/**
298298
* @param LoggerInterface $logger
299299
*/
300-
public function setLogger(LoggerInterface $logger)
300+
public function setLogger(LoggerInterface $logger): void
301301
{
302302
$this->logger = $logger;
303303
}

src/Adapter/Chain/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"homepage": "http://www.php-cache.com/en/latest/",
2525
"require": {
26-
"php": "^5.6 || ^7.0 || ^8.0",
26+
"php": "^7.1 || ^8.0",
2727
"cache/adapter-common": "^1.0",
2828
"cache/tag-interop": "^1.0",
2929
"psr/cache": "^1.0 || ^2.0",
@@ -32,8 +32,8 @@
3232
"require-dev": {
3333
"cache/array-adapter": "^1.0",
3434
"cache/filesystem-adapter": "^1.0",
35-
"cache/integration-tests": "^0.16",
36-
"phpunit/phpunit": "^5.7.21"
35+
"cache/integration-tests": "^0.17",
36+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
3737
},
3838
"provide": {
3939
"psr/cache-implementation": "^1.0"

src/Adapter/Chain/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)