Skip to content

Commit

Permalink
Add aliases for 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Oct 26, 2022
1 parent f76e2b7 commit f8a63da
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion resources/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function p() {
vendor/bin/phpunit "$@"
fi
}

function pf() {
if [ -f vendor/bin/pest ]; then
vendor/bin/pest --filter "$@"
Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion resources/localized/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function p() {
vendor/bin/phpunit "$@"
fi
}

function pf() {
if [ -f vendor/bin/pest ]; then
vendor/bin/pest --filter "$@"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f8a63da

Please sign in to comment.