Fix php 8 on macos

This commit is contained in:
Shivam Mathur 2020-11-28 15:05:48 +05:30
parent c52ce057af
commit 847ea65468
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -217,7 +217,7 @@ setup_php() {
update_dependencies
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
brew tap --shallow shivammathur/homebrew-php
brew install shivammathur/php/php@"$version"
brew upgrade shivammathur/php/php@"$version" 2>/dev/null || brew install shivammathur/php/php@"$version"
brew link --force --overwrite php@"$version"
}