Skip to content

Commit

Permalink
Suggest how to find installed extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Jul 5, 2018
1 parent 8b9ba14 commit 9ccae22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ docker run --init -it --rm -v $(pwd):/project -w /project foo/phpqa phpmetrics .
### Adding PHPStan extensions

A number of PHPStan extensions is available on the image in `/root/.composer/vendor-bin/phpstan/vendor` out of the box.
You can find them with the command below:

```
phpqa find /root/.composer/vendor-bin/phpstan/vendor/ -iname 'rules.neon' -or -iname 'extension.neon'
```

Use the composer-bin-plugin to install any additional PHPStan extensions in the `phpstan` namespace:

Expand Down

0 comments on commit 9ccae22

Please sign in to comment.