Commit Graph

17883 Commits

Author SHA1 Message Date
feefc08c56 Fix test - endcolums are exclusive now 2020-08-06 12:43:34 +02:00
494b34f6d7 Update pmd-dist integration test for openjdk8 2020-08-06 12:39:37 +02:00
63af9c14c0 Cleanup pmd-dist profile 2020-08-06 11:51:38 +02:00
483c8796be Merge branch 'master' into pmd/7.0.x 2020-08-06 11:43:08 +02:00
b01dc8371b [core] Backporting fixes from pmd7
LanguageFactory and LanguageRegistry are more
robust in case a single language can't
be loaded.
2020-08-06 11:29:05 +02:00
0a7d3ff922 Merge branch 'pr-2690'
[core] Fix java7 compatibility #2690
2020-08-06 10:25:48 +02:00
420e3cb11c Merge branch 'pr-2691'
[core] Duplicate warning for missing language attribute #2691
2020-08-06 10:23:49 +02:00
c554aceba6 Merge branch 'master' into 7.0.x 2020-08-03 23:06:21 +02:00
b273774ea7 Merge branch 'kotlin-license-headers' into master 2020-08-03 23:00:17 +02:00
942ec01e8f Merge branch 'master' into kotlin-license-headers 2020-08-03 23:00:08 +02:00
7833d6c35f [doc] Fix release notes jdoc typo for XmlXPathRule 2020-08-03 20:47:20 +02:00
621e6ac052 Merge branch 'pr-2680'
[core] Deprecate report methods #2680
2020-08-03 20:46:37 +02:00
0f4b11873c [doc] Update release notes, fixes #1962 2020-08-03 20:46:29 +02:00
709ec484c6 Merge branch 'master' into deprecate-report-methods 2020-08-03 13:26:49 +02:00
1080d123c6 Merge branch 'master' into deprecate-report-methods 2020-08-03 13:23:17 +02:00
66efc90cb3 PR comments 2020-08-03 13:20:51 +02:00
19918c6c51 [doc] Update release notes, fixes #2647 2020-08-02 17:54:18 +02:00
8782eaeb1a Merge branch 'pr-2681'
[core] Deprecate DFA #2681
2020-08-02 17:04:44 +02:00
dafacf3d78 [doc] Use rule tags 2020-08-02 17:02:12 +02:00
21d3bfc0c5 Merge branch 'pr-2676'
[core] Deprecate RuleContext attributes #2676
2020-08-02 16:56:38 +02:00
40f954f81a Merge branch 'pr-2675'
[core] Deprecate parser options #2675
2020-08-02 16:53:24 +02:00
eb219916dc [doc] Update release notes 2020-08-02 16:50:04 +02:00
54637c60ec [core] Remove dependency to commons text, it is actually not needed
Escaping in CDATA section is not necessary.
2020-08-02 12:28:21 +02:00
6024484539 [doc] Update release notes, refs #2690 2020-08-01 18:17:43 +02:00
4cf9f5904a [core] Fix java7 compatibility
* Scala also requires java8 and it failed indirectly via a
  ServiceConfigurationError while discovering the language.
  Scala's dependencies require java8.
* Downgrade JCommander for java7 compatibility
* Downgrade commons-text for java7 compatibility
* Add integration test
2020-08-01 17:53:45 +02:00
1c6bd4e715 Move common config to parent pom 2020-07-31 22:43:52 +02:00
acf58f1887 Check for license headers in kotlin source files 2020-07-31 20:26:27 +02:00
df5d3d2afd Only warn if warnDeprecated 2020-07-31 17:49:05 +02:00
76aec10b8a Merge branch 'master' into 7.0.x 2020-07-31 16:03:39 +02:00
fc99e92a7e [ci] When releasing, wait for maven central sync 2020-07-31 14:11:30 +02:00
58d92add5f Update gems 2020-07-31 14:08:28 +02:00
8a7ec4b4e3 [ci] Avoid bundle warnings about --path 2020-07-31 14:08:20 +02:00
f975ebf7b3 [java] AvoidReassigningCatchVariables: fix missing lang attr, add to quickstart 2020-07-31 12:34:50 +02:00
91579173fd [java] Formatting of rule doc of AvoidReassigningCatchVariables 2020-07-31 11:12:57 +02:00
9b6dcfef3a Merge branch 'pr-2682'
[java] New Rule: AvoidReassigningCatchVariables #2682
2020-07-31 11:00:18 +02:00
c447319fbe [doc] Update release notes and new rules
Fixes #2471
Refs #2682
2020-07-31 10:59:00 +02:00
207d9c544c Merge branch 'pr-2679'
[java] InvalidLogMessageFormatRule throws IndexOutOfBoundsException when only logging exception message #2679
2020-07-31 10:52:56 +02:00
ab044f2c32 [doc] Update release notes, fixes #2431, refs #2679 2020-07-31 10:52:10 +02:00
c50f36e2ce Merge branch 'pr-2678'
[java] AvoidCatchingThrowable can not detect the case: catch (java.lang.Throwable t) #2678
2020-07-31 10:37:34 +02:00
df2e5bfc67 [doc] Update release notes, refs #2678, fixes #2439 2020-07-31 10:36:13 +02:00
d8642de069 Merge branch 'pr-2670'
[java] UnusedAssignment false positive with leaking this in constructor #2670
2020-07-30 21:46:55 +02:00
6485852861 [doc] Update release notes, fixes #2668 2020-07-30 21:46:10 +02:00
c8bc39a96c Fix compilation 2020-07-30 12:48:29 +02:00
384dd20319 Merge branch 'master' into pmd/7.0.x 2020-07-30 11:51:53 +02:00
a5eb60243d [java] Deprecate ASTThrowStatement#getFirstClassOrInterfaceTypeImage()
Refs #2665
2020-07-30 11:37:29 +02:00
fc44dba1df Merge branch 'pr-2664' into pmd/7.0.x
[core] Bug with node stream drop #2664
2020-07-30 11:00:25 +02:00
5bff6ac52e Merge branch 'pr-2657'
[lang-test] Upgrade kotlintest to Kotest #2657
2020-07-30 10:31:43 +02:00
b5315f556c [doc] Update release notes, fixes #2653 2020-07-30 10:30:53 +02:00
eb683569af Merge branch 'pr-2617'
[core] Deprecate missing language attribute on rule definition #2617
2020-07-30 10:19:03 +02:00
e663d5dd9b [doc] Update release notes, fixes #724 2020-07-30 10:18:18 +02:00