Skip to content

Commit

Permalink
Merge 497a9ad into 9b74792
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-gerneth committed Jan 5, 2021
2 parents 9b74792 + 497a9ad commit f7dbf5c
Show file tree
Hide file tree
Showing 114 changed files with 336 additions and 273 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
nbproject
composer.lock
docs/html
.phpunit.result.cache
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@ language: php
matrix:
fast_finish: true
include:
- php: 7.1
- php: 7.3
env:
- DEPENDENCIES=""
- EXECUTE_CS_CHECK=true
- XDEBUG_MODE="coverage"
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- php: 7.2
- php: 7.3
env:
- DEPENDENCIES=""
- php: 7.2
env:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- PHP_CS=true
- php: 7.3
env:
- DEPENDENCIES=""
Expand All @@ -29,6 +24,12 @@ matrix:
- 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 All @@ -41,10 +42,10 @@ before_script:
- phpenv config-rm xdebug.ini
- composer self-update
- composer update --prefer-dist $DEPENDENCIES
- rm -rf .php_cs.cache

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; elif [[ $PHP_CS == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; else ./vendor/bin/phpunit; fi

after_success:
- if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

PHP 7.1 EventStore Implementation.

[![Build Status](https://travis-ci.org/prooph/event-store.svg?branch=master)](https://travis-ci.org/prooph/event-store)
[![Coverage Status](https://coveralls.io/repos/prooph/event-store/badge.svg?branch=master&service=github)](https://coveralls.io/github/prooph/event-store?branch=master)
[![Build Status](https://travis-ci.com/prooph/event-store.svg?branch=7.x)](https://travis-ci.com/prooph/event-store)
[![Coverage Status](https://coveralls.io/repos/prooph/event-store/badge.svg?branch=7.x&service=github)](https://coveralls.io/github/prooph/event-store?branch=7.x)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/prooph/improoph)

## Overview
Expand Down Expand Up @@ -57,11 +57,11 @@ To establish a consistent code quality, please provide unit tests for all your c

## Version Guidance

| Version | Status | PHP Version | Support Until |
|---------|------------|-------------|---------------|
| 5.x | EOL | >= 5.5 | EOL |
| 6.x | Maintained | >= 5.5 | 3 Dec 2017 |
| 7.x | Latest | >= 7.1 | active |
| Version | Status | PHP Version | Support Until |
|---------|------------|---------------|---------------|
| 5.x | EOL | \>= 5.5 | EOL |
| 6.x | Maintained | \>= 5.5 | 3 Dec 2017 |
| 7.x | Latest | \>= 7.1 \| 8.0 | active |

## License

Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,17 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"marc-mabe/php-enum": "^2.3.1 || ^3.0.0 || ^4.0.0",
"prooph/common": "^4.1.0"
"prooph/common": "^4.5.0"
},
"require-dev": {
"phpspec/prophecy": "^1.10.3",
"phpunit/php-invoker": "^2.0",
"phpunit/phpunit": "^7.5.20",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/php-invoker": "^3.1",
"phpunit/phpunit": "^9.3",
"prooph/bookdown-template": "^0.2.3",
"prooph/php-cs-fixer-config": "v0.3.1",
"prooph/php-cs-fixer-config": "^0.4",
"psr/container": "^1.0",
"sandrokeil/interop-config": "^2.0.1",
"satooshi/php-coveralls": "^1.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/event/QuickStartSucceeded.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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 examples/quickstart.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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
11 changes: 6 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
enforceTimeLimit="true"
failOnWarning="true"
failOnRisky="true"
timeoutForLargeTests="180"
>
<testsuite name="Prooph EventStore Test Suite">
<directory>./tests</directory>
</testsuite>

<filter>
<whitelist>
<directory>./src/</directory>
</whitelist>
</filter>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
</phpunit>
4 changes: 2 additions & 2 deletions src/ActionEventEmitterEventStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/InMemoryEventStoreFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/InMemoryProjectionManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/EventStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/EventStoreDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/ConcurrencyException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/ConfigurationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/EventStoreException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/ExtensionNotLoadedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/OutOfRangeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/ProjectionNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/StreamExistsAlready.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/StreamNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/TransactionAlreadyStarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Exception/TransactionNotStarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/InMemoryEventStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Metadata/FieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Metadata/MetadataEnricher.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Metadata/MetadataEnricherAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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/Metadata/MetadataEnricherPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/event-store.
* (c) 2014-2020 prooph software GmbH <contact@prooph.de>
* (c) 2015-2020 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2021 prooph software GmbH <contact@prooph.de>
* (c) 2015-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 f7dbf5c

Please sign in to comment.