Skip to content

Commit 9054312

Browse files
author
Alexander Miertsch
authored
Merge pull request #18 from netiul/feature/php8
Allow PHP 8
2 parents d7740dd + 1c41211 commit 9054312

22 files changed

+30
-25
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ matrix:
88
- DEPENDENCIES=""
99
- EXECUTE_CS_CHECK=true
1010
- TEST_COVERAGE=true
11+
- php: 8.0
12+
env:
13+
- DEPENDENCIES=""
14+
- EXECUTE_CS_CHECK=true
15+
- TEST_COVERAGE=true
1116

1217
cache:
1318
directories:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4",
19+
"php": "^7.4 || ^8.0",
2020
"roave/security-advisories": "dev-master"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^7.0",
24-
"prooph/php-cs-fixer-config": "^0.3",
23+
"phpunit/phpunit": "^8.0 || ^9.0",
24+
"prooph/php-cs-fixer-config": "^0.4",
2525
"php-coveralls/php-coveralls": "^2.2",
2626
"malukenho/docheader": "^0.1.4"
2727
},

src/DataConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/ImmutableRecord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/ImmutableRecordDataConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/ImmutableRecordLogic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/SpecialKeySupport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

tests/ImmutableRecordDataConverterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.
@@ -20,7 +20,7 @@ final class ImmutableRecordDataConverterTest extends TestCase
2020
{
2121
private $data = [];
2222

23-
protected function setUp()
23+
protected function setUp(): void
2424
{
2525
parent::setUp();
2626

tests/ImmutableRecordLogicTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.
@@ -30,7 +30,7 @@ final class ImmutableRecordLogicTest extends TestCase
3030
{
3131
private $data = [];
3232

33-
protected function setUp()
33+
protected function setUp(): void
3434
{
3535
parent::setUp();
3636

tests/Stub/ImmutableItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-data.
4-
* (c) 2018-2020 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

0 commit comments

Comments
 (0)