Skip to content

Commit b958c70

Browse files
committed
php 8
1 parent a239bde commit b958c70

27 files changed

+36
-30
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
76
- 7.2
87
- 7.3
98
- 7.4
9+
- nightly
1010

1111
env:
1212
- PACKAGE_VERSION=high
@@ -15,7 +15,7 @@ sudo: false
1515

1616
matrix:
1717
include:
18-
- php: 5.6
18+
- php: 7.0
1919
env: PACKAGE_VERSION=low
2020
- php: 7.4
2121
env:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
1.5.0
5+
-----
6+
7+
* Support PHP 8
8+
* Drop support for PHP 5.6
9+
410
1.4.1
511
-----
612

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
}
2828
],
2929
"require": {
30-
"php": "^5.6 || ^7.0",
30+
"php": "^7.0 || ^8.0",
3131
"phpcr/phpcr": "~2.1.0",
32-
"symfony/console": "^2.3|^3.0|^4.0|^5.0"
32+
"symfony/console": "^2.3 || ^3.0 || ^4.0 || ^5.0"
3333
},
3434
"require-dev": {
3535
"ramsey/uuid": "^3.5",
36-
"phpunit/phpunit": "^5.7 || ^6.0 || ^7.0"
36+
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0"
3737
},
3838
"suggest": {
3939
"ramsey/uuid": "A library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID)."

tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FileReaderTest extends TestCase
2323
*/
2424
private $lines;
2525

26-
public function setUp()
26+
public function setUp(): void
2727
{
2828
$this->filepath = __DIR__.'/../Fixtures/files/TestFile.txt';
2929
$this->reader = new FileReader($this->filepath);

tests/PHPCR/Tests/Util/CND/Scanner/GenericScannerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class GenericScannerTest extends TestCase
108108

109109
protected $expectedTokensNoEmptyToken;
110110

111-
public function setUp()
111+
public function setUp(): void
112112
{
113113
$this->expectedTokensNoEmptyToken = [];
114114
foreach ($this->expectedTokens as $token) {

tests/PHPCR/Tests/Util/CND/Scanner/TokenQueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TokenQueueTest extends TestCase
3333
*/
3434
private $queue;
3535

36-
public function setUp()
36+
public function setUp(): void
3737
{
3838
$this->token0 = new Token(0, 'token 0');
3939
$this->token1 = new Token(1, 'token 1');

tests/PHPCR/Tests/Util/CND/Scanner/TokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TokenTest extends TestCase
1212
*/
1313
private $token;
1414

15-
public function setUp()
15+
public function setUp(): void
1616
{
1717
$this->token = new Token(123, 'foobar');
1818
}

tests/PHPCR/Tests/Util/Console/Command/BaseCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ abstract class BaseCommandTest extends TestCase
6969
*/
7070
public $application;
7171

72-
public function setUp()
72+
public function setUp(): void
7373
{
7474
$this->session = $this->createMock(SessionInterface::class);
7575
$this->workspace = $this->createMock(WorkspaceInterface::class);

tests/PHPCR/Tests/Util/Console/Command/NodeDumpCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class NodeDumpCommandTest extends BaseCommandTest
1414
/** @var TreeWalker|MockObject */
1515
protected $treeWalker;
1616

17-
public function setUp()
17+
public function setUp(): void
1818
{
1919
parent::setUp();
2020
$this->treeWalker = $this->getMockBuilder(TreeWalker::class)

tests/PHPCR/Tests/Util/Console/Command/NodeRemoveCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class NodeRemoveCommandTest extends BaseCommandTest
99
{
10-
public function setUp()
10+
public function setUp(): void
1111
{
1212
parent::setUp();
1313

0 commit comments

Comments
 (0)