diff --git a/.gitignore b/.gitignore index 919470a..0cc8bb8 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ nbproject composer.lock docs/html +.phpunit.result.cache diff --git a/.travis.yml b/.travis.yml index 174ee72..ded6e00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,24 @@ language: php matrix: fast_finish: true include: - - php: 7.1 + - php: 7.3 env: - DEPENDENCIES="" - EXECUTE_CS_CHECK=true - TEST_COVERAGE=true - - php: 7.1 + - php: 7.3 env: - DEPENDENCIES="--prefer-lowest --prefer-stable" - - php: 7.2 + - php: 7.4 env: - DEPENDENCIES="" - - php: 7.2 + - php: 7.4 + env: + - DEPENDENCIES="--prefer-lowest --prefer-stable" + - php: 8.0 + env: + - DEPENDENCIES="" + - php: 8.0 env: - DEPENDENCIES="--prefer-lowest --prefer-stable" @@ -31,7 +37,7 @@ before_script: - composer update $DEPENDENCIES 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 [[ $TEST_COVERAGE == 'true' ]]; then XDEBUG_MODE=coverage 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 after_success: diff --git a/composer.json b/composer.json index 12858ef..c40359b 100644 --- a/composer.json +++ b/composer.json @@ -22,16 +22,17 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": "^7.1", + "php": "^7.3 || ^8.0", "prooph/event-store" : "^7.0" }, "require-dev": { "psr/container": "^1.0", "sandrokeil/interop-config": "^2.0.1", - "phpunit/phpunit": "^6.0", + "phpunit/phpunit": "^9.3", "prooph/snapshot-store": "^1.2.0", - "prooph/php-cs-fixer-config": "^0.3", - "phpspec/prophecy": "^1.7", + "prooph/php-cs-fixer-config": "^0.4", + "phpspec/prophecy": "^1.9", + "phpspec/prophecy-phpunit": "^2.0", "satooshi/php-coveralls": "^1.0", "prooph/bookdown-template": "^0.2.3" }, diff --git a/examples/quickstart.php b/examples/quickstart.php index 5d669dd..75ba1bd 100644 --- a/examples/quickstart.php +++ b/examples/quickstart.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 86679d2..7352d8b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,16 +7,15 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false" bootstrap="vendor/autoload.php" > ./tests/ - - + + ./src/ - - + + diff --git a/src/Aggregate/AggregateRepository.php b/src/Aggregate/AggregateRepository.php index 61bcf79..abc2afe 100644 --- a/src/Aggregate/AggregateRepository.php +++ b/src/Aggregate/AggregateRepository.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/AggregateTranslator.php b/src/Aggregate/AggregateTranslator.php index a6feed0..17cff15 100644 --- a/src/Aggregate/AggregateTranslator.php +++ b/src/Aggregate/AggregateTranslator.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/AggregateType.php b/src/Aggregate/AggregateType.php index 096e36e..b56b508 100644 --- a/src/Aggregate/AggregateType.php +++ b/src/Aggregate/AggregateType.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/AggregateTypeProvider.php b/src/Aggregate/AggregateTypeProvider.php index 448398c..0946778 100644 --- a/src/Aggregate/AggregateTypeProvider.php +++ b/src/Aggregate/AggregateTypeProvider.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/EventProducerTrait.php b/src/Aggregate/EventProducerTrait.php index 9bbd44f..cece4fd 100644 --- a/src/Aggregate/EventProducerTrait.php +++ b/src/Aggregate/EventProducerTrait.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/EventSourcedTrait.php b/src/Aggregate/EventSourcedTrait.php index 3ac655c..eecfe53 100644 --- a/src/Aggregate/EventSourcedTrait.php +++ b/src/Aggregate/EventSourcedTrait.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/Exception/AggregateException.php b/src/Aggregate/Exception/AggregateException.php index ec69f96..9b928fe 100644 --- a/src/Aggregate/Exception/AggregateException.php +++ b/src/Aggregate/Exception/AggregateException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/Exception/AggregateTranslationFailedException.php b/src/Aggregate/Exception/AggregateTranslationFailedException.php index 4bf3752..7575c21 100644 --- a/src/Aggregate/Exception/AggregateTranslationFailedException.php +++ b/src/Aggregate/Exception/AggregateTranslationFailedException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/Exception/AggregateTypeException.php b/src/Aggregate/Exception/AggregateTypeException.php index 0b9fd52..d7aeffd 100644 --- a/src/Aggregate/Exception/AggregateTypeException.php +++ b/src/Aggregate/Exception/AggregateTypeException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/Exception/InvalidArgumentException.php b/src/Aggregate/Exception/InvalidArgumentException.php index 0ebbc8b..1878a54 100644 --- a/src/Aggregate/Exception/InvalidArgumentException.php +++ b/src/Aggregate/Exception/InvalidArgumentException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Aggregate/Exception/RuntimeException.php b/src/Aggregate/Exception/RuntimeException.php index da76298..a351cbb 100644 --- a/src/Aggregate/Exception/RuntimeException.php +++ b/src/Aggregate/Exception/RuntimeException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/AggregateChanged.php b/src/AggregateChanged.php index 6ea2665..345e2e8 100644 --- a/src/AggregateChanged.php +++ b/src/AggregateChanged.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/AggregateRoot.php b/src/AggregateRoot.php index 30d963c..b48e2c3 100644 --- a/src/AggregateRoot.php +++ b/src/AggregateRoot.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Container/Aggregate/AggregateRepositoryFactory.php b/src/Container/Aggregate/AggregateRepositoryFactory.php index ccb361b..21e6057 100644 --- a/src/Container/Aggregate/AggregateRepositoryFactory.php +++ b/src/Container/Aggregate/AggregateRepositoryFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/EventStoreIntegration/AggregateRootDecorator.php b/src/EventStoreIntegration/AggregateRootDecorator.php index cdbca2b..1fe8148 100644 --- a/src/EventStoreIntegration/AggregateRootDecorator.php +++ b/src/EventStoreIntegration/AggregateRootDecorator.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/EventStoreIntegration/AggregateTranslator.php b/src/EventStoreIntegration/AggregateTranslator.php index 9ebbc10..4b2fdfc 100644 --- a/src/EventStoreIntegration/AggregateTranslator.php +++ b/src/EventStoreIntegration/AggregateTranslator.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/EventStoreIntegration/ClosureAggregateTranslator.php b/src/EventStoreIntegration/ClosureAggregateTranslator.php index 4a0ff80..eeb07f7 100644 --- a/src/EventStoreIntegration/ClosureAggregateTranslator.php +++ b/src/EventStoreIntegration/ClosureAggregateTranslator.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Aggregate/AggregateRepositoryTest.php b/tests/Aggregate/AggregateRepositoryTest.php index 612a354..3ba21ab 100644 --- a/tests/Aggregate/AggregateRepositoryTest.php +++ b/tests/Aggregate/AggregateRepositoryTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -34,10 +34,13 @@ use ProophTest\EventSourcing\Mock\UsernameChanged; use ProophTest\EventStore\ActionEventEmitterEventStoreTestCase; use Prophecy\Argument; +use Prophecy\PhpUnit\ProphecyTrait; use ReflectionClass; class AggregateRepositoryTest extends ActionEventEmitterEventStoreTestCase { + use ProphecyTrait; + /** * @var AggregateRepository */ diff --git a/tests/Aggregate/AggregateTypeTest.php b/tests/Aggregate/AggregateTypeTest.php index d4d8860..de56d9b 100644 --- a/tests/Aggregate/AggregateTypeTest.php +++ b/tests/Aggregate/AggregateTypeTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -20,9 +20,12 @@ use Prooph\EventSourcing\Aggregate\Exception\InvalidArgumentException; use ProophTest\EventStore\Mock\Post; use ProophTest\EventStore\Mock\User; +use Prophecy\PhpUnit\ProphecyTrait; class AggregateTypeTest extends TestCase { + use ProphecyTrait; + /** * @test */ diff --git a/tests/AggregateChangedTest.php b/tests/AggregateChangedTest.php index d4b318f..3285b15 100644 --- a/tests/AggregateChangedTest.php +++ b/tests/AggregateChangedTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -16,7 +16,7 @@ use DateTimeImmutable; use PHPUnit\Framework\TestCase; use Prooph\EventSourcing\AggregateChanged; -use Ramsey\Uuid\Uuid; +use Ramsey\Uuid\UuidInterface; class AggregateChangedTest extends TestCase { @@ -27,7 +27,7 @@ public function it_has_a_new_uuid_after_construct(): void { $event = AggregateChanged::occur('1', []); - $this->assertInstanceOf(Uuid::class, $event->uuid()); + $this->assertInstanceOf(UuidInterface::class, $event->uuid()); } /** diff --git a/tests/AggregateRootTest.php b/tests/AggregateRootTest.php index 9575fba..e735d00 100644 --- a/tests/AggregateRootTest.php +++ b/tests/AggregateRootTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Container/Aggregate/AggregateRepositoryFactoryTest.php b/tests/Container/Aggregate/AggregateRepositoryFactoryTest.php index 000e7ee..c7fda6b 100644 --- a/tests/Container/Aggregate/AggregateRepositoryFactoryTest.php +++ b/tests/Container/Aggregate/AggregateRepositoryFactoryTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -22,10 +22,13 @@ use ProophTest\EventSourcing\Mock\RepositoryMock; use ProophTest\EventStore\ActionEventEmitterEventStoreTestCase; use ProophTest\EventStore\Mock\User; +use Prophecy\PhpUnit\ProphecyTrait; use Psr\Container\ContainerInterface; class AggregateRepositoryFactoryTest extends ActionEventEmitterEventStoreTestCase { + use ProphecyTrait; + /** * @test */ diff --git a/tests/EventStoreIntegration/AggregateRootDecoratorTest.php b/tests/EventStoreIntegration/AggregateRootDecoratorTest.php index 30238ab..bb98d49 100644 --- a/tests/EventStoreIntegration/AggregateRootDecoratorTest.php +++ b/tests/EventStoreIntegration/AggregateRootDecoratorTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -19,10 +19,13 @@ use Prooph\EventSourcing\AggregateChanged; use Prooph\EventSourcing\EventStoreIntegration\AggregateRootDecorator; use ProophTest\EventSourcing\Mock\ExtendedAggregateRootDecorator; +use Prophecy\PhpUnit\ProphecyTrait; use RuntimeException; class AggregateRootDecoratorTest extends TestCase { + use ProphecyTrait; + /** * @test */ diff --git a/tests/EventStoreIntegration/AggregateTranslatorTest.php b/tests/EventStoreIntegration/AggregateTranslatorTest.php index b3bb4a2..26bc93d 100644 --- a/tests/EventStoreIntegration/AggregateTranslatorTest.php +++ b/tests/EventStoreIntegration/AggregateTranslatorTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/EventStoreIntegration/ClosureAggregateTranslatorTest.php b/tests/EventStoreIntegration/ClosureAggregateTranslatorTest.php index 7ef2b91..99c642b 100644 --- a/tests/EventStoreIntegration/ClosureAggregateTranslatorTest.php +++ b/tests/EventStoreIntegration/ClosureAggregateTranslatorTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/BrokenUser.php b/tests/Mock/BrokenUser.php index 453bf32..24722f4 100644 --- a/tests/Mock/BrokenUser.php +++ b/tests/Mock/BrokenUser.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/CustomAggregateRoot.php b/tests/Mock/CustomAggregateRoot.php index 5905748..11435c9 100644 --- a/tests/Mock/CustomAggregateRoot.php +++ b/tests/Mock/CustomAggregateRoot.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/CustomAggregateRootContract.php b/tests/Mock/CustomAggregateRootContract.php index d49c1b9..85a457b 100644 --- a/tests/Mock/CustomAggregateRootContract.php +++ b/tests/Mock/CustomAggregateRootContract.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/DefaultAggregateRoot.php b/tests/Mock/DefaultAggregateRoot.php index 17e2e7e..1a43a25 100644 --- a/tests/Mock/DefaultAggregateRoot.php +++ b/tests/Mock/DefaultAggregateRoot.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/DefaultAggregateRootContract.php b/tests/Mock/DefaultAggregateRootContract.php index 35d3b70..e8468b2 100644 --- a/tests/Mock/DefaultAggregateRootContract.php +++ b/tests/Mock/DefaultAggregateRootContract.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/EventStoreMock.php b/tests/Mock/EventStoreMock.php index 8a7ef7a..75a1197 100644 --- a/tests/Mock/EventStoreMock.php +++ b/tests/Mock/EventStoreMock.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/ExtendedAggregateRootDecorator.php b/tests/Mock/ExtendedAggregateRootDecorator.php index 9c216e3..434ad18 100644 --- a/tests/Mock/ExtendedAggregateRootDecorator.php +++ b/tests/Mock/ExtendedAggregateRootDecorator.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/FaultyAggregateRoot.php b/tests/Mock/FaultyAggregateRoot.php index bfd12cb..15afb27 100644 --- a/tests/Mock/FaultyAggregateRoot.php +++ b/tests/Mock/FaultyAggregateRoot.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/FaultyAggregateRoot2.php b/tests/Mock/FaultyAggregateRoot2.php index 2f4161b..86272d9 100644 --- a/tests/Mock/FaultyAggregateRoot2.php +++ b/tests/Mock/FaultyAggregateRoot2.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/FaultyRepositoryMock.php b/tests/Mock/FaultyRepositoryMock.php index fa1361e..421b159 100644 --- a/tests/Mock/FaultyRepositoryMock.php +++ b/tests/Mock/FaultyRepositoryMock.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/RepositoryMock.php b/tests/Mock/RepositoryMock.php index 1b0d35d..df5c12d 100644 --- a/tests/Mock/RepositoryMock.php +++ b/tests/Mock/RepositoryMock.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/User.php b/tests/Mock/User.php index f080095..781dcce 100644 --- a/tests/Mock/User.php +++ b/tests/Mock/User.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/UserCreated.php b/tests/Mock/UserCreated.php index 48d37a9..20f61f0 100644 --- a/tests/Mock/UserCreated.php +++ b/tests/Mock/UserCreated.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Mock/UserNameChanged.php b/tests/Mock/UserNameChanged.php index 1f38391..deae1c1 100644 --- a/tests/Mock/UserNameChanged.php +++ b/tests/Mock/UserNameChanged.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-sourcing. - * (c) 2014-2019 Alexander Miertsch - * (c) 2015-2019 Sascha-Oliver Prolic + * (c) 2014-2021 Alexander Miertsch + * (c) 2015-2021 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.