Skip to content

Instantly share code, notes, and snippets.

@itspriddle
Created April 17, 2013 01:56
Show Gist options
  • Save itspriddle/5401213 to your computer and use it in GitHub Desktop.
Save itspriddle/5401213 to your computer and use it in GitHub Desktop.
Install PHPUnit on OS X Mountain Lion using Homebrew
require 'formula'
class Phpunit < Formula
homepage 'http://www.phpunit.de/manual/current/en/index.html'
url 'http://pear.phpunit.de/get/phpunit.phar'
sha1 '7aaa26086ddf7cd0c517d7f52b74a53a7a1d7e29'
version 'HEAD'
def install
bin.install "phpunit.phar" => "phpunit"
end
end
@shakie
Copy link

shakie commented Dec 17, 2013

Location of the phar has changed along with the checksum. I have forked the gist here https://gist.github.com/shakie/8005291 and to install run this;

brew install https://gist.github.com/shakie/8005291/raw/450ca2e9b29eae9dd115a9de450fbae9efd50e19/phpunit.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment