This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix style issues

  • Loading branch information...
ablyler committed Sep 21, 2015
1 parent 438fbf2 commit 744da4a05540725d3ec744b09167f8b5e635ab2f
Showing 331 changed files with 1,448 additions and 1,478 deletions.
View
@@ -1,7 +1,7 @@
class Adminer < Formula
desc "Adminer is a full-featured database management tool written in PHP."
homepage "http://www.adminer.org/"
version '4.2.2'
version "4.2.2"
url "https://downloads.sourceforge.net/project/adminer/Adminer/Adminer%20" + version + "/adminer-" + version + ".php"
sha256 "4dced0c64dbeb0f6e9a27c4ec5838bbf5f33b82c368a8965b47ae3da6c9bcb2c"
View
@@ -27,4 +27,3 @@ def install
system "arc", "version"
end
end
View
@@ -18,9 +18,9 @@ class Boris < Formula
def install
# ensure the required php modules are installed
php_modules = Utils.popen_read("php -m")
raise "php must be re-compiled, in order to have readline support" if !php_modules.include?("readline")
raise "php must be re-compiled with pcntl support" if !php_modules.include?("pcntl")
raise "php must be re-compiled with posix support" if !php_modules.include?("posix")
raise "php must be re-compiled, in order to have readline support" unless php_modules.include?("readline")
raise "php must be re-compiled with pcntl support" unless php_modules.include?("pcntl")
raise "php must be re-compiled with posix support" unless php_modules.include?("posix")
system "composer", "install"
libexec.install Dir["*"]
View
@@ -17,4 +17,3 @@ def install
include.install %w[apc_serializer.h hash.h igbinary.h php_igbinary.h]
end
end
View
@@ -12,19 +12,19 @@ class PhpCsFixer < Formula
depends_on PharRequirement
depends_on PharBuildingRequirement
depends_on "composer"
depends_on "php53" if Formula['php53'].linked_keg.exist?
depends_on "php54" if Formula['php54'].linked_keg.exist?
depends_on "php55" if Formula['php55'].linked_keg.exist?
depends_on "php56" if Formula['php56'].linked_keg.exist?
depends_on "php70" if Formula['php70'].linked_keg.exist?
depends_on "php53" if Formula["php53"].linked_keg.exist?
depends_on "php54" if Formula["php54"].linked_keg.exist?
depends_on "php55" if Formula["php55"].linked_keg.exist?
depends_on "php56" if Formula["php56"].linked_keg.exist?
depends_on "php70" if Formula["php70"].linked_keg.exist?
def install
File.open("genphar.php", "w") {|f| f.write(phar_stub) }
File.open("genphar.php", "w") { |f| f.write(phar_stub) }
[
"mkdir -p src",
"rsync -a --exclude 'src' . src/",
"cd src && /usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off #{Formula['composer'].libexec}/composer.phar install",
"cd src && /usr/bin/env php -d allow_url_fopen=On -d detect_unicode=Off #{Formula["composer"].libexec}/composer.phar install",
"cd src && sed -i '' '1d' php-cs-fixer",
"php -f genphar.php",
].each { |c| `#{c}` }
View
@@ -2,17 +2,17 @@
class Php53Apc < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/apc'
url 'https://pecl.php.net/get/APC-3.1.10.tgz'
sha256 '99f260b32592f1b50da9c7a83fad3c5cbdb2484fa01aee6cc04caadd8cd4fc44'
head 'https://svn.php.net/repository/pecl/apc/trunk/'
homepage "https://pecl.php.net/package/apc"
url "https://pecl.php.net/get/APC-3.1.10.tgz"
sha256 "99f260b32592f1b50da9c7a83fad3c5cbdb2484fa01aee6cc04caadd8cd4fc44"
head "https://svn.php.net/repository/pecl/apc/trunk/"
devel do
url 'https://pecl.php.net/get/APC-3.1.13.tgz'
sha1 'cafd6ba92ac1c9f500a6c1e300bbe8819daddfae'
url "https://pecl.php.net/get/APC-3.1.13.tgz"
sha1 "cafd6ba92ac1c9f500a6c1e300bbe8819daddfae"
end
depends_on 'pcre'
depends_on "pcre"
stable do
# fixes "Incorrect version tag: APC 3.1.10 shows 3.1.9"
@@ -26,7 +26,6 @@ class Php53Apc < AbstractPhp53Extension
sha256 "2e24df0758c1c47881d308dd58b4c930bc492b53be8b49677fc6fb2ba413ee47" => :mavericks
end
def install
Dir.chdir "APC-#{version}" unless build.head?
@@ -37,7 +36,7 @@ def install
phpconfig,
"--enable-apc-pthreadmutex"
system "make"
prefix.install %w(modules/apc.so apc.php)
prefix.install %w[modules/apc.so apc.php]
write_config_file if build.with? "config-file"
end
View
@@ -2,10 +2,10 @@
class Php53Apcu < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/apcu'
url 'https://pecl.php.net/get/apcu-4.0.7.tgz'
sha256 '178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6'
head 'https://github.com/krakjoe/apcu.git'
homepage "https://pecl.php.net/package/apcu"
url "https://pecl.php.net/get/apcu-4.0.7.tgz"
sha256 "178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6"
head "https://github.com/krakjoe/apcu.git"
bottle do
cellar :any_skip_relocation
@@ -14,8 +14,8 @@ class Php53Apcu < AbstractPhp53Extension
sha256 "8ab477eef124c67b89427697cd343dddfd836a0c6b3add5104ff0e79b1de0b7e" => :mavericks
end
option 'with-apc-bc', "Whether APCu should provide APC full compatibility support"
depends_on 'pcre'
option "with-apc-bc", "Whether APCu should provide APC full compatibility support"
depends_on "pcre"
def install
Dir.chdir "apcu-#{version}" unless build.head?
@@ -24,7 +24,7 @@ def install
args = []
args << "--enable-apcu"
args << "--enable-apc-bc" if build.with? 'apc-bc'
args << "--enable-apc-bc" if build.with? "apc-bc"
safe_phpize
View
@@ -2,10 +2,10 @@
class Php53Binpack < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/binpack'
url 'https://pecl.php.net/get/binpack-1.0.1.tgz'
sha256 '70617a721df4f8c52b5b1b214c11e464f8c36915cc19a850f24fed500c61b297'
head 'http://binpack.liaohuqiu.net'
homepage "https://pecl.php.net/package/binpack"
url "https://pecl.php.net/get/binpack-1.0.1.tgz"
sha256 "70617a721df4f8c52b5b1b214c11e464f8c36915cc19a850f24fed500c61b297"
head "http://binpack.liaohuqiu.net"
bottle do
cellar :any_skip_relocation
View
@@ -54,4 +54,3 @@ def config_file
shell_output("php -m").include?("blitz")
end
end
View
@@ -2,10 +2,10 @@
class Php53Boxwood < AbstractPhp53Extension
init
homepage 'https://github.com/ning/boxwood'
url 'https://github.com/ning/boxwood/archive/888ba12635d7c50cb1bbf1cbef513b0ef9238af3.tar.gz'
sha256 '7e5142706023c4acc1db433998d2350458b00c7bc79eba0cc886683bba6b5343'
version '888ba12'
homepage "https://github.com/ning/boxwood"
url "https://github.com/ning/boxwood/archive/888ba12635d7c50cb1bbf1cbef513b0ef9238af3.tar.gz"
sha256 "7e5142706023c4acc1db433998d2350458b00c7bc79eba0cc886683bba6b5343"
version "888ba12"
bottle do
cellar :any_skip_relocation
View
@@ -2,19 +2,19 @@
class Php53Chdb < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/chdb'
url 'https://pecl.php.net/get/chdb-1.0.2.tgz'
sha256 'ac6360fd786fbbbe8b14c7e1943f2f64c1f9a86dd5a4c38ff4d5d65740e99e0b'
homepage "https://pecl.php.net/package/chdb"
url "https://pecl.php.net/get/chdb-1.0.2.tgz"
sha256 "ac6360fd786fbbbe8b14c7e1943f2f64c1f9a86dd5a4c38ff4d5d65740e99e0b"
bottle do
cellar :any
sha256 "dc3abc586cf4df47c010015dcaeead5eedc0d4c97b29d4039bf2084e1d7a03f1" => :el_capitan
sha256 "e0fd3b7cc2e85636683e655189b661e0fdf3971b5d8b6fa81f27ce4b9cf860a6" => :yosemite
sha256 "007e9dc9b1ffd62dcc82ed78c1f5b39ade4173b74962be6340db2728005e77ad" => :mavericks
end
head 'https://github.com/lcastelli/chdb', :using => :git
head "https://github.com/lcastelli/chdb", :using => :git
depends_on 'libcmph'
depends_on "libcmph"
def install
Dir.chdir "chdb-#{version}" unless build.head?
View
@@ -2,10 +2,10 @@
class Php53Crypto < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/crypto'
url 'https://pecl.php.net/get/crypto-0.1.1.tgz'
sha256 '9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b'
head 'https://github.com/bukka/php-crypto.git'
homepage "https://pecl.php.net/package/crypto"
url "https://pecl.php.net/get/crypto-0.1.1.tgz"
sha256 "9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b"
head "https://github.com/bukka/php-crypto.git"
bottle do
cellar :any_skip_relocation
View
@@ -2,10 +2,10 @@
class Php53Dbase < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/dbase/5.1.0'
url 'https://pecl.php.net/get/dbase-5.1.0.tgz'
sha256 '20d6a40fb2efe4a06f503ec53512d02d71ceda87eac1f55208d7b5398f287a97'
head 'https://svn.php.net/repository/pecl/dbase/trunk/'
homepage "https://pecl.php.net/package/dbase/5.1.0"
url "https://pecl.php.net/get/dbase-5.1.0.tgz"
sha256 "20d6a40fb2efe4a06f503ec53512d02d71ceda87eac1f55208d7b5398f287a97"
head "https://svn.php.net/repository/pecl/dbase/trunk/"
bottle do
cellar :any_skip_relocation
View
@@ -2,19 +2,19 @@
class Php53Dbus < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/dbus'
url 'https://pecl.php.net/get/dbus-0.1.1.tgz'
sha256 '018ce17ceb18bd7085f7151596835b09603140865a49c76130b77e00bc7fcdd7'
head 'http://svn.php.net/repository/pecl/dbus/trunk/'
homepage "https://pecl.php.net/package/dbus"
url "https://pecl.php.net/get/dbus-0.1.1.tgz"
sha256 "018ce17ceb18bd7085f7151596835b09603140865a49c76130b77e00bc7fcdd7"
head "http://svn.php.net/repository/pecl/dbus/trunk/"
bottle do
sha256 "96a2f1b9ddd5f1a685f3b85befbb5b859569ed8be1e55228268c513f48809b9a" => :el_capitan
sha256 "f7cbae6393227842620f64cc989301579249e2aa68ff2a4d9ba9bf3b695004a7" => :yosemite
sha256 "7df58ac21901e6f254dd9e61fcaa8f00164c2b50d349c3f7fff60c43d30b4d2e" => :mavericks
end
depends_on 'pkg-config' => :build
depends_on 'd-bus' => :build
depends_on "pkg-config" => :build
depends_on "d-bus" => :build
def install
Dir.chdir "dbus-#{version}" unless build.head?
View
@@ -1,22 +1,22 @@
require 'formula'
require "formula"
require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)
class Php53Dmtx < AbstractPhp53Extension
init
homepage 'http://www.libdmtx.org'
url 'https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz'
sha256 '864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26'
head 'https://github.com/maZahaca/php-dmtx.git'
homepage "http://www.libdmtx.org"
url "https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz"
sha256 "864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26"
head "https://github.com/maZahaca/php-dmtx.git"
bottle do
sha256 "a73ad76996a68239552cd6dd72addfe4559e4c8289c7ce5a670aae5ebf592619" => :el_capitan
sha256 "71ffddf16e59d968d4e934f1c1cdb35f230d515803de92680c99970466a6c56c" => :yosemite
sha256 "9128b85fed212828fc6d7ec915333daad4567ecd0521e8feda0a8c36d819bdd2" => :mavericks
end
depends_on 'libdmtx'
depends_on 'php53-imagick'
depends_on 'pkg-config' => :build
depends_on "libdmtx"
depends_on "php53-imagick"
depends_on "pkg-config" => :build
def install
ENV.universal_binary if build.universal?
@@ -25,7 +25,7 @@ def install
system "./configure", "--prefix=#{prefix}",
phpconfig
system "make"
prefix.install %w(modules/dmtx.so)
prefix.install %w[modules/dmtx.so]
write_config_file if build.with? "config-file"
end
end
View
@@ -2,17 +2,17 @@
class Php53Gearman < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/gearman'
url 'https://pecl.php.net/get/gearman-1.1.2.tgz'
sha256 'c30a68145b4e33f4da929267f7b5296376ca81d76dd801fc77a261696a8a5965'
head 'https://svn.php.net/repository/pecl/gearman/trunk/'
homepage "https://pecl.php.net/package/gearman"
url "https://pecl.php.net/get/gearman-1.1.2.tgz"
sha256 "c30a68145b4e33f4da929267f7b5296376ca81d76dd801fc77a261696a8a5965"
head "https://svn.php.net/repository/pecl/gearman/trunk/"
bottle do
sha256 "6df13554bc809e1229791648a8fc73e1a7d27cd336c16d4aa8942049e82eff3f" => :yosemite
sha256 "e18fee51e7d674f32128598528b203e6c95155a5b3a268e34a21a7ef00532e8e" => :mavericks
end
depends_on 'gearman'
depends_on "gearman"
def install
Dir.chdir "gearman-#{version}" unless build.head?
@@ -22,7 +22,7 @@ def install
safe_phpize
system "./configure", "--prefix=#{prefix}",
phpconfig,
"--with-gearman=#{Formula['gearman'].opt_prefix}"
"--with-gearman=#{Formula["gearman"].opt_prefix}"
system "make"
prefix.install "modules/gearman.so"
write_config_file if build.with? "config-file"
View
@@ -2,18 +2,18 @@
class Php53Geoip < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/geoip'
url 'https://pecl.php.net/get/geoip-1.1.0.tgz'
sha256 '82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9'
head 'https://svn.php.net/repository/pecl/geoip/trunk/'
homepage "https://pecl.php.net/package/geoip"
url "https://pecl.php.net/get/geoip-1.1.0.tgz"
sha256 "82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9"
head "https://svn.php.net/repository/pecl/geoip/trunk/"
bottle do
sha256 "25f695e659ff6f390f54dc608eed6224346ab56315569452626840d5110c0fb5" => :yosemite
sha256 "6c3f7ca3d6901cd1b3a8a25409e3470818b734abadc634f7a74b30c7ddc646e3" => :mavericks
sha256 "2df677d40f47d2042dc6ee6de86e709d51cc20071440d3fc1526dd7ec280f4ab" => :mountain_lion
end
depends_on 'geoip'
depends_on "geoip"
def install
Dir.chdir "geoip-#{version}" unless build.head?
@@ -23,7 +23,7 @@ def install
safe_phpize
system "./configure", "--prefix=#{prefix}",
phpconfig,
"--with-geoip=#{Formula['geoip'].opt_prefix}"
"--with-geoip=#{Formula["geoip"].opt_prefix}"
system "make"
prefix.install "modules/geoip.so"
write_config_file if build.with? "config-file"
View
@@ -2,9 +2,9 @@
class Php53Gmagick < AbstractPhp53Extension
init
homepage 'https://pecl.php.net/package/gmagick'
url 'https://pecl.php.net/get/gmagick-1.1.7RC2.tgz'
sha256 '8e51c8343d6e6d556d7b17417ce338c6ed2b0893869f1494410dfe6ba5105475'
homepage "https://pecl.php.net/package/gmagick"
url "https://pecl.php.net/get/gmagick-1.1.7RC2.tgz"
sha256 "8e51c8343d6e6d556d7b17417ce338c6ed2b0893869f1494410dfe6ba5105475"
bottle do
sha256 "596bdc0782cc04c56238e02ad0ead4d3934e76ab3d9a4e5cae7564cf5d75d424" => :el_capitan
@@ -22,7 +22,7 @@ def install
args = []
args << "--prefix=#{prefix}"
args << phpconfig
args << "--with-gmagick=#{Formula['graphicsmagick'].opt_prefix}"
args << "--with-gmagick=#{Formula["graphicsmagick"].opt_prefix}"
safe_phpize
system "./configure", *args
@@ -2,10 +2,10 @@
class Php53Graphdat < AbstractPhp53Extension
init
homepage 'http://www.graphdat.com/'
url 'https://pecl.php.net/get/graphdat-1.0.3.tgz'
sha256 '6b436c1f3f37d4d701f970a5d868e91711406b4b55bd78f79de916d21f8fb799'
head 'https://github.com/alphashack/graphdat-sdk-php.git'
homepage "http://www.graphdat.com/"
url "https://pecl.php.net/get/graphdat-1.0.3.tgz"
sha256 "6b436c1f3f37d4d701f970a5d868e91711406b4b55bd78f79de916d21f8fb799"
head "https://github.com/alphashack/graphdat-sdk-php.git"
bottle do
cellar :any_skip_relocation
Oops, something went wrong.

0 comments on commit 744da4a

Please sign in to comment.