From 46fdc8804e3fc3b0e05fb96f14ac8bb8f48ab167 Mon Sep 17 00:00:00 2001 From: Piotr Zajac Date: Tue, 21 May 2024 16:54:02 +0200 Subject: [PATCH 1/4] supported versions - drop support for unmaintained versions - add support for php8.2/8.3 and symfony 7.0 --- .github/workflows/tests.yml | 17 +++++------------ composer.json | 16 ++++++++-------- .../EventStoreTransactionMiddleware.php | 11 ++++++++--- test/Command/Fixture/TestKernel.php | 2 +- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2bea823..6671dbf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,12 +10,13 @@ jobs: strategy: matrix: symfony-version: - - "5.2.*" - - "6.0.*" + - "5.4.*" + - "6.4.*" + - "7.0.*" php-version: - - "7.4" - - "8.0" - "8.1" + - "8.2" + - "8.3" operating-system: - "ubuntu-latest" @@ -47,14 +48,6 @@ jobs: restore-keys: | php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer- - - name: "Require symfony/messenger polyfill for symfony 3.4.*" - if: ${{ matrix.symfony-version == '3.4.*' && matrix.php-version != '8.0' }} - run: "composer require --dev lendable/symfony-messenger-polyfill --no-update" - - - name: "Require symfony/messenger" - if: ${{ matrix.symfony-version != '3.4.*' }} - run: "composer require --dev symfony/messenger --no-update" - - name: "Require php-coveralls/php-coveralls" run: "composer global require php-coveralls/php-coveralls" diff --git a/composer.json b/composer.json index 503ee4a..40795dd 100644 --- a/composer.json +++ b/composer.json @@ -54,17 +54,17 @@ "php": "^7.4|^8.0", "ext-pdo": "*", "ext-json": "*", - "symfony/config": "^3.4 || ^4.4 || ^5.2 || ^6.0", - "symfony/dependency-injection": "^3.4 || ^4.4 || ^5.2 || ^6.0", - "symfony/http-kernel": "^3.4 || ^4.4 || ^5.2 || ^6.0", - "symfony/framework-bundle": "^3.4 || ^4.4 || ^5.2 || ^6.0", - "symfony/messenger": "^4.2 || ^4.4 || ^5.2 || ^6.0", - "prooph/event-store": "^7.0" + "symfony/config": "^5.4 || ^6.4 || ^7.0", + "symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0", + "symfony/http-kernel": "^5.4.39 || ^6.4 || ^7.0", + "symfony/framework-bundle": "^5.4 || ^6.4 || ^7.0", + "symfony/messenger": "^5.4 || ^6.4 || ^7.0", + "prooph/event-store": "^7.9.0" }, "require-dev": { "prooph/pdo-event-store": "^1.12", - "phpunit/phpunit": "^8 || ^9", - "symfony/yaml" : "^3.4 || ^4.4 || ^5.2 || ^6.0", + "phpunit/phpunit": "^9", + "symfony/yaml" : "^5.4 || ^6.4 || ^7.0", "bookdown/bookdown": "^1.1", "prooph/bookdown-template": "^0.3", "friendsofphp/php-cs-fixer": "^3.5", diff --git a/src/Messenger/EventStoreTransactionMiddleware.php b/src/Messenger/EventStoreTransactionMiddleware.php index 28bab1f..bf9ab89 100644 --- a/src/Messenger/EventStoreTransactionMiddleware.php +++ b/src/Messenger/EventStoreTransactionMiddleware.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -42,11 +42,16 @@ public function handle(Envelope $envelope, StackInterface $stack): Envelope $this->eventStore->rollback(); if ($e instanceof HandlerFailedException) { + $method = 'getWrappedExceptions'; + if (! \method_exists($e, $method)) { + $method = 'getNestedExceptions'; + } + // Remove all HandledStamp from the envelope so the retry will execute all handlers again. // When a handler fails, the queries of allegedly successful previous handlers just got rolled back. throw new HandlerFailedException( $e->getEnvelope()->withoutAll(HandledStamp::class), - $e->getNestedExceptions() + $e->$method() ); } diff --git a/test/Command/Fixture/TestKernel.php b/test/Command/Fixture/TestKernel.php index 13eb919..49e25d5 100644 --- a/test/Command/Fixture/TestKernel.php +++ b/test/Command/Fixture/TestKernel.php @@ -38,7 +38,7 @@ public function getCacheDir(): string return $this->getProjectDir() . '/test/Command/Fixture/var/cache'; } - public function build(ContainerBuilder $container) + public function build(ContainerBuilder $container): void { $container->addCompilerPass(new AddConsoleCommandPass()); parent::build($container); From 238ad5fc0c56d074f923e1ec86982f0135618d3d Mon Sep 17 00:00:00 2001 From: Piotr Zajac Date: Tue, 21 May 2024 19:24:14 +0200 Subject: [PATCH 2/4] update copyrights --- src/Command/AbstractProjectionCommand.php | 4 ++-- src/Command/FormatsOutput.php | 4 ++-- src/Command/ProjectionDeleteCommand.php | 4 ++-- src/Command/ProjectionNamesCommand.php | 4 ++-- src/Command/ProjectionResetCommand.php | 4 ++-- src/Command/ProjectionRunCommand.php | 4 ++-- src/Command/ProjectionStateCommand.php | 4 ++-- src/Command/ProjectionStopCommand.php | 4 ++-- src/Command/ProjectionStreamPositionsCommand.php | 4 ++-- .../Compiler/DeprecateFqcnProjectionsPass.php | 4 ++-- src/DependencyInjection/Compiler/MetadataEnricherPass.php | 4 ++-- src/DependencyInjection/Compiler/PluginLocatorPass.php | 4 ++-- src/DependencyInjection/Compiler/PluginsPass.php | 4 ++-- src/DependencyInjection/Compiler/ProjectionOptionsPass.php | 4 ++-- src/DependencyInjection/Compiler/RegisterProjectionsPass.php | 4 ++-- src/DependencyInjection/Configuration.php | 4 ++-- src/DependencyInjection/ProophEventStoreExtension.php | 4 ++-- src/Exception/EventStoreException.php | 4 ++-- src/Exception/RuntimeException.php | 4 ++-- src/Factory/ActionEventEmitterFactory.php | 4 ++-- src/Factory/DefaultActionEventEmitterFactory.php | 4 ++-- src/Factory/DefaultEventStoreFactory.php | 4 ++-- src/Factory/EventStoreFactory.php | 4 ++-- src/Factory/ProjectionManagerFactory.php | 4 ++-- src/Projection/Options/ProjectionOptions.php | 4 ++-- src/Projection/Options/ProjectionOptionsFactory.php | 4 ++-- src/Projection/Projection.php | 4 ++-- src/Projection/ProjectionOptions.php | 4 ++-- src/Projection/ReadModelProjection.php | 4 ++-- src/ProophEventStoreBundle.php | 4 ++-- test/BundleTest.php | 4 ++-- test/Command/Fixture/Event/SomethingWasDone.php | 4 ++-- test/Command/Fixture/Projection/BlackHoleProjection.php | 4 ++-- test/Command/Fixture/Projection/BlackHoleReadModel.php | 4 ++-- .../Fixture/Projection/BlackHoleReadModelProjection.php | 4 ++-- .../Fixture/Projection/Options/BlackHoleProjectionOptions.php | 4 ++-- test/Command/Fixture/TestKernel.php | 4 ++-- test/Command/ProjectionDeleteCommandTest.php | 4 ++-- test/Command/ProjectionNamesCommandTest.php | 4 ++-- test/Command/ProjectionResetCommandTest.php | 4 ++-- test/Command/ProjectionRunCommandTest.php | 4 ++-- test/Command/ProjectionStateCommandTest.php | 4 ++-- test/Command/ProjectionStopCommandTest.php | 4 ++-- test/Command/ProjectionStreamPositionsCommandTest.php | 4 ++-- .../AbstractEventStoreExtensionTestCase.php | 4 ++-- test/DependencyInjection/Compiler/CompilerPassTestCase.php | 4 ++-- .../Compiler/DeprecateFqcnProjectionsPassTest.php | 4 ++-- .../DependencyInjection/Compiler/MetadataEnricherPassTest.php | 4 ++-- test/DependencyInjection/Compiler/PluginsPassTest.php | 4 ++-- .../Compiler/ProjectionOptionsPassTest.php | 4 ++-- .../Compiler/RegisterProjectionsPassTest.php | 4 ++-- test/DependencyInjection/ConfigurationTest.php | 4 ++-- test/DependencyInjection/Fixture/EventStore/BlackHole.php | 4 ++-- .../Fixture/MergeExtensionConfigurationPass.php | 4 ++-- .../Fixture/Metadata/StaticMetadataEnricher.php | 4 ++-- test/DependencyInjection/Fixture/Plugin/BlackHole.php | 4 ++-- .../Fixture/Projection/BlackHoleProjection.php | 4 ++-- .../Fixture/Projection/BlackHoleReadModelProjection.php | 4 ++-- .../Fixture/Projection/Options/BlackHoleProjectionOptions.php | 4 ++-- .../DependencyInjection/Fixture/Projection/TodoProjection.php | 4 ++-- test/DependencyInjection/Fixture/Projection/TodoReadModel.php | 4 ++-- test/DependencyInjection/XmlEventStoreExtensionTest.php | 4 ++-- test/DependencyInjection/YamlEventStoreExtensionTest.php | 4 ++-- test/Messenger/EventStoreTransactionMiddlewareTest.php | 4 ++-- test/Projection/Options/ProjectionOptionsFactoryTest.php | 4 ++-- test/ProjectionManagerFactoryTest.php | 4 ++-- 66 files changed, 132 insertions(+), 132 deletions(-) diff --git a/src/Command/AbstractProjectionCommand.php b/src/Command/AbstractProjectionCommand.php index 23bb0d2..bbdc3e3 100644 --- a/src/Command/AbstractProjectionCommand.php +++ b/src/Command/AbstractProjectionCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/FormatsOutput.php b/src/Command/FormatsOutput.php index e8cb1d9..361af97 100644 --- a/src/Command/FormatsOutput.php +++ b/src/Command/FormatsOutput.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionDeleteCommand.php b/src/Command/ProjectionDeleteCommand.php index fd1bd6e..077780d 100644 --- a/src/Command/ProjectionDeleteCommand.php +++ b/src/Command/ProjectionDeleteCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionNamesCommand.php b/src/Command/ProjectionNamesCommand.php index efd6693..6217091 100644 --- a/src/Command/ProjectionNamesCommand.php +++ b/src/Command/ProjectionNamesCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionResetCommand.php b/src/Command/ProjectionResetCommand.php index 1948225..4579871 100644 --- a/src/Command/ProjectionResetCommand.php +++ b/src/Command/ProjectionResetCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionRunCommand.php b/src/Command/ProjectionRunCommand.php index 3d67cdb..f1a5e34 100644 --- a/src/Command/ProjectionRunCommand.php +++ b/src/Command/ProjectionRunCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionStateCommand.php b/src/Command/ProjectionStateCommand.php index b87e8d4..e76e391 100644 --- a/src/Command/ProjectionStateCommand.php +++ b/src/Command/ProjectionStateCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionStopCommand.php b/src/Command/ProjectionStopCommand.php index d4d1a81..29a41ce 100644 --- a/src/Command/ProjectionStopCommand.php +++ b/src/Command/ProjectionStopCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Command/ProjectionStreamPositionsCommand.php b/src/Command/ProjectionStreamPositionsCommand.php index 2d29247..181e57b 100644 --- a/src/Command/ProjectionStreamPositionsCommand.php +++ b/src/Command/ProjectionStreamPositionsCommand.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/DeprecateFqcnProjectionsPass.php b/src/DependencyInjection/Compiler/DeprecateFqcnProjectionsPass.php index 0018aa7..0bf51be 100644 --- a/src/DependencyInjection/Compiler/DeprecateFqcnProjectionsPass.php +++ b/src/DependencyInjection/Compiler/DeprecateFqcnProjectionsPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/MetadataEnricherPass.php b/src/DependencyInjection/Compiler/MetadataEnricherPass.php index ad23bc1..44e7994 100644 --- a/src/DependencyInjection/Compiler/MetadataEnricherPass.php +++ b/src/DependencyInjection/Compiler/MetadataEnricherPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/PluginLocatorPass.php b/src/DependencyInjection/Compiler/PluginLocatorPass.php index b462ab8..a72f0b3 100644 --- a/src/DependencyInjection/Compiler/PluginLocatorPass.php +++ b/src/DependencyInjection/Compiler/PluginLocatorPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/PluginsPass.php b/src/DependencyInjection/Compiler/PluginsPass.php index 1faf18e..50347a2 100644 --- a/src/DependencyInjection/Compiler/PluginsPass.php +++ b/src/DependencyInjection/Compiler/PluginsPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/ProjectionOptionsPass.php b/src/DependencyInjection/Compiler/ProjectionOptionsPass.php index bc94bda..eb00ab8 100644 --- a/src/DependencyInjection/Compiler/ProjectionOptionsPass.php +++ b/src/DependencyInjection/Compiler/ProjectionOptionsPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Compiler/RegisterProjectionsPass.php b/src/DependencyInjection/Compiler/RegisterProjectionsPass.php index bc34563..ae7a15e 100644 --- a/src/DependencyInjection/Compiler/RegisterProjectionsPass.php +++ b/src/DependencyInjection/Compiler/RegisterProjectionsPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index f10beb0..ce64abd 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/DependencyInjection/ProophEventStoreExtension.php b/src/DependencyInjection/ProophEventStoreExtension.php index e88235f..cf43b36 100644 --- a/src/DependencyInjection/ProophEventStoreExtension.php +++ b/src/DependencyInjection/ProophEventStoreExtension.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Exception/EventStoreException.php b/src/Exception/EventStoreException.php index 79eb363..1f60f59 100644 --- a/src/Exception/EventStoreException.php +++ b/src/Exception/EventStoreException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index f57cd15..b014413 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Factory/ActionEventEmitterFactory.php b/src/Factory/ActionEventEmitterFactory.php index 7b5dc40..4b03b09 100644 --- a/src/Factory/ActionEventEmitterFactory.php +++ b/src/Factory/ActionEventEmitterFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Factory/DefaultActionEventEmitterFactory.php b/src/Factory/DefaultActionEventEmitterFactory.php index 715a3f1..e62d41a 100644 --- a/src/Factory/DefaultActionEventEmitterFactory.php +++ b/src/Factory/DefaultActionEventEmitterFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Factory/DefaultEventStoreFactory.php b/src/Factory/DefaultEventStoreFactory.php index bbca46b..5b8ea9f 100644 --- a/src/Factory/DefaultEventStoreFactory.php +++ b/src/Factory/DefaultEventStoreFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Factory/EventStoreFactory.php b/src/Factory/EventStoreFactory.php index 81fce47..5a327e2 100644 --- a/src/Factory/EventStoreFactory.php +++ b/src/Factory/EventStoreFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Factory/ProjectionManagerFactory.php b/src/Factory/ProjectionManagerFactory.php index 946129c..1ef9729 100644 --- a/src/Factory/ProjectionManagerFactory.php +++ b/src/Factory/ProjectionManagerFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Projection/Options/ProjectionOptions.php b/src/Projection/Options/ProjectionOptions.php index d3d1b45..0c2e405 100644 --- a/src/Projection/Options/ProjectionOptions.php +++ b/src/Projection/Options/ProjectionOptions.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Projection/Options/ProjectionOptionsFactory.php b/src/Projection/Options/ProjectionOptionsFactory.php index 8e55dc4..52ab7ab 100644 --- a/src/Projection/Options/ProjectionOptionsFactory.php +++ b/src/Projection/Options/ProjectionOptionsFactory.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Projection/Projection.php b/src/Projection/Projection.php index 61950ee..c1fdd30 100644 --- a/src/Projection/Projection.php +++ b/src/Projection/Projection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Projection/ProjectionOptions.php b/src/Projection/ProjectionOptions.php index 652866c..e67f3a3 100644 --- a/src/Projection/ProjectionOptions.php +++ b/src/Projection/ProjectionOptions.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/Projection/ReadModelProjection.php b/src/Projection/ReadModelProjection.php index 1f24395..ab69441 100644 --- a/src/Projection/ReadModelProjection.php +++ b/src/Projection/ReadModelProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/ProophEventStoreBundle.php b/src/ProophEventStoreBundle.php index 18c5553..50d3dd9 100644 --- a/src/ProophEventStoreBundle.php +++ b/src/ProophEventStoreBundle.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/BundleTest.php b/test/BundleTest.php index f270f5c..ac9a421 100644 --- a/test/BundleTest.php +++ b/test/BundleTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/Event/SomethingWasDone.php b/test/Command/Fixture/Event/SomethingWasDone.php index d94b2d4..9667012 100644 --- a/test/Command/Fixture/Event/SomethingWasDone.php +++ b/test/Command/Fixture/Event/SomethingWasDone.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/Projection/BlackHoleProjection.php b/test/Command/Fixture/Projection/BlackHoleProjection.php index 398e5d9..6403510 100644 --- a/test/Command/Fixture/Projection/BlackHoleProjection.php +++ b/test/Command/Fixture/Projection/BlackHoleProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/Projection/BlackHoleReadModel.php b/test/Command/Fixture/Projection/BlackHoleReadModel.php index 2faa037..04adcd9 100644 --- a/test/Command/Fixture/Projection/BlackHoleReadModel.php +++ b/test/Command/Fixture/Projection/BlackHoleReadModel.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/Projection/BlackHoleReadModelProjection.php b/test/Command/Fixture/Projection/BlackHoleReadModelProjection.php index c7d4d1a..f9a88a0 100644 --- a/test/Command/Fixture/Projection/BlackHoleReadModelProjection.php +++ b/test/Command/Fixture/Projection/BlackHoleReadModelProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/Projection/Options/BlackHoleProjectionOptions.php b/test/Command/Fixture/Projection/Options/BlackHoleProjectionOptions.php index 1366426..fbb1ab3 100644 --- a/test/Command/Fixture/Projection/Options/BlackHoleProjectionOptions.php +++ b/test/Command/Fixture/Projection/Options/BlackHoleProjectionOptions.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/Fixture/TestKernel.php b/test/Command/Fixture/TestKernel.php index 49e25d5..8eb5196 100644 --- a/test/Command/Fixture/TestKernel.php +++ b/test/Command/Fixture/TestKernel.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionDeleteCommandTest.php b/test/Command/ProjectionDeleteCommandTest.php index 36d49a2..ff490ba 100644 --- a/test/Command/ProjectionDeleteCommandTest.php +++ b/test/Command/ProjectionDeleteCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionNamesCommandTest.php b/test/Command/ProjectionNamesCommandTest.php index 028946a..4ffda68 100644 --- a/test/Command/ProjectionNamesCommandTest.php +++ b/test/Command/ProjectionNamesCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionResetCommandTest.php b/test/Command/ProjectionResetCommandTest.php index 4ea00a3..52ccf8b 100644 --- a/test/Command/ProjectionResetCommandTest.php +++ b/test/Command/ProjectionResetCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionRunCommandTest.php b/test/Command/ProjectionRunCommandTest.php index 74e492a..2343747 100644 --- a/test/Command/ProjectionRunCommandTest.php +++ b/test/Command/ProjectionRunCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionStateCommandTest.php b/test/Command/ProjectionStateCommandTest.php index 3ad757b..eef38c6 100644 --- a/test/Command/ProjectionStateCommandTest.php +++ b/test/Command/ProjectionStateCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionStopCommandTest.php b/test/Command/ProjectionStopCommandTest.php index baada15..d38bdef 100644 --- a/test/Command/ProjectionStopCommandTest.php +++ b/test/Command/ProjectionStopCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Command/ProjectionStreamPositionsCommandTest.php b/test/Command/ProjectionStreamPositionsCommandTest.php index 5e1abfe..4744f5e 100644 --- a/test/Command/ProjectionStreamPositionsCommandTest.php +++ b/test/Command/ProjectionStreamPositionsCommandTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/AbstractEventStoreExtensionTestCase.php b/test/DependencyInjection/AbstractEventStoreExtensionTestCase.php index 5830678..701543a 100644 --- a/test/DependencyInjection/AbstractEventStoreExtensionTestCase.php +++ b/test/DependencyInjection/AbstractEventStoreExtensionTestCase.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/CompilerPassTestCase.php b/test/DependencyInjection/Compiler/CompilerPassTestCase.php index 7f109aa..c396457 100644 --- a/test/DependencyInjection/Compiler/CompilerPassTestCase.php +++ b/test/DependencyInjection/Compiler/CompilerPassTestCase.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/DeprecateFqcnProjectionsPassTest.php b/test/DependencyInjection/Compiler/DeprecateFqcnProjectionsPassTest.php index fa2a19a..8fef18f 100644 --- a/test/DependencyInjection/Compiler/DeprecateFqcnProjectionsPassTest.php +++ b/test/DependencyInjection/Compiler/DeprecateFqcnProjectionsPassTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/MetadataEnricherPassTest.php b/test/DependencyInjection/Compiler/MetadataEnricherPassTest.php index dd212ad..a0d0042 100644 --- a/test/DependencyInjection/Compiler/MetadataEnricherPassTest.php +++ b/test/DependencyInjection/Compiler/MetadataEnricherPassTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/PluginsPassTest.php b/test/DependencyInjection/Compiler/PluginsPassTest.php index 96c88cc..ccc6114 100644 --- a/test/DependencyInjection/Compiler/PluginsPassTest.php +++ b/test/DependencyInjection/Compiler/PluginsPassTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/ProjectionOptionsPassTest.php b/test/DependencyInjection/Compiler/ProjectionOptionsPassTest.php index d93cd1d..52cc3fc 100644 --- a/test/DependencyInjection/Compiler/ProjectionOptionsPassTest.php +++ b/test/DependencyInjection/Compiler/ProjectionOptionsPassTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Compiler/RegisterProjectionsPassTest.php b/test/DependencyInjection/Compiler/RegisterProjectionsPassTest.php index 2ba92d7..b19e3fd 100644 --- a/test/DependencyInjection/Compiler/RegisterProjectionsPassTest.php +++ b/test/DependencyInjection/Compiler/RegisterProjectionsPassTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/ConfigurationTest.php b/test/DependencyInjection/ConfigurationTest.php index 670a729..90afa1e 100644 --- a/test/DependencyInjection/ConfigurationTest.php +++ b/test/DependencyInjection/ConfigurationTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/EventStore/BlackHole.php b/test/DependencyInjection/Fixture/EventStore/BlackHole.php index 89fa22a..26edd0e 100644 --- a/test/DependencyInjection/Fixture/EventStore/BlackHole.php +++ b/test/DependencyInjection/Fixture/EventStore/BlackHole.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/MergeExtensionConfigurationPass.php b/test/DependencyInjection/Fixture/MergeExtensionConfigurationPass.php index 92610dc..d495dfb 100644 --- a/test/DependencyInjection/Fixture/MergeExtensionConfigurationPass.php +++ b/test/DependencyInjection/Fixture/MergeExtensionConfigurationPass.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Metadata/StaticMetadataEnricher.php b/test/DependencyInjection/Fixture/Metadata/StaticMetadataEnricher.php index bdcd66d..382be94 100644 --- a/test/DependencyInjection/Fixture/Metadata/StaticMetadataEnricher.php +++ b/test/DependencyInjection/Fixture/Metadata/StaticMetadataEnricher.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Plugin/BlackHole.php b/test/DependencyInjection/Fixture/Plugin/BlackHole.php index c18d01a..2c6b022 100644 --- a/test/DependencyInjection/Fixture/Plugin/BlackHole.php +++ b/test/DependencyInjection/Fixture/Plugin/BlackHole.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Projection/BlackHoleProjection.php b/test/DependencyInjection/Fixture/Projection/BlackHoleProjection.php index 84793d2..80a1ac4 100644 --- a/test/DependencyInjection/Fixture/Projection/BlackHoleProjection.php +++ b/test/DependencyInjection/Fixture/Projection/BlackHoleProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Projection/BlackHoleReadModelProjection.php b/test/DependencyInjection/Fixture/Projection/BlackHoleReadModelProjection.php index 4def351..b0eb114 100644 --- a/test/DependencyInjection/Fixture/Projection/BlackHoleReadModelProjection.php +++ b/test/DependencyInjection/Fixture/Projection/BlackHoleReadModelProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Projection/Options/BlackHoleProjectionOptions.php b/test/DependencyInjection/Fixture/Projection/Options/BlackHoleProjectionOptions.php index d9db885..5f95800 100644 --- a/test/DependencyInjection/Fixture/Projection/Options/BlackHoleProjectionOptions.php +++ b/test/DependencyInjection/Fixture/Projection/Options/BlackHoleProjectionOptions.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Projection/TodoProjection.php b/test/DependencyInjection/Fixture/Projection/TodoProjection.php index 5acb880..fe083b9 100644 --- a/test/DependencyInjection/Fixture/Projection/TodoProjection.php +++ b/test/DependencyInjection/Fixture/Projection/TodoProjection.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/Fixture/Projection/TodoReadModel.php b/test/DependencyInjection/Fixture/Projection/TodoReadModel.php index 5d10df7..f01f034 100644 --- a/test/DependencyInjection/Fixture/Projection/TodoReadModel.php +++ b/test/DependencyInjection/Fixture/Projection/TodoReadModel.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/XmlEventStoreExtensionTest.php b/test/DependencyInjection/XmlEventStoreExtensionTest.php index b296994..d620f07 100644 --- a/test/DependencyInjection/XmlEventStoreExtensionTest.php +++ b/test/DependencyInjection/XmlEventStoreExtensionTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/DependencyInjection/YamlEventStoreExtensionTest.php b/test/DependencyInjection/YamlEventStoreExtensionTest.php index 9e5e4b7..a1b205e 100644 --- a/test/DependencyInjection/YamlEventStoreExtensionTest.php +++ b/test/DependencyInjection/YamlEventStoreExtensionTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Messenger/EventStoreTransactionMiddlewareTest.php b/test/Messenger/EventStoreTransactionMiddlewareTest.php index 58c43c8..a7df056 100644 --- a/test/Messenger/EventStoreTransactionMiddlewareTest.php +++ b/test/Messenger/EventStoreTransactionMiddlewareTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/Projection/Options/ProjectionOptionsFactoryTest.php b/test/Projection/Options/ProjectionOptionsFactoryTest.php index 21f02c9..d13cbba 100644 --- a/test/Projection/Options/ProjectionOptionsFactoryTest.php +++ b/test/Projection/Options/ProjectionOptionsFactoryTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 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/test/ProjectionManagerFactoryTest.php b/test/ProjectionManagerFactoryTest.php index f747423..ac92eca 100644 --- a/test/ProjectionManagerFactoryTest.php +++ b/test/ProjectionManagerFactoryTest.php @@ -2,8 +2,8 @@ /** * This file is part of prooph/event-store-symfony-bundle. - * (c) 2014-2022 Alexander Miertsch - * (c) 2015-2022 Sascha-Oliver Prolic + * (c) 2014-2024 Alexander Miertsch + * (c) 2015-2024 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. From 6ad2d988c42beaf677b32b60f25ffcb7438da070 Mon Sep 17 00:00:00 2001 From: Piotr Zajac Date: Tue, 21 May 2024 19:28:57 +0200 Subject: [PATCH 3/4] run static analysis on latest stable version --- .github/workflows/static-analyse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-analyse.yml b/.github/workflows/static-analyse.yml index a43b828..40da87e 100644 --- a/.github/workflows/static-analyse.yml +++ b/.github/workflows/static-analyse.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: php-version: - - "8.0" + - "8.3" operating-system: - "ubuntu-latest" runs-on: ${{ matrix.operating-system }} From 098e31f094f8ec900e5980f372aa5b2db0a3ceba Mon Sep 17 00:00:00 2001 From: Piotr Zajac Date: Tue, 21 May 2024 19:38:16 +0200 Subject: [PATCH 4/4] cs fixes --- src/Command/ProjectionNamesCommand.php | 2 +- src/Command/ProjectionRunCommand.php | 4 ++-- src/Projection/Options/ProjectionOptionsFactory.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Command/ProjectionNamesCommand.php b/src/Command/ProjectionNamesCommand.php index 6217091..9d81f5d 100644 --- a/src/Command/ProjectionNamesCommand.php +++ b/src/Command/ProjectionNamesCommand.php @@ -73,7 +73,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int /** @var string|null $filter */ $filter = $input->getArgument(self::ARGUMENT_FILTER); - $regex = $input->getOption(static::OPTION_REGEX); + $regex = $input->getOption(self::OPTION_REGEX); $output->write(\sprintf('Projection names')); if ($filter) { diff --git a/src/Command/ProjectionRunCommand.php b/src/Command/ProjectionRunCommand.php index f1a5e34..cfcee48 100644 --- a/src/Command/ProjectionRunCommand.php +++ b/src/Command/ProjectionRunCommand.php @@ -27,12 +27,12 @@ protected function configure(): void $this ->setName('event-store:projection:run') ->setDescription('Runs a projection') - ->addOption(static::OPTION_RUN_ONCE, 'o', InputOption::VALUE_NONE, 'Loop the projection only once, then exit'); + ->addOption(self::OPTION_RUN_ONCE, 'o', InputOption::VALUE_NONE, 'Loop the projection only once, then exit'); } protected function execute(InputInterface $input, OutputInterface $output): int { - $keepRunning = ! $input->getOption(static::OPTION_RUN_ONCE); + $keepRunning = ! $input->getOption(self::OPTION_RUN_ONCE); $output->writeln( \sprintf( 'Starting projection %s. Keep running: %s', diff --git a/src/Projection/Options/ProjectionOptionsFactory.php b/src/Projection/Options/ProjectionOptionsFactory.php index 52ab7ab..9b6e5f7 100644 --- a/src/Projection/Options/ProjectionOptionsFactory.php +++ b/src/Projection/Options/ProjectionOptionsFactory.php @@ -20,7 +20,7 @@ final class ProjectionOptionsFactory { public static function createProjectionOptions(array $config): ProjectionOptions { - \array_walk($config, ['self', 'mapOptions']); + \array_walk($config, [self::class, 'mapOptions']); return new ProjectionOptions($config); }