Comments (3)
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.
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.
For me it seems to be working now. So closing it.
from idea-php-generics-plugin.
Related Issues (20)
- PHPStan errors still shown after PHPStan config change
- psalm: "The reference cache must be an array"
- Psalm / PhpStan config path HOT 1
- Duplicated configuration HOT 2
- Links to documentation in error messages
- Typehint for classes not working HOT 3
- Templates don't work with @extends HOT 2
- Add the ability to read stubs
- Missing import reported for non-doctrine annotations HOT 2
- Exception in the latest EAP HOT 1
- Problem with PhpStorm 2020.2 EAP - PS-202.5958.28 HOT 1
- Whats the name of the log category to debug PHPStan HOT 1
- AssertionErrors using Google API Client with PhpStorm 2020.2 Beta HOT 1
- Read access triggers "readonly" inspection HOT 1
- Argument Must not be null HOT 5
- Plugin seems to be passing the wrong arguments to phpstan when analysing a source file HOT 1
- Warnings get stuck, only restarting fixes it
- "At least one path must be specified to analyse"
- Unrecognised argument "--no-ansi" Type --help to see a list of supported arguments
- Plugin is not compatible with PhpStorm 2020.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idea-php-generics-plugin.