Add PHPUnit by Remote Interpreter and choose the Docker-based interpreter you configured previously. ![]() Go to Languages & Frameworks > PHP > Test Frameworks.choose the PHP Runtime tab and click on Sync Extensions with Interpreter.open the Docker container mapping dialog and adjust the container path to /application. You may also want to raise the PHP memory limit by adding the environment variable PHP_MEMORY_LIMIT with the desired value.If the icon is disabled, click on the reload icon (next to it) first There's a small icon above the "Debugger: Xdebug" label which allows you to display some phpinfo() output. Check that the PHP executable / PHP version is detected correctly (might take a while, if PhpStorm needs to download the Docker image first).As Image name use flownative/beach-php:7.4 (or the respective PHP version you use in your project).Provide the PHP interpreter connection parameters.In the Configure Remote PHP Interpreter dialog choose Docker.In the CLI Interpreters dialog, click in the left-hand pane, then choose From Docker. from the popup menu.On the PHP page click next to the CLI Interpreter list. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |