Closed quazardous closed 2 months ago
just read the doc doo
but it does not work because of docker verbose output...
17:02 $ bin/phpstan_docker
[+] Creating 1/0
✔ Container xxx-mariadb-1 Running 0.0s
Note: Using configuration file /var/www/xxx/phpstan.neon.
vscode output
[check:18] PHPStan process exited with error filteredErr=Container m2m-mariadb-1 Running rawErr= Container m2m-mariadb-1 Running
data=
[status-bar] Hiding status bar, last operation result = Error
EDIT:
I've a depends_on
depends_on:
mariadb:
condition: service_healthy
I should create a fully dedicated php container for phpstan, I made it run from the main container because I'm lazy...
Is there not some way to prevent that output while running the docker phpstan command? If not then it's going to be pretty hard to work around this. I'd have make the phpstan command specifically ignore docker-related output but not the rest.
Issues go stale after too much time without activity. If inactive for another 7 days this issue will be closed.
Hi,
I would like to ask you on the right way to use the plugin with a dockerized phpstan stack.
the main issue is how to map the path between vscode and the container.
Before I start diving into it, could you provide me some pointers ?
thx