aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-08-05 15:16:05 +0100
committerGitHub2017-08-05 15:16:05 +0100
commitae0b7cb824cfd0fa08fda1d2c0d0dd53b3c4adaa (patch)
tree848dc13f8cbd10654ee56bf2552486fc974fc964 /Library
parent42cfb6d238b7b37b8114e9d0c988bc8e47c5c604 (diff)
parent85da3762331dda87bd6acaae2977cc470c9d2658 (diff)
downloadbrew-ae0b7cb824cfd0fa08fda1d2c0d0dd53b3c4adaa.tar.bz2
Merge pull request #2991 from javian/additionalphpignores
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")