Go to BotTracker plugin dir:
composer install
Go to Matomo root (/var/www/html usually) run:
/var/www/html/plugins/BotTracker/vendor/bin/phpstan analyze -c /var/www/html/plugins/BotTracker/tests/phpstan.neon --level=1 /var/www/html/plugins/BotTracker
Go to BotTracker plugin dir:
composer install
Run PHP Codesniffer
vendor/bin/phpcs --ignore=*/vendor/* --standard=PSR2 .