diff --git a/composer.json b/composer.json index 99493fef..5fa7efea 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "require": { "php": "8.2.* || 8.3.* || 8.4.* || 8.5.*", - "phpdocumentor/reflection-docblock": "^5.2", + "phpdocumentor/reflection-docblock": "^5.2 || ^6.0", "sebastian/comparator": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", "doctrine/instantiator": "^1.2 || ^2.0", "sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ceff49b2..7032f1ec 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -65,3 +65,9 @@ parameters: identifier: offsetAccess.invalidOffset count: 1 path: src/Prophecy/Util/ExportUtil.php + + - + message: '#^Call to an undefined method phpDocumentor\\Reflection\\DocBlock\\Tags\\Method\:\:getArguments\(\)\.$#' + identifier: method.notFound + count: 1 + path: src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php