Skip to content

Commit

Permalink
bump deps, fix php cs
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Feb 21, 2025
1 parent 990db0f commit d53b8f4
Show file tree
Hide file tree
Showing 111 changed files with 336 additions and 246 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.2",
"marc-mabe/php-enum": "^4.4",
"prooph/common": "^4.5.2"
},
"require-dev": {
"phpspec/prophecy": "^1.10.3",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/php-invoker": "^3.1",
"phpunit/phpunit": "^9.3",
"phpunit/phpunit": "^9.6 || ^10.0",
"prooph/bookdown-template": "^0.2.3",
"prooph/php-cs-fixer-config": "^0.4",
"prooph/php-cs-fixer-config": "^0.6",
"psr/container": "^1.0",
"sandrokeil/interop-config": "^2.0.1",
"satooshi/php-coveralls": "^1.0"
"php-coveralls/php-coveralls": "^2.7"
},
"suggest": {
"prooph/pdo-event-store": "For usage with MySQL or Postgres as event store",
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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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
15 changes: 13 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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 All @@ -26,16 +26,27 @@
class ActionEventEmitterEventStore implements EventStoreDecorator
{
public const EVENT_APPEND_TO = 'appendTo';

public const EVENT_CREATE = 'create';

public const EVENT_LOAD = 'load';

public const EVENT_LOAD_REVERSE = 'loadReverse';

public const EVENT_DELETE = 'delete';

public const EVENT_HAS_STREAM = 'hasStream';

public const EVENT_FETCH_STREAM_METADATA = 'fetchStreamMetadata';

public const EVENT_UPDATE_STREAM_METADATA = 'updateStreamMetadata';

public const EVENT_FETCH_STREAM_NAMES = 'fetchStreamNames';

public const EVENT_FETCH_STREAM_NAMES_REGEX = 'fetchStreamNamesRegex';

public const EVENT_FETCH_CATEGORY_NAMES = 'fetchCategoryNames';

public const EVENT_FETCH_CATEGORY_NAMES_REGEX = 'fetchCategoryNamesRegex';

public const ALL_EVENTS = [
Expand Down
8 changes: 4 additions & 4 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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 Expand Up @@ -149,15 +149,15 @@ public function __invoke(ContainerInterface $container): ReadOnlyEventStore
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function dimensions(): iterable
{
return ['prooph', 'event_store'];
}

/**
* {@inheritdoc}
* @inheritdoc
* @return array{metadata_enrichers: never[], plugins: never[], wrap_action_event_emitter: true, transactional: true, read_only: true}
*/
public function defaultOptions(): iterable
Expand Down
6 changes: 3 additions & 3 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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 Expand Up @@ -76,7 +76,7 @@ public function __invoke(ContainerInterface $container): InMemoryProjectionManag
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function dimensions(): iterable
{
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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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-2023 prooph software GmbH <contact@prooph.de>
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
* (c) 2015-2025 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
Loading

0 comments on commit d53b8f4

Please # to comment.