Php 警告:正在呼叫“sha256”;摘要=>;:瓶子块中的标签不推荐使用!在公式上使用“brew样式--修复”

Php 警告:正在呼叫“sha256”;摘要=>;:瓶子块中的标签不推荐使用!在公式上使用“brew样式--修复”,php,macos,homebrew,Php,Macos,Homebrew,我很难找出如何处理这个错误。。。以下是完整的信息: MacBook-Pro ~ % brew unlink php@7.4 && brew link --force --overwrite php@5.6 Unlinking /usr/local/Cellar/php@7.4/7.4.16... 0 symlinks removed. Warning: Already linked: /usr/local/Cellar/php@5.6/5.6.40 To relink: br

我很难找出如何处理这个错误。。。以下是完整的信息:

MacBook-Pro ~ % brew unlink php@7.4 && brew link --force --overwrite php@5.6
Unlinking /usr/local/Cellar/php@7.4/7.4.16... 0 symlinks removed.
Warning: Already linked: /usr/local/Cellar/php@5.6/5.6.40
To relink:
  brew unlink php@5.6 && brew link --force php@5.6
MacBook-Pro ~ % brew unlink php@5.6 && brew link --force php@5.6  
Unlinking /usr/local/Cellar/php@5.6/5.6.40... 25 symlinks removed.
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! 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

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! 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

Linking /usr/local/Cellar/php@5.6/5.6.40... 25 symlinks created.
我不确定“在瓶子块中调用
sha256”摘要“=>:tag
”与自制或exolnet的关系是什么意思,并尝试运行
brew样式--修复php@x.x
看起来它修复了一堆东西,但我只是再次运行unlink/link时遇到同样的错误,eXolnet的GitHub已经存档,所以我没有打开新版本按钮。。。所以我不确定我应该在哪里报告这个问题

我在macOS Catalina 10.15.7上,在MacBook Pro 2019上,我昨天刚刚将自制软件(无论如何它都会自动更新)更新为3.0.11-156-gbf79e3d版本

尝试谷歌搜索这会给出Ruby的答案或看似无关的东西,我对Ruby或其他东西都不熟悉。。。我不知道这些警告是不是在转移视线,也不知道该在哪里发布。我甚至不知道我是否应该处理这些错误

我只需要在我的“新”Mac Catalina安装上运行PHP5.6、7.3和7.4(我的老板现在建议不要使用Big Sur)。

尝试运行:

brew style --fix /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula

我也不熟悉ruby,但它修复了

PS我不知道为什么代码块中的某些文本被涂成橙色。。。此外,我还必须将“调用”错误用双引号括起来,因为使用tic(`)会使文本显示更加糟糕。这对我也适用。它显示了PHP7.0和7.1的[Corrected],这是我最后一次收到错误,我最近卸载了brew PHP5.6,因此没有错误或更正,因此它似乎起到了作用。