summaryrefslogtreecommitdiff
path: root/homebrew/phpcodesniffer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/phpcodesniffer')
-rw-r--r--homebrew/phpcodesniffer/.beer22
-rw-r--r--homebrew/phpcodesniffer/.make.sh-auto3
-rw-r--r--homebrew/phpcodesniffer/_metadata/description1
-rw-r--r--homebrew/phpcodesniffer/_metadata/homepage1
-rw-r--r--homebrew/phpcodesniffer/_metadata/name1
-rw-r--r--homebrew/phpcodesniffer/_metadata/version1
-rwxr-xr-xhomebrew/phpcodesniffer/download.sh1
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/phpcodesniffer/.beer b/homebrew/phpcodesniffer/.beer
new file mode 100644
index 000000000..b2ba27f95
--- /dev/null
+++ b/homebrew/phpcodesniffer/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "PhpCodeSniffer",
+ "description": "Check coding standards in PHP, JavaScript and CSS",
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcs.phar",
+ "mirror": null,
+ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer/",
+ "depends": [],
+ "resource": [
+ {
+ "name": "phpcbf.phar",
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcbf.phar"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.install \"phpcs.phar\" => \"phpcs\"",
+ "resource(\"phpcbf.phar\").stage { bin.install \"phpcbf.phar\" => \"phpcbf\" }"
+ ],
+ "version": "3.4.2",
+ "file": "php-code-sniffer.rb"
+} \ No newline at end of file
diff --git a/homebrew/phpcodesniffer/.make.sh-auto b/homebrew/phpcodesniffer/.make.sh-auto
new file mode 100644
index 000000000..f3986966b
--- /dev/null
+++ b/homebrew/phpcodesniffer/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+bin.install "phpcs.phar" => "phpcs"
+resource("phpcbf.phar").stage { bin.install "phpcbf.phar" => "phpcbf" }
diff --git a/homebrew/phpcodesniffer/_metadata/description b/homebrew/phpcodesniffer/_metadata/description
new file mode 100644
index 000000000..6a0737e07
--- /dev/null
+++ b/homebrew/phpcodesniffer/_metadata/description
@@ -0,0 +1 @@
+Check coding standards in PHP, JavaScript and CSS
diff --git a/homebrew/phpcodesniffer/_metadata/homepage b/homebrew/phpcodesniffer/_metadata/homepage
new file mode 100644
index 000000000..611977b59
--- /dev/null
+++ b/homebrew/phpcodesniffer/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/squizlabs/PHP_CodeSniffer/
diff --git a/homebrew/phpcodesniffer/_metadata/name b/homebrew/phpcodesniffer/_metadata/name
new file mode 100644
index 000000000..d13b59172
--- /dev/null
+++ b/homebrew/phpcodesniffer/_metadata/name
@@ -0,0 +1 @@
+PhpCodeSniffer
diff --git a/homebrew/phpcodesniffer/_metadata/version b/homebrew/phpcodesniffer/_metadata/version
new file mode 100644
index 000000000..4d9d11cf5
--- /dev/null
+++ b/homebrew/phpcodesniffer/_metadata/version
@@ -0,0 +1 @@
+3.4.2
diff --git a/homebrew/phpcodesniffer/download.sh b/homebrew/phpcodesniffer/download.sh
new file mode 100755
index 000000000..bcfe98b2e
--- /dev/null
+++ b/homebrew/phpcodesniffer/download.sh
@@ -0,0 +1 @@
+wget https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcs.phar \ No newline at end of file