diff --git a/composer.json b/composer.json
index 9838d3974..1d818f377 100644
--- a/composer.json
+++ b/composer.json
@@ -98,8 +98,8 @@
"nyholm/psr7": "^1.4",
"open-telemetry/dev-tools": "dev-main",
"php-http/mock-client": "^1.5",
- "phpdocumentor/reflection-docblock": "^6.0",
- "phpspec/prophecy": "1.26.*",
+ "phpdocumentor/reflection-docblock": "^5.3",
+ "phpspec/prophecy": "1.22.*",
"phpspec/prophecy-phpunit": "^2",
"phpstan/phpstan": "^1.10.13",
"phpstan/phpstan-mockery": "^1.1",
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
index 1265c4d71..1a20855da 100644
--- a/phpstan.neon.dist
+++ b/phpstan.neon.dist
@@ -57,6 +57,10 @@ parameters:
message: "#.*expects Google\\\\Protobuf\\\\RepeatedField.*#"
paths:
- src/Contrib/Otlp
+ -
+ message: "#Call to an undefined method Google\\\\Protobuf\\\\FieldDescriptor::getLabel\\(\\).#"
+ paths:
+ - src/Contrib/Otlp/ProtobufSerializer.php
-
message: "#^Call to (static )?method .* on an unknown class .*#"
paths:
diff --git a/psalm.xml.dist b/psalm.xml.dist
index 0f70e6e0a..cabed693f 100644
--- a/psalm.xml.dist
+++ b/psalm.xml.dist
@@ -35,6 +35,11 @@
+
+
+
+
+