Skip to content

Commit

Permalink
Fix compatibility with package phpdocumentor/type-resolver:>=1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
a-melnikov committed Aug 8, 2022
1 parent cf99c9b commit c3e8bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"ext-json": "*",
"murtukov/php-code-generator": "^0.1.5",
"phpdocumentor/reflection-docblock": "^5.2",
"phpdocumentor/type-resolver": ">1.4.0,<1.6.0",
"phpdocumentor/type-resolver": "^1.4.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/config": "^4.4.30 || ^5.3.7",
"symfony/dependency-injection": "^4.4.30 || ^5.3.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function guessErrorDataProvider(): iterable
yield ['mixed[]', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
yield ['array<mixed>', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
yield ['', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type'];
yield ['[]', $reflectorClass, 'Doc Block parsing failed'];
yield ['[]', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type'];
}
}

Expand Down

0 comments on commit c3e8bf1

Please sign in to comment.