#!/bin/bash # Check if Laravel Pint is installed. which ./vendor/bin/pint &> /dev/null if [[ "$?" == 1 ]]; then echo -e "\e[31mPlease install Pint (composer require laravel/pint --dev)\e[0m" exit 1 fi # Run Pint to inspect your code for style errors without actually changing the files ./vendor/bin/pint --test --config ./pint.json