Skip to content

Commit f46f834

Browse files
authored
Merge pull request #259 from basz/minors
Minors
2 parents 78d2f21 + b179412 commit f46f834

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,21 @@ and a running Postgres server listening on port `5432`. Both should contain an e
108108
### MariaDb
109109

110110
```bash
111-
docker-compose -f docker-compose-tests.yml run composer run-script test-mariadb --timeout 0; \
111+
docker-compose -f docker-compose-tests.yml run tests composer run-script test-mariadb --timeout 0; \
112112
docker-compose -f docker-compose-tests.yml stop
113113
```
114114

115115
### MySql
116116

117117
```bash
118-
docker-compose -f docker-compose-tests.yml run composer run-script test-mysql --timeout 0; \
118+
docker-compose -f docker-compose-tests.yml run tests composer run-script test-mysql --timeout 0; \
119119
docker-compose -f docker-compose-tests.yml stop
120120
```
121121

122122
### Postgres
123123

124124
```bash
125-
docker-compose -f docker-compose-tests.yml run composer run-script test-postgres --timeout 0; \
125+
docker-compose -f docker-compose-tests.yml run tests composer run-script test-postgres --timeout 0; \
126126
docker-compose -f docker-compose-tests.yml stop
127127
```
128128

docker-compose-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ services:
3838
start_interval: 1s
3939
mysql:
4040
image: mysql:5.7
41+
# until we go to mysql 8.0 we need to use this on arm64
42+
platform: linux/amd64
4143
environment:
4244
- MYSQL_DATABASE=event_store_tests
4345
- MYSQL_ALLOW_EMPTY_PASSWORD=1

src/Projection/PdoEventStoreReadModelProjector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public function __construct(
212212
$this->gapDetection = $gapDetection;
213213
$this->vendor = $this->connection->getAttribute(PDO::ATTR_DRIVER_NAME);
214214
while ($eventStore instanceof EventStoreDecorator) {
215+
/** @var EventStoreDecorator $eventStore */
215216
$eventStore = $eventStore->getInnerEventStore();
216217
}
217218

0 commit comments

Comments
 (0)