From 2a19b13bb47f62ccb5b76744a75725fbc6ce6db5 Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Thu, 26 Sep 2024 11:55:43 +0200 Subject: [PATCH] [PHPStan] Re-aligned baseline after PHPStan update --- phpstan-baseline.neon | 80 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index db03e3f1..b0d3bb97 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -455,6 +455,36 @@ parameters: count: 1 path: src/lib/FieldType/RichText/RichTextStorage.php + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: ''\\|'ezremote\\://', 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/FieldType/RichText/RichTextStorage.php + + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/FieldType/RichText/RichTextStorage.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\: 'ezremote\\://', 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/FieldType/RichText/RichTextStorage.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\?\\: ''\\|'ezremote\\://', 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 2 + path: src/lib/FieldType/RichText/RichTextStorage.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/FieldType/RichText/RichTextStorage.php + + - + message: "#^Offset 3 does not exist on array\\{0\\?\\: string, 1\\?\\: ''\\|'ezremote\\://', 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/FieldType/RichText/RichTextStorage.php + - message: "#^Parameter \\#1 \\$source of method DOMDocument\\:\\:loadXML\\(\\) expects string, array\\|bool\\|float\\|int\\|string\\|null given\\.$#" count: 2 @@ -625,6 +655,21 @@ parameters: count: 4 path: src/lib/RichText/Converter/Link.php + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Link.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Link.php + + - + message: "#^Offset 3 does not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Link.php + - message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, int\\|null given\\.$#" count: 1 @@ -770,6 +815,21 @@ parameters: count: 1 path: src/lib/RichText/Converter/Render/Embed.php + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: 'ezcontent'\\|'ezlocation', 2\\?\\: numeric\\-string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Render/Embed.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\: 'ezcontent', 2\\?\\: numeric\\-string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Render/Embed.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\: 'ezlocation', 2\\?\\: numeric\\-string\\}\\.$#" + count: 1 + path: src/lib/RichText/Converter/Render/Embed.php + - message: "#^PHPDoc tag @var has invalid value \\(\\$embed \\\\DOMElement\\)\\: Unexpected token \"\\$embed\", expected type at offset 9$#" count: 1 @@ -950,6 +1010,16 @@ parameters: count: 1 path: src/lib/RichText/RelationProcessor.php + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: non\\-empty\\-string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/RelationProcessor.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\?\\: non\\-empty\\-string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/RelationProcessor.php + - message: "#^Cannot call method error\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#" count: 13 @@ -1080,6 +1150,16 @@ parameters: count: 1 path: src/lib/RichText/Validator/InternalLinkValidator.php + - + message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: non\\-empty\\-string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/Validator/InternalLinkValidator.php + + - + message: "#^Offset 2 does not exist on array\\{0\\?\\: string, 1\\?\\: non\\-empty\\-string, 2\\?\\: string, 3\\?\\: string\\}\\.$#" + count: 1 + path: src/lib/RichText/Validator/InternalLinkValidator.php + - message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Location\\\\Handler\\:\\:load\\(\\) expects int, string given\\.$#" count: 1