fix: removes the laravel binary even when php is already gone

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
nunomaduroandClaude Fable 5.1 committed 2026-09-16 20:35:34 +01:00
1 parent 456af5cc88
commit 486e1cab9b
1 file changed
+3
+3
View File
@@ -52,6 +52,9 @@ php)
laravel)
echo -e "Removing Laravel...\n"
mise x php -- composer global remove laravel/installer 2>/dev/null || true
# Composer cannot run once PHP is gone, so drop the installer binary directly (new and old bin-dir)
rm -f "$HOME/.local/bin/laravel" "$HOME/.config/composer/vendor/bin/laravel"
;;
symfony)
echo -e "Removing Symfony CLI...\n"