brew tap exolnet/deprecated 时出现如下错:
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@5.6.rb
php@5.6: Calling `sha256 "digest" => :tag` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the exolnet/deprecated tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@5.6.rb:10
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@7.0.rb
php@7.0: Calling `sha256 "digest" => :tag` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the exolnet/deprecated tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@7.0.rb:10
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@7.1.rb
php@7.1: Calling `sha256 "digest" => :tag` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the exolnet/deprecated tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/php@7.1.rb:10
Error: Cannot tap exolnet/deprecated: invalid syntax in tap!
解决办法:
brew style --fix /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula
执行报错 brew style --fix /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula
Error: No such file or directory @ realpath_rec - /usr/local/Homebrew/Library/Taps/exolnet
缺少目录
解决办法:
mkdir -p /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated
安装PHP5.6
brew install php@5.6 -vvv
brew reinstall --build-from-source php@5.6