... | @@ -78,7 +78,7 @@ Configure Tool access to docker : |
... | @@ -78,7 +78,7 @@ Configure Tool access to docker : |
|
|
|
|
|
#### MessDetector
|
|
#### MessDetector
|
|
|
|
|
|
It requires installation of package
|
|
It requires installation of package "composer require phpmd/phpmd"
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -90,8 +90,31 @@ It requires installation of package |
... | @@ -90,8 +90,31 @@ It requires installation of package |
|
|
|
|
|

|
|

|
|
|
|
|
|
#### Psalm
|
|
* Add PhpStan configuration file `phpstan.neon` at the root directory of the project :
|
|
|
|
```neon
|
|
|
|
parameters:
|
|
|
|
level: 8
|
|
|
|
paths:
|
|
|
|
- src
|
|
|
|
- tests/unit
|
|
|
|
- tests/functional
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### Psalm
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
* It requires installation of package `composer require psalm/phar`
|
|
|
|
* Add the following script in composer.json inside the section `scripts` :
|
|
|
|
`"psalm": "php ./vendor/bin/psalm.phar"`
|
|
|
|
* Add the following code inside the file `psalm.xml` at the root directory of the project :
|
|
|
|
```xml
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
<psalm>
|
|
|
|
<projectFiles>
|
|
|
|
<directory name="src" />
|
|
|
|
</projectFiles>
|
|
|
|
</psalm>
|
|
|
|
```
|
|
|
|
|