... | ... | @@ -19,7 +19,7 @@ |
|
|
|
|
|

|
|
|
|
|
|
Open PhpStorm preferences then :
|
|
|
Open PhpStorm preferences:
|
|
|
1. Go to **Build, Execution, Deployment** section. Then go to **Docker** subsection
|
|
|
2. Create new docker
|
|
|
3. Rename this docker
|
... | ... | @@ -39,9 +39,59 @@ Configure Tool access to docker : |
|
|
2. Set path to `compser.json` file
|
|
|
3. Set Execution on remote docker
|
|
|
4. Set or create cli interpreter
|
|
|
1. To create cli interpreter cli on dots
|
|
|
2. Create new interpreter and configure as in the following image if you use :
|
|
|
1. To create cli interpreter, cli on dots
|
|
|
2. Create new interpreter of type docker-compose or of type docker :
|
|
|
1. Type of docker-compose :
|
|
|

|
|
|
2. Type of docker :
|
|
|

|
|
|
|
|
|
### Configure Test framework
|
|
|
|
|
|
#### PhpUnit
|
|
|
|
|
|

|
|
|
|
|
|
1. Open **TestFramework** subsection on PhpStorm Preferences
|
|
|
2. Add new phpunit Remote
|
|
|
3. Set cli interpreter and set path mapping on remote
|
|
|
4. Set phpunit executable
|
|
|
5. Set configuration file
|
|
|
|
|
|
#### Codeception
|
|
|
|
|
|

|
|
|
|
|
|
1. Open **TestFramework** subsection on PhpStorm Preferences
|
|
|
2. Add new codeception Remote
|
|
|
3. Set cli interpreter and set path mapping on remote
|
|
|
4. Set codeception executable
|
|
|
5. Set configuration file if required
|
|
|
|
|
|
### Configure Quality Tools
|
|
|
|
|
|

|
|
|
|
|
|
#### PHP_CodeSniffer
|
|
|
|
|
|

|
|
|
|
|
|
#### MessDetector
|
|
|
|
|
|
It requires installation of package
|
|
|
|
|
|

|
|
|
|
|
|
#### PhpCsFixer
|
|
|
|
|
|

|
|
|
|
|
|
#### PhpStan
|
|
|
|
|
|

|
|
|
|
|
|
#### Psalm
|
|
|
|
|
|
|
|
|
|
|
|
### Create Cli interpreter
|
|
|
|