From 9ccae228cb27afe2156120225c80696cc42bbf6d Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Thu, 5 Jul 2018 15:07:43 +0100 Subject: [PATCH] Suggest how to find installed extensions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9e381a2f..5cda23c0 100644 --- a/README.md +++ b/README.md @@ -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: