When I copy-paste OpenAPI docs in PhpStorm
* @OA\Parameter(
* name="limit",
* in="query",
* required=true,
* description="Limit results"
* ),
it inserts them with single quotes, even though the copied block uses double-quotes. Any ideas on how to fix this? (P.S. I'm using the latest IDE version)
I found the solution by disabling "Replace unnecessary double quotes on paste", located in Settings -> Editor -> General -> Smart Keys -> PHP.
Previously all my copied stuffs (such as HTML as well) converts into single quotes on paste. Disabling the above will retain the double quotes.
Currently using PHPStorm 2023.2.3