echo "\n🚔  \033[0;32mRunning Code Sniffer Symfony for /public ...\033[0m"
./vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle

echo "\n💩  \033[0;32mRunning PHP Mess Detector ...\033[0m"
./vendor/bin/phpmd ./ text ./phpmd.xml --suffixes php,inc,test --exclude vendor,bin,tests

echo "\n🛂  \033[0;32mRunning PHP Copy/Paste Detector ...\033[0m"
./vendor/bin/phpcpd ./ --names=*.php,*.inc,*.test --names-exclude=*.md --ansi --exclude=vendor --exclude=bin --exclude=tests

echo "\n🍫  \033[0;32mRunning PhpCodeFixer ...\033[0m"
./vendor/bin/phpcf --target 7.3 --file-extensions php,inc,test ./

echo "\n🙏  \033[0;32mRunning Psalm ...\033[0m"
./vendor/bin/psalm

echo "\n👻  \033[0;32mRunning PHPStan ...\033[0m"
./vendor/bin/phpstan analyse ./src ./tests --error-format=checkstyle
