require "formula"

class Arcanist < Formula
  resource "libphutil" do
    url "https://github.com/facebook/libphutil.git"
    sha1 ""
  end
  homepage "https://github.com/facebook/arcanist"
  head "git://github.com/facebook/arcanist.git"
  sha1 ""
  version "1"
  def install
    system "cp", "-r", ".", prefix
    resource("libphutil").stage {
      system "cp", "-r", ".", "#{prefix}/externals/includes/libphutil"
    }
  end

  test do
    system "arc", "help"
  end
end

require "formula"

class Arcanist < Formula
  resource "libphutil" do
    url "https://github.com/facebook/libphutil.git"
    sha256 ""
  end
  homepage "https://github.com/facebook/arcanist"
  head "git://github.com/facebook/arcanist.git"
  sha256 ""
  version "1"
  def install
    system "cp", "-r", ".", prefix
    resource("libphutil").stage {
      system "cp", "-r", ".", "#{prefix}/externals/includes/libphutil"
    }
  end

  test do
    system "arc", "help"
  end
end

Use `sha256` instead of `sha1`
Use `sha256` instead of `sha1`

```
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/ryfow/homebrew-phabricator/arcanist.rb
Calling Resource#sha1 is disabled!
Use Resource#sha256 instead.
```