Skip to content

Commit cd9b300

Browse files
authored
Merge pull request Homebrew#227274 from Homebrew/php-code-sniffer-livecheck
php-code-sniffer 3.13.2
2 parents 0fd0414 + b39a678 commit cd9b300

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Formula/p/php-code-sniffer.rb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
class PhpCodeSniffer < Formula
22
desc "Check coding standards in PHP, JavaScript and CSS"
33
homepage "https://github.com/PHPCSStandards/PHP_CodeSniffer"
4-
url "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/3.13.1/phpcs.phar"
5-
sha256 "13660e14bf4c08460baae8f8be79c1162403704a6f4dec447a7287781389938f"
4+
url "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/3.13.2/phpcs.phar"
5+
sha256 "0c2bc9dbd070289f9a022f479fce6b7619eb081c62f8c92ed9e264c399a5773a"
66
license "BSD-3-Clause"
77

8+
livecheck do
9+
url :stable
10+
regex(/^v?(\d+(?:\.\d+)+)$/i)
11+
end
12+
813
bottle do
9-
sha256 cellar: :any_skip_relocation, all: "51853b80992256aebc14e93a4498c7d07a144ba339c575df1d052197ffc19fa8"
14+
sha256 cellar: :any_skip_relocation, all: "a4a7a187b3e8ddcd4ca46f667b87def02da17d4bdcb811d3deff87b691c29f19"
1015
end
1116

1217
depends_on "php"
1318

1419
resource "phpcbf.phar" do
15-
url "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/3.13.1/phpcbf.phar"
16-
sha256 "0d0184c2dd99505f77752d3c337c13ef5c3076dc11bb7303106b9d2263915fb0"
20+
url "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/3.13.2/phpcbf.phar"
21+
sha256 "f98325b0e3ec71c949143ac416311ec63706e7e8220843700ad2bf0e58b5a401"
1722

1823
livecheck do
1924
formula :parent

0 commit comments

Comments
 (0)