aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-01-07 12:18:14 +0000
committerGitHub2017-01-07 12:18:14 +0000
commit14e8f252adbfdd08772bc12fa436751c24df0035 (patch)
tree458b5675b77dbbbd1c5daed9a1015d02fa6e1c67
parentf3460f642c0cafd3da8a938f56394b02025c0ba2 (diff)
parent80b7d4c1aafc6eba51e6b167b1da13788714f4d4 (diff)
downloadbrew-14e8f252adbfdd08772bc12fa436751c24df0035.tar.bz2
Merge pull request #1792 from javian/whitelistphpshadowedheader
Whitelist PHP formulas in shadowed header audit check
-rw-r--r--Library/Homebrew/extend/os/mac/formula_cellar_checks.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
index 8bc42ad35..5b1c648bf 100644
--- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
+++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -6,6 +6,8 @@ module FormulaCellarChecks
formula.name.start_with?(formula_name)
end
+ return if formula.name =~ /^php\d+$/
+
return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
return if MacOS.version < :yosemite && formula.name.start_with?("memcached")