josegonzalez/homebrew-php — pull request #353 by bobthecow (2012-11-08 18:50:14+00:00)
Title: Clean up new abstract PHP formula, inheritance++

* Use inheritance for conditional install args, rather than version checks in the superclass.
* Move HEAD definition into 5.4-only; without a head definition, Homebrew handles throwing errors.
* Move version specific sanity checks into the version recipes.
* Move version specific dependencies into the version recipes.
* Fix wrong version numbers returned by PHP 5.3 formula.
* Apply patch only to PHP 5.3 (this same technique can be used to apply patches to the new 5.2 formula).