Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More accurately guessing Openapi mistype line and position (#1400)
* Wrong DocParser Exception without context Added $context param toDocParser->parse to keep context in exception. According to: - https://github.com/doctrine/annotations/blob/1.7/lib/Doctrine/Common/Annotations/DocParser.php#L440 - https://github.com/doctrine/annotations/blob/1.7/lib/Doctrine/Common/Annotations/DocParser.php#L342 * Phpstan failed hiden toString conversion * Correct guessing line and position from error position of doctrine annotations --------- Co-authored-by: Serghei Mateas <serghei.mateas@nuacom.ie>
- Loading branch information