aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJan Viljanen2017-08-01 21:11:41 +0200
committerJan Viljanen2017-08-03 06:13:15 +0200
commit85da3762331dda87bd6acaae2977cc470c9d2658 (patch)
treef5517e52e91dadeb85453ffd0dd9af877e697504 /Library
parent2ad03b8eb30ca69bf4b45c1cfc1ca619e49b9a04 (diff)
downloadbrew-85da3762331dda87bd6acaae2977cc470c9d2658.tar.bz2
audit: add additional php header ignore patterns
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/formula_cellar_checks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
index 10379c981..66e038774 100644
--- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
+++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -6,7 +6,7 @@ module FormulaCellarChecks
formula.name.start_with?(formula_name)
end
- return if formula.name =~ /^php\d+$/
+ return if formula.name =~ /^php(@?\d+\.?\d*?)?$/
return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
return if MacOS.version < :yosemite && formula.name.start_with?("memcached")