laravel-tinker icon indicating copy to clipboard operation
laravel-tinker copied to clipboard

[NOTICE] Execution on Docker not working on IDE versions 2020.2.4 - 2022.1.2

Open Roboroads opened this issue 3 years ago • 0 comments

Update

PhpStorm & IDEA 2022.2 are out! Upgrade to fix the issues :)


Original

Because of a bug in the docker package of JB in the IDE version range 2020.2.4 - 2022.1.2 Docker execution for Tinker wil never work. A bug was introduced which double-escapes dollar-signs ($), leaving your code with double dollar signs at execution time. This is a bug in the IDE and has nothing to do with Tinker.

The issue has been reported and fixed as well for the release of 2022.2: https://youtrack.jetbrains.com/issue/WI-66745

As of now (9 jun 2020) this bug is still there in a docker exec interpreter. You need to use a docker run interpreter for now. Issue is reported to JB.

For now - to make it work you have to be on 2022.2 EAP (or higher) in which this bug is fixed and (still) use a docker run interpreter.

Roboroads avatar Jun 09 '22 00:06 Roboroads