Skip to content

Commit

Permalink
Add support for PHP 8.1 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-miller-rakuten authored Dec 7, 2021
1 parent 7e4902c commit 8cf9cd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpswitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ osx_version=$((${osx_major_version} * 10000 + ${osx_minor_version} * 100 + ${osx

brew_prefix=$(brew --prefix | sed 's#/#\\\/#g')

brew_array=("5.6","7.0","7.1","7.2","7.3","7.4","8.0")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")
valet_support_php_version_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")
brew_array=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")
valet_support_php_version_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]")
php_installed_array=()
php_version="php@$1"
php_opt_path="$brew_prefix\/opt\/"
Expand Down Expand Up @@ -156,7 +156,7 @@ $comment_apache_module_string\\
if [[ $valet_installed -eq 1 ]]; then
valet use $php_version --force
else
echo "valet doesn't installed in your system, will skip restarting valet service"
echo "valet isn't installed in your system, will skip restarting valet service"
fi
fi

Expand Down

0 comments on commit 8cf9cd0

Please sign in to comment.