diff --git a/resources/aliases b/resources/aliases index e10a1d288..00f854cc2 100644 --- a/resources/aliases +++ b/resources/aliases @@ -51,7 +51,7 @@ function p() { vendor/bin/phpunit "$@" fi } - + function pf() { if [ -f vendor/bin/pest ]; then vendor/bin/pest --filter "$@" @@ -108,6 +108,12 @@ function php81() { sudo update-alternatives --set phpize /usr/bin/phpize8.1 } +function php82() { + sudo update-alternatives --set php /usr/bin/php8.2 + sudo update-alternatives --set php-config /usr/bin/php-config8.2 + sudo update-alternatives --set phpize /usr/bin/phpize8.2 +} + function serve-apache() { if [[ "$1" && "$2" ]] then diff --git a/resources/localized/aliases b/resources/localized/aliases index 711769f7c..e59a123c3 100644 --- a/resources/localized/aliases +++ b/resources/localized/aliases @@ -38,7 +38,7 @@ function p() { vendor/bin/phpunit "$@" fi } - + function pf() { if [ -f vendor/bin/pest ]; then vendor/bin/pest --filter "$@" @@ -95,6 +95,12 @@ function php81() { sudo update-alternatives --set phpize /usr/bin/phpize8.1 } +function php82() { + sudo update-alternatives --set php /usr/bin/php8.2 + sudo update-alternatives --set php-config /usr/bin/php-config8.2 + sudo update-alternatives --set phpize /usr/bin/phpize8.2 +} + function serve-apache() { if [[ "$1" && "$2" ]] then