Skip to content

Commit

Permalink
Merge pull request #14 from danieleartico/master
Browse files Browse the repository at this point in the history
Support PHP 8
  • Loading branch information
prolic committed Feb 22, 2021
2 parents 36ebb10 + f775d68 commit 2f84cfe
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 28 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,26 @@ matrix:
- php: 7.2
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.3
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.3
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.4
env:
- DEPENDENCIES=""
- TEST_COVERAGE=true
- php: 7.4
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 8.0
env:
- DEPENDENCIES=""
- php: 8.0
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"

cache:
directories:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -23,13 +23,13 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"prooph/common" : "^4.1"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"phpspec/prophecy": "^1.7",
"prooph/php-cs-fixer-config": "^0.3",
"phpunit/phpunit": "^6.0 || ^9.3",
"phpspec/prophecy": "^1.9",
"prooph/php-cs-fixer-config": "^0.3 || ^0.4",
"satooshi/php-coveralls": "^1.0",
"prooph/bookdown-template": "^0.2.3",
"psr/container": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/CallbackSerializer.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/CompositeSnapshotStore.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Container/CompositeSnapshotStoreFactory.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/InMemorySnapshotStore.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Serializer.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Snapshot.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/SnapshotStore.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/CallbackSerializerTest.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/CompositeSnapshotStoreTest.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/Container/CompositeSnapshotStoreFactoryTest.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/InMemorySnapshotStoreTest.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions tests/SnapshotTest.php
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/snapshot-store.
* (c) 2017-2018 prooph software GmbH <contact@prooph.de>
* (c) 2017-2018 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2017-2021 prooph software GmbH <contact@prooph.de>
* (c) 2017-2021 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down

0 comments on commit 2f84cfe

Please sign in to comment.