Skip to content

Commit 8ad63a0

Browse files
authored
bump deps, fix php cs (#439)
1 parent 990db0f commit 8ad63a0

113 files changed

Lines changed: 347 additions & 261 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/integration.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Setup PHP
1010
uses: shivammathur/setup-php@v2
1111
with:
12-
php-version: 7.4
12+
php-version: 8.3
1313
- name: Install dependencies
1414
run: composer update --prefer-dist
1515
- name: Building
@@ -34,22 +34,18 @@ jobs:
3434
fail-fast: true
3535
matrix:
3636
include:
37-
- php: 7.4
37+
- php: 8.2
3838
dependencies: ''
39-
- php: 7.4
39+
- php: 8.2
4040
dependencies: '--prefer-lowest --prefer-stable'
41-
- php: 8.0
41+
- php: 8.3
4242
dependencies: ''
43-
- php: 8.0
43+
- php: 8.3
4444
dependencies: '--prefer-lowest --prefer-stable'
45-
- php: 8.1
45+
- php: 8.4
4646
dependencies: ''
47-
- php: 8.1
48-
dependencies: '--prefer-lowest --prefer-stable'
49-
- php: 8.2
50-
dependencies: ''
51-
- php: 8.2
52-
dependencies: '--prefer-lowest --prefer-stable'
47+
- php: 8.4
48+
depdendencies: '--prefer-lowest --prefer-stable'
5349

5450
steps:
5551
- uses: actions/checkout@v2
File renamed without changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prooph Event Store
22

3-
PHP 7.4 EventStore Implementation.
3+
PHP 8.2 EventStore Implementation.
44

55
[![Build Status](https://travis-ci.com/prooph/event-store.svg?branch=7.x)](https://travis-ci.com/prooph/event-store)
66
[![Coverage Status](https://coveralls.io/repos/prooph/event-store/badge.svg?branch=7.x&service=github)](https://coveralls.io/github/prooph/event-store?branch=7.x)
@@ -61,7 +61,7 @@ To establish a consistent code quality, please provide unit tests for all your c
6161
|---------|-------------|-------------|------------------|
6262
| 5.x | EOL | >= 5.5 | EOL |
6363
| 6.x | EOL | >= 5.5 | EOL (3 Dec 2017) |
64-
| 7.x | Latest | >= 7.4 | active |
64+
| 7.x | Latest | >= 8.2 | active |
6565
| 8.x | Development | >= 8.1 | active |
6666

6767
## License

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@
2424
"minimum-stability": "dev",
2525
"prefer-stable": true,
2626
"require": {
27-
"php": "^7.4 || ^8.0",
27+
"php": "^8.2",
2828
"marc-mabe/php-enum": "^4.4",
29-
"prooph/common": "^4.5.2"
29+
"prooph/common": "^4.6.0"
3030
},
3131
"require-dev": {
3232
"phpspec/prophecy": "^1.10.3",
3333
"phpspec/prophecy-phpunit": "^2.0",
3434
"phpunit/php-invoker": "^3.1",
35-
"phpunit/phpunit": "^9.3",
35+
"phpunit/phpunit": "^9.6 || ^10.0",
3636
"prooph/bookdown-template": "^0.2.3",
37-
"prooph/php-cs-fixer-config": "^0.4",
37+
"prooph/php-cs-fixer-config": "^0.6",
3838
"psr/container": "^1.0",
3939
"sandrokeil/interop-config": "^2.0.1",
40-
"satooshi/php-coveralls": "^1.0"
40+
"php-coveralls/php-coveralls": "^2.7"
4141
},
4242
"suggest": {
4343
"prooph/pdo-event-store": "For usage with MySQL or Postgres as event store",

examples/event/QuickStartSucceeded.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

examples/quickstart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/ActionEventEmitterEventStore.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -26,16 +26,27 @@
2626
class ActionEventEmitterEventStore implements EventStoreDecorator
2727
{
2828
public const EVENT_APPEND_TO = 'appendTo';
29+
2930
public const EVENT_CREATE = 'create';
31+
3032
public const EVENT_LOAD = 'load';
33+
3134
public const EVENT_LOAD_REVERSE = 'loadReverse';
35+
3236
public const EVENT_DELETE = 'delete';
37+
3338
public const EVENT_HAS_STREAM = 'hasStream';
39+
3440
public const EVENT_FETCH_STREAM_METADATA = 'fetchStreamMetadata';
41+
3542
public const EVENT_UPDATE_STREAM_METADATA = 'updateStreamMetadata';
43+
3644
public const EVENT_FETCH_STREAM_NAMES = 'fetchStreamNames';
45+
3746
public const EVENT_FETCH_STREAM_NAMES_REGEX = 'fetchStreamNamesRegex';
47+
3848
public const EVENT_FETCH_CATEGORY_NAMES = 'fetchCategoryNames';
49+
3950
public const EVENT_FETCH_CATEGORY_NAMES_REGEX = 'fetchCategoryNamesRegex';
4051

4152
public const ALL_EVENTS = [

src/Container/InMemoryEventStoreFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -149,15 +149,15 @@ public function __invoke(ContainerInterface $container): ReadOnlyEventStore
149149
}
150150

151151
/**
152-
* {@inheritdoc}
152+
* @inheritdoc
153153
*/
154154
public function dimensions(): iterable
155155
{
156156
return ['prooph', 'event_store'];
157157
}
158158

159159
/**
160-
* {@inheritdoc}
160+
* @inheritdoc
161161
* @return array{metadata_enrichers: never[], plugins: never[], wrap_action_event_emitter: true, transactional: true, read_only: true}
162162
*/
163163
public function defaultOptions(): iterable

src/Container/InMemoryProjectionManagerFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -76,7 +76,7 @@ public function __invoke(ContainerInterface $container): InMemoryProjectionManag
7676
}
7777

7878
/**
79-
* {@inheritdoc}
79+
* @inheritdoc
8080
*/
8181
public function dimensions(): iterable
8282
{

src/EventStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/event-store.
5-
* (c) 2014-2023 prooph software GmbH <contact@prooph.de>
6-
* (c) 2015-2023 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
5+
* (c) 2014-2025 prooph software GmbH <contact@prooph.de>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)