Skip to content

Commit fb798ff

Browse files
authored
Merge pull request #752 from patchlevel/remove-retry-outdated-aggregate-command-bus
remove RetryOutdatedAggregateCommandBus
2 parents 0ad14d9 + d786ae1 commit fb798ff

File tree

5 files changed

+2
-228
lines changed

5 files changed

+2
-228
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Dead catch \- Patchlevel\\EventSourcing\\Repository\\AggregateOutdated is never thrown in the try block\.$#'
5-
identifier: catch.neverThrown
6-
count: 1
7-
path: src/CommandBus/RetryOutdatedAggregateCommandBus.php
8-
9-
-
10-
message: '#^Method Patchlevel\\EventSourcing\\CommandBus\\RetryOutdatedAggregateCommandBus\:\:maxRetries\(\) is unused\.$#'
11-
identifier: method.unused
12-
count: 1
13-
path: src/CommandBus/RetryOutdatedAggregateCommandBus.php
14-
15-
-
16-
message: '#^Method Patchlevel\\EventSourcing\\CommandBus\\RetryOutdatedAggregateCommandBus\:\:maxRetries\(\) never returns null so it can be removed from the return type\.$#'
17-
identifier: return.unusedType
18-
count: 1
19-
path: src/CommandBus/RetryOutdatedAggregateCommandBus.php
20-
213
-
224
message: '#^Cannot unset offset ''url'' on array\{application_name\?\: string, charset\?\: string, dbname\?\: string, defaultTableOptions\?\: array\<string, mixed\>, driver\?\: ''ibm_db2''\|''mysqli''\|''oci8''\|''pdo_mysql''\|''pdo_oci''\|''pdo_pgsql''\|''pdo_sqlite''\|''pdo_sqlsrv''\|''pgsql''\|''sqlite3''\|''sqlsrv'', driverClass\?\: class\-string\<Doctrine\\DBAL\\Driver\>, driverOptions\?\: array\<mixed\>, host\?\: string, \.\.\.\}\.$#'
235
identifier: unset.offset

phpstan.neon.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ parameters:
88
ignoreErrors:
99
-
1010
identifier: missingType.generics
11+
reportUnmatchedIgnoredErrors: false
12+

src/Attribute/RetryAggregateOutdated.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/CommandBus/RetryOutdatedAggregateCommandBus.php

Lines changed: 0 additions & 50 deletions
This file was deleted.

tests/Unit/CommandBus/RetryOutdatedAggregateCommandBusTest.php

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)