From cd6d2e038fd5f5209c2a70168a8a76e3506bf511 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Fri, 21 Mar 2025 13:15:34 +0100 Subject: [PATCH] Update Psalm and fix new issues --- psalm.xml.dist | 19 +++++++++---------- src/Console.php | 8 ++++---- src/Console/AddRecordCommand.php | 6 ++++-- src/Console/AddSetCommand.php | 5 ++++- src/Console/CsvImportCommand.php | 5 ++++- src/Console/DeleteRecordCommand.php | 4 +++- src/Console/PruneDeletedRecordsCommand.php | 8 +++++--- src/Console/PruneResumptionTokensCommand.php | 3 ++- src/Console/UpdateFormatsCommand.php | 3 ++- src/Entity/Format.php | 2 +- src/Entity/Record.php | 2 +- src/Entity/Set.php | 2 +- src/Entity/Token.php | 2 +- src/EntityManager.php | 8 ++++---- src/Middleware.php | 2 ++ src/Middleware/Dispatcher.php | 4 +++- src/Middleware/ErrorHandler.php | 3 ++- src/Middleware/GetRecord.php | 3 ++- src/Middleware/Identify.php | 3 ++- src/Middleware/ListIdentifiers.php | 1 + src/Middleware/ListMetadataFormats.php | 3 ++- src/Middleware/ListRecords.php | 2 +- src/Middleware/ListSets.php | 3 ++- src/Validator/ConfigurationValidator.php | 2 +- src/Validator/RegExValidator.php | 2 +- src/Validator/UrlValidator.php | 2 +- src/Validator/XmlValidator.php | 2 +- 27 files changed, 66 insertions(+), 43 deletions(-) diff --git a/psalm.xml.dist b/psalm.xml.dist index a7ac0ef..8b144b4 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -13,7 +13,15 @@ > + + + + + + @@ -30,15 +38,6 @@ --> - - - - - - -