diff --git a/Formula/php-code-sniffer.rb b/Formula/php-code-sniffer.rb index 8982f84a68a..ca6531df47f 100644 --- a/Formula/php-code-sniffer.rb +++ b/Formula/php-code-sniffer.rb @@ -1,18 +1,19 @@ class PhpCodeSniffer < Formula desc "Check coding standards in PHP, JavaScript and CSS" homepage "https://github.com/squizlabs/PHP_CodeSniffer/" - url "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.6.0/phpcs.phar" - sha256 "3f7e099bd4b03681e12f96582ce0d76e065213ba15a3b1c22d79349e213ab169" + url "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.6.1/phpcs.phar" + sha256 "d0ce68aa469aff7e86935c6156a505c4d6dc90adcf2928d695d8331722ce706b" license "BSD-3-Clause" - revision 1 bottle do sha256 cellar: :any_skip_relocation, all: "25ce66947a536c9a0901e068382f4e8cbb05c1515ff5258260be2869f9ae7500" end + uses_from_macos "php" + resource "phpcbf.phar" do - url "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.6.0/phpcbf.phar" - sha256 "e19755c44800f955cd4d234657f90ead1ecb08c4957528fcad6424526b0c8b13" + url "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.6.1/phpcbf.phar" + sha256 "4fd260dd0eb4beadd6c68ae12a23e9adb15e155dfa787c9e6ba7104d3fc01471" end def install