Skip to content

Commit fc7840c

Browse files
committed
Updated PhpStorm Guidelines for Advanced Setup
Signed-off-by: Sahil Suman <[email protected]>
1 parent e661cd7 commit fc7840c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_docs/developer/getting_started/phpstorm.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Under the `Mappings` tab, set the following:
5151
This step will configure PhpStorm to use the PHP CLI that is configured inside your vagrant machine.
5252
It is important to use this PHP installation as opposed to some other one as it ensures environment consistency among developers and production servers.
5353

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...`.
5555
Select `Vagrant` from the list of radio buttons.
5656
Then press `OK` to add the interpreter and `OK` to save the list of interpreters.
5757

@@ -61,7 +61,7 @@ Open `Tools` > `Deployment...` > `Options`. Set `Upload changed files automatica
6161

6262
## Enable PHP debugging using xdebug
6363

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:
6565

6666
- `Path to create validation script`: `<submitty repository root>/site/public`
6767
- `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
9191

9292
## Running PHPUnit tests
9393

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:
9595

9696
- `PHPUnit Library`: `Use Composer autoloader`
9797
- `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,
132132

133133
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:
134134

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`:
136136

137137
- `app\views\AbstractView->__construct`
138138
- `app\models\AbstractModel->convertName`

0 commit comments

Comments
 (0)