Skip to content

Commit c3e8bf1

Browse files
committed
Fix compatibility with package phpdocumentor/type-resolver:>=1.6
1 parent cf99c9b commit c3e8bf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"ext-json": "*",
3333
"murtukov/php-code-generator": "^0.1.5",
3434
"phpdocumentor/reflection-docblock": "^5.2",
35-
"phpdocumentor/type-resolver": ">1.4.0,<1.6.0",
35+
"phpdocumentor/type-resolver": "^1.4.0",
3636
"psr/log": "^1.0 || ^2.0 || ^3.0",
3737
"symfony/config": "^4.4.30 || ^5.3.7",
3838
"symfony/dependency-injection": "^4.4.30 || ^5.3.7",

tests/Config/Parser/MetadataParser/TypeGuesser/DocBlockTypeGuesserTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function guessErrorDataProvider(): iterable
8989
yield ['mixed[]', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
9090
yield ['array<mixed>', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
9191
yield ['', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type'];
92-
yield ['[]', $reflectorClass, 'Doc Block parsing failed'];
92+
yield ['[]', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type'];
9393
}
9494
}
9595

0 commit comments

Comments
 (0)