Merge pull request #2991 from javian/additionalphpignores

audit: add additional php header ignore patterns
This commit is contained in:
Mike McQuaid 2017-08-05 15:16:05 +01:00 committed by GitHub
commit ae0b7cb824

View File

@ -6,7 +6,7 @@ module FormulaCellarChecks
formula.name.start_with?(formula_name) formula.name.start_with?(formula_name)
end 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 < :mavericks && formula.name.start_with?("postgresql")
return if MacOS.version < :yosemite && formula.name.start_with?("memcached") return if MacOS.version < :yosemite && formula.name.start_with?("memcached")