From 9a01fd28ca55dace161faedd75f683686d395889 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 30 Apr 2020 17:02:17 +0530 Subject: [PATCH] Fix icu4c version for PHP 5.6 and PHP 7.0 on darwin --- src/scripts/darwin.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 42ce7db2..d9a510b7 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -183,6 +183,9 @@ setup_php() { fi export HOMEBREW_NO_INSTALL_CLEANUP=TRUE brew tap shivammathur/homebrew-php + if [ "$version" = "5.6" ] || [ "$version" = "7.0" ]; then + brew install https://raw.githubusercontent.com/shivammathur/homebrew-php/master/Formula/icu4c.rb --force + fi brew "$action" shivammathur/php/php@"$version" brew link --force --overwrite php@"$version" }