diff --git a/Formula/pmd.rb b/Formula/pmd.rb
index f2dc9744f1..9b4ad92511 100644
--- a/Formula/pmd.rb
+++ b/Formula/pmd.rb
@@ -1,8 +1,8 @@
class Pmd < Formula
desc "Source code analyzer for Java, JavaScript, and more"
homepage "https://pmd.github.io"
- url "https://github.com/pmd/pmd/releases/download/pmd_releases/5.5.6/pmd-src-5.5.6.zip"
- sha256 "39b9476ae45f56505548f2aca54f88a59cbd663e3325eb2c88e2963cc83dc5dd"
+ url "https://github.com/pmd/pmd/releases/download/pmd_releases/5.6.0/pmd-src-5.6.0.zip"
+ sha256 "d93abae063ed99889dc4cc38adfe86bb216160e1e4281bcf0b278e13c527f2ad"
bottle do
cellar :any_skip_relocation
@@ -14,9 +14,6 @@ class Pmd < Formula
depends_on :java => "1.8+"
depends_on "maven" => :build
- # Fix doclint errors; see https://sourceforge.net/p/pmd/bugs/1516/
- patch :DATA
-
def install
java_user_home = buildpath/"java_user_home"
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{buildpath}/java_user_home"
@@ -81,17 +78,3 @@ class Pmd < Formula
"rulesets/java/basic.xml", "-f", "textcolor", "-l", "java"
end
end
-
-__END__
-diff --git a/pom.xml b/pom.xml
-index 66bd239..8fb40c5 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -277,6 +277,7 @@
- ${config.basedir}/src/main/resources/rulesets/internal/dogfood.xml
- ${config.basedir}/etc/checkstyle-config.xml
- ${config.basedir}/etc/checkstyle-suppressions.xml
-+ -Xdoclint:none
-
-
-