Skip to content

Commit c0041bd

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

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Tests/AbstractSessionHandlerTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111

1212
namespace Cache\SessionHandler\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
15+
1416
/**
1517
* @author Aaron Scherer <[email protected]>
1618
* @author Tobias Nyholm <[email protected]>
1719
* @author Daniel Bannert <[email protected]>
1820
*/
19-
abstract class AbstractSessionHandlerTest extends \PHPUnit_Framework_TestCase
21+
abstract class AbstractSessionHandlerTest extends TestCase
2022
{
2123
const TTL = 100;
2224
const PREFIX = 'pre';

Tests/Psr16SessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Psr16SessionHandlerTest extends AbstractSessionHandlerTest
2525
*/
2626
private $psr16;
2727

28-
protected function setUp()
28+
protected function setUp(): void
2929
{
3030
parent::setUp();
3131

Tests/Psr6SessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Psr6SessionHandlerTest extends AbstractSessionHandlerTest
2828
*/
2929
private $psr6;
3030

31-
protected function setUp()
31+
protected function setUp(): void
3232
{
3333
parent::setUp();
3434

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
],
2828
"homepage": "http://www.php-cache.com/en/latest/",
2929
"require": {
30-
"php": "^5.6 || ^7.0 || ^8.0",
30+
"php": "^7.1 || ^8.0",
3131
"psr/cache": "^1.0 || ^2.0",
3232
"symfony/polyfill-php70": "^1.6"
3333
},
3434
"require-dev": {
3535
"cache/array-adapter": "^1.0",
36-
"phpunit/phpunit": "^5.7.21"
36+
"phpunit/phpunit": "^7.5.20 || ^9.5.10"
3737
},
3838
"minimum-stability": "dev",
3939
"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)