Answer the question
In order to leave comments, you need to log in
Docker + phpstorm + phpcs setup?
Good afternoon!
Is it possible to set up static code analysis of php_codesniffer in phpstorm if php is in docker? If possible, how?
Answer the question
In order to leave comments, you need to log in
So after all, codesniffer can be run from the console, it is enough to open the docker console in the same storm and execute the command. You add a docker in the storm settings:
The services tab appears, there you can right-click on the desired container: Exec - Create - /bin/bash and the docker console will open:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question