You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiline string value in annoation are not parsed correctly.
I have the following annotation
/** * @OA\QueryParameter(name="orderBy", @OA\Schema(type="string"), required=false, description="List of value: * - <b>TRY</b>: To try * - <b>TEST</b>: to test (Default if no parameters given)") */publicfunctiontest()
{}
And description value is set to "ListOfValue
see the following rector diff
- * @OA\QueryParameter(name="orderBy", @OA\Schema(type="string"), required=false, description="List of value:- * - <b>TRY</b>: To try- * - <b>TEST</b>: to test (Default if no parameters given)")+ #[OA\QueryParameter(name: 'orderBy', schema: new OA\Schema(type: 'string'), required: false, description: '"Listofvalue')]
Minimal PHP Code Causing Issue
Will try to make a minimal repo reproduction later.
Expected Behaviour
description parsed value is the same multiline value as the original annoation (minus the * and extra space due to annotation)
The text was updated successfully, but these errors were encountered:
Bug Report
Multiline string value in annoation are not parsed correctly.
I have the following annotation
And
description
value is set to"ListOfValue
see the following rector diff
Minimal PHP Code Causing Issue
Will try to make a minimal repo reproduction later.
Expected Behaviour
description
parsed value is the same multiline value as the original annoation (minus the*
and extra space due to annotation)The text was updated successfully, but these errors were encountered: