Skip to content

Commit 2f84cfe

Browse files
authored
Merge pull request #14 from danieleartico/master
Support PHP 8
2 parents 36ebb10 + f775d68 commit 2f84cfe

14 files changed

+48
-28
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ matrix:
1717
- php: 7.2
1818
env:
1919
- DEPENDENCIES="--prefer-lowest --prefer-stable"
20+
- php: 7.3
21+
env:
22+
- DEPENDENCIES=""
23+
- TEST_COVERAGE=true
24+
- php: 7.3
25+
env:
26+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
27+
- php: 7.4
28+
env:
29+
- DEPENDENCIES=""
30+
- TEST_COVERAGE=true
31+
- php: 7.4
32+
env:
33+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
34+
- php: 8.0
35+
env:
36+
- DEPENDENCIES=""
37+
- php: 8.0
38+
env:
39+
- DEPENDENCIES="--prefer-lowest --prefer-stable"
2040

2141
cache:
2242
directories:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"minimum-stability": "dev",
2424
"prefer-stable": true,
2525
"require": {
26-
"php": "^7.1",
26+
"php": "^7.1 || ^8.0",
2727
"prooph/common" : "^4.1"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^6.0",
31-
"phpspec/prophecy": "^1.7",
32-
"prooph/php-cs-fixer-config": "^0.3",
30+
"phpunit/phpunit": "^6.0 || ^9.3",
31+
"phpspec/prophecy": "^1.9",
32+
"prooph/php-cs-fixer-config": "^0.3 || ^0.4",
3333
"satooshi/php-coveralls": "^1.0",
3434
"prooph/bookdown-template": "^0.2.3",
3535
"psr/container": "^1.0",

src/CallbackSerializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/CompositeSnapshotStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Container/CompositeSnapshotStoreFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/InMemorySnapshotStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Serializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Snapshot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/SnapshotStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/CallbackSerializerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/CompositeSnapshotStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/Container/CompositeSnapshotStoreFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/InMemorySnapshotStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/SnapshotTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/snapshot-store.
5-
* (c) 2017-2018 prooph software GmbH <[email protected]>
6-
* (c) 2017-2018 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2017-2021 prooph software GmbH <[email protected]>
6+
* (c) 2017-2021 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)