#!/bin/bash
if [ ! -x vendor/bin/phpstan ]; then
composer require --dev phpstan/phpstan
fi
./vendor/bin/phpstan analyse