You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/developer/getting_started/phpstorm.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Under the `Mappings` tab, set the following:
51
51
This step will configure PhpStorm to use the PHP CLI that is configured inside your vagrant machine.
52
52
It is important to use this PHP installation as opposed to some other one as it ensures environment consistency among developers and production servers.
53
53
54
-
Under PhpStorm settings, open `Languages & Frameworks` > `PHP`. Press the `...` button next to `CLI Interpreter` and, on the left list of the interpreters window, press the `+` and select `From Docker, Vagrant, VM, Remote...`.
54
+
Under PhpStorm settings, open `PHP`. Press the `...` button next to `CLI Interpreter` and, on the left list of the interpreters window, press the `+` and select `From Docker, Vagrant, VM, Remote...`.
55
55
Select `Vagrant` from the list of radio buttons.
56
56
Then press `OK` to add the interpreter and `OK` to save the list of interpreters.
57
57
@@ -61,7 +61,7 @@ Open `Tools` > `Deployment...` > `Options`. Set `Upload changed files automatica
61
61
62
62
## Enable PHP debugging using xdebug
63
63
64
-
Under PhpStorm settings, open `Languages & Frameworks` > `PHP` > `Debug`. In the pre-configuration steps, press `Validate` to open the configuration validator. Choose `Remote Web Server` and set the following:
64
+
Under PhpStorm settings, open `PHP` > `Debug`. In the pre-configuration steps, press `Validate` to open the configuration validator. Choose `Remote Web Server` and set the following:
65
65
66
66
-`Path to create validation script`: `<submitty repository root>/site/public`
67
67
-`Deployment Server`: Use the SFTP connection you set up in the first step
@@ -91,7 +91,7 @@ Now you can browse the tables in the database window by expanding the tabs next
91
91
92
92
## Running PHPUnit tests
93
93
94
-
Under PhpStorm settings, open `Languages & Frameworks` > `PHP` > `Test Frameworks`. Press the `+` button to add a testing configuration, using the `PHPUnit by Remote Interpreter` type. Choose the interpreter you configured in earlier steps. Then set:
94
+
Under PhpStorm settings, open `PHP` > `Test Frameworks`. Press the `+` button to add a testing configuration, using the `PHPUnit by Remote Interpreter` type. Choose the interpreter you configured in earlier steps. Then set:
95
95
96
96
-`PHPUnit Library`: `Use Composer autoloader`
97
97
-`Path to script`: `/usr/local/submitty/GIT_CHECKOUT/Submitty/site/vendor/autoloader.php`
@@ -132,7 +132,7 @@ Press `OK` to save the run configuration. If you then `Debug` the configuration,
132
132
133
133
During debugging, you may get decently upset at how often you step into magic methods and class loaders etc. There's an easy fix for this:
134
134
135
-
Under PhpStorm settings, open `Languages & Frameworks` > `PHP` > `Debug` > `Step Filters`. Check `Skip magic methods` and add the following to `Skipped Methods`:
135
+
Under PhpStorm settings, open `PHP` > `Debug` > `Step Filters`. Check `Skip magic methods` and add the following to `Skipped Methods`:
0 commit comments