Giter VIP home page Giter VIP logo

Comments (3)

ServerExe avatar ServerExe commented on August 26, 2024

Same here on Windows. I am using vagrant box (Linux) and selecting the "Remote Interpreter" dropdown item does not trigger any functionality, so that i can pick a interpreter or something. The error message below, that there has no executable been selected, is still there. And yeah, the Local thingy multiplie.

from idea-php-generics-plugin.

j-koehler avatar j-koehler commented on August 26, 2024

I tried it using the workaround from https://youtrack.jetbrains.com/issue/WI-36122#focus=streamItem-27-3194637.0-0 with PhpStorm 2020.1.1 and Plugin version 0.7.0.

I added phpstan/phpstan:0.12 as a docker based CLI interpreter. After doing this, I'm able to pick the newly created interpreter and add the configuration. Based on this Dockerfile, I changed volume and mapping to /app and set phpstan as the "PhpStan path" (validation succeeds - detects 0.12.25 atm).

After this, I enable PhpStan inspections but run into trouble here. Event log says:

PHPStan
    phpstan: Can not correctly run the tool with parameters:
    analyse
    --error-format=checkstyle
    /opt/phpstan_temp.tmp/path/to/my/File.php
    Possible tool process hangup after 5 sec.

I wonder where this /opt/phpstan_temp.tmp comes from? PhpStorm helper?

Sometimes I also get the following error:

PHPStan
    No response from phpstan after 5000 ms

Maybe it means the container is not running? I wonder how the CLI remote interpreter handling in PhpStorm works aka "when/how/by whom are the containers started".

from idea-php-generics-plugin.

icanhazstring avatar icanhazstring commented on August 26, 2024

For me it seems to be working now. So closing it.

from idea-php-generics-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.