5144 Commits

Author SHA1 Message Date
Andreas Dangel
773f792dd6
[java] Fix #5162 SingularField FP with synchronized block (#5178)
Merge pull request #5178 from oowekyala:issue5162-singularfield-synchronized
2024-08-29 13:05:50 +02:00
Andreas Dangel
d7f564782a
[doc] Update release notes (#5162, #5178) 2024-08-29 13:04:41 +02:00
Andreas Dangel
610f937bc4
[java] Update AvoidSynchronizedAtMethodLevel message to mention ReentrantLock, new rule AvoidSynchronizedStatement (#5175)
Merge pull request #5175 from chonton:ReentrantLock
2024-08-29 12:50:13 +02:00
Andreas Dangel
3c3be3c81d
[doc] Update release notes (#5175) 2024-08-29 12:48:14 +02:00
Andreas Dangel
a4cac6b74f
Update @chonton as a contributor 2024-08-29 12:46:30 +02:00
Andreas Dangel
d4779a135e
[doc] Update release notes (#5125) 2024-08-29 10:14:53 +02:00
Andreas Dangel
753dcca877
[doc] Update contributors
- Add @jbisotti as a contributor
- Add @soloturn as a contributor
- Add @schosin as a contributor
2024-08-29 09:58:16 +02:00
Andreas Dangel
af1929318b
[doc] Update release notes 2024-08-29 09:30:40 +02:00
Andreas Dangel
40688ae06d
[java] Revamp GuardLogStatementRule to allow var, field and array accesses (#5169)
Merge pull request #5169 from Monits:issue-5151
2024-08-29 09:25:59 +02:00
Andreas Dangel
93bfe7df0f
Merge branch 'master' into issue-5062-support-java-23 2024-08-27 20:09:09 +02:00
Andreas Dangel
d7d8c9cb29
[java] Rename ASTImportDeclaration#isModuleImport 2024-08-27 19:58:07 +02:00
Andreas Dangel
cd33eb621e
Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/64
Fixes CVE-2024-43380
Fixes https://github.com/advisories/GHSA-2m96-52r3-2f3g
Fixes https://github.com/pmd/pmd/security/dependabot/65
Fixes https://github.com/pmd/pmd/security/dependabot/66
Fixes CVE-2024-43398
Fixes https://github.com/advisories/GHSA-vmwr-mc7x-5vc3
2024-08-27 19:16:38 +02:00
Andreas Dangel
77bf2b1616
[doc] Update release notes (#5167) 2024-08-27 19:13:56 +02:00
Juan Martín Sotuyo Dodero
2f118d0d46 Update changelog, refs #4731 2024-08-24 23:46:33 -03:00
Juan Martín Sotuyo Dodero
45618c0e13
Merge branch 'master' into issue-5151 2024-08-24 18:20:38 -03:00
Juan Martín Sotuyo Dodero
be47aab265 Update changelog, refs #5167 2024-08-24 18:18:38 -03:00
Juan Martín Sotuyo Dodero
1c274fdda0 Update changelog, refs #3602 2024-08-24 00:51:15 -03:00
Juan Martín Sotuyo Dodero
8ecc21c06f
Merge branch 'master' into issue-5151 2024-08-24 00:14:55 -03:00
Juan Martín Sotuyo Dodero
218222524f Update changelog, refs #5145 2024-08-23 14:36:12 -03:00
Juan Martín Sotuyo Dodero
15b006a52f Update changelog, refs #5153 2024-08-18 19:41:56 -03:00
Juan Martín Sotuyo Dodero
33e7e71bfa Update changelog, refs #5152 2024-08-18 19:30:34 -03:00
Juan Martín Sotuyo Dodero
0837be674e Update changelog, refs #5151 2024-08-18 19:24:46 -03:00
dependabot[bot]
2192256b5a
Bump jekyll and github-pages (#5165)
Bumps the all-gems group with 1 update in the /docs directory: [jekyll](https://github.com/jekyll/jekyll).


Updates `jekyll` from 3.9.5 to 3.10.0
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v3.9.5...v3.10.0)

Updates `github-pages` from 231 to 232
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v231...v232)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-gems
- dependency-name: github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-gems
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 12:54:41 +02:00
Andreas Dangel
21d499d5ef
[doc] Release Notes for Java 23 Support (#5062)
Also add some @since tags to new API methods
2024-08-01 11:53:04 +02:00
Andreas Dangel
10681cd6a8
[java] Remove version 21-preview 2024-08-01 10:28:29 +02:00
Andreas Dangel
568314bb89
[java] Add new language version 23 and 23-preview 2024-08-01 10:15:09 +02:00
Andreas Dangel
3735fd145b
[apex] Fix parsing of triggers with declarations
Only the grandchildren of a trigger block were ending up in the tree,
but the direct children of triggerBlock were missing, e.g.
ForLoopStatement. This caused OperationWithHighCostInLoop to not
find the loop anymore in triggers.

This will probably fix other false negatives in triggers in
other rules as well.

Fixes #5139
2024-07-27 20:17:25 +02:00
Juan Martín Sotuyo Dodero
98e20a0feb
Merge pull request #5135 from adangel/issue-5132-plsql-tomkytesdespair
[plsql] Fix TomKytesDespair for more complex exception handlers
2024-07-26 08:11:15 -03:00
Juan Martín Sotuyo Dodero
590ae705c3
Merge pull request #5100 from adangel/enable-dependabot
Enable Dependabot
2024-07-26 08:10:15 -03:00
Andreas Dangel
f1f376d248
Deprecate generated parser implementations 2024-07-26 12:02:31 +02:00
Andreas Dangel
44d25c41e1
[plsql] Fix TomKytesDespair for more complex exception handlers
Fixes #5132
2024-07-26 12:01:21 +02:00
Andreas Dangel
dbe5624a9e
[javascript] Simplify AvoidConsoleStatements
Now any usage of console is flagged.
2024-07-26 11:55:02 +02:00
Andreas Dangel
8b1da5d651
Add @dschach as a contributor 2024-07-26 11:53:27 +02:00
Andreas Dangel
838705c8da
[javascript] New rule AvoidConsoleStatements
Fixes #5105
2024-07-26 11:51:44 +02:00
Andreas Dangel
210e3e59ae
Enable dependabot
- dependabot runs weekly
- github-action and bundler are creating
  a single PR for updating
- also integrate automatic release notes
  generation
2024-07-26 11:48:20 +02:00
Andreas Dangel
ee800d326f
[release] Prepare next development version [skip ci] 2024-07-26 10:11:46 +02:00
Andreas Dangel
5992a2d53f
Prepare pmd release 7.4.0 2024-07-26 08:43:05 +02:00
Juan Martín Sotuyo Dodero
727279977d
Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
[plsql] Fix ScalarDataTypeName and CollectionTypeName parsing
2024-07-25 14:36:16 -03:00
Andreas Dangel
c194d3ed0d
Add @rbri as a contributor 2024-07-25 13:06:14 +02:00
Andreas Dangel
41393d4637
[java] AccessorClassGeneration - handle default ctors
Fixes #5106
2024-07-25 13:05:47 +02:00
Andreas Dangel
87b0c4f851
[plsql] Fix ScalarDataTypeName parsing
Fixes #5133
2024-07-25 11:17:49 +02:00
Andreas Dangel
5d39923c2f
[core] Don't log warning about skipLexicalErrors twice (#5102)
Merge pull request #5102 from adangel:issue-5091-skipLexicalErrors
2024-07-25 10:28:22 +02:00
Andreas Dangel
1464cbca38
[java] Fix UnusedPrivateMethod for @lombok.Builder.ObtainVia (#5111)
Merge pull request #5111 from kdebski85:issue-5110-lombok-obtain-via
2024-07-23 20:11:23 +02:00
Andreas Dangel
597f3f37dc
[doc] Update release notes (#5110, #5111) 2024-07-23 20:09:50 +02:00
Andreas Dangel
607684c6cb
Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/58
Fixes https://github.com/pmd/pmd/security/dependabot/59
Fixes CVE-2024-39908
Fixes https://github.com/advisories/GHSA-4xqq-m2hx-25v8
2024-07-23 19:36:53 +02:00
Juan Martín Sotuyo Dodero
b8a5793c26
Merge pull request #5127 from adangel/issue-2367-js-rename-inaccuratenumericliteral
[javascript] Rename rule InaccurateNumericLiteral
2024-07-19 12:16:51 -03:00
Andreas Dangel
bb08255aab
[plsql] Fixed issue with missing optional table alias in MERGE usage (#5121)
Merge pull request #5121 from duursma:merge-fix
2024-07-19 16:23:36 +02:00
Andreas Dangel
f689822d19
[doc] Update release notes (#5121)
Refs #5086
2024-07-19 16:22:30 +02:00
Andreas Dangel
5fce65dbe1
[javascript] Rename rule InaccurateNumericLiteral
Fixes #2367
2024-07-19 15:54:28 +02:00
Andreas Dangel
01755015b7
Merge remote-tracking branch 'origin/master' 2024-07-19 15:17:39 +02:00
Andreas Dangel
4d2034ef0f
[java] FP for UnusedPrivateMethod with Jakarta @PostConstruct/PreDestroy annotations (#5118)
Merge pull request #5118 from kdebski85:issue-5117-unused-private-method-jakarta
2024-07-19 14:48:03 +02:00
Andreas Dangel
f128bd7162
[doc] Update release notes (#5118, #5117) 2024-07-19 14:46:11 +02:00
Andreas Dangel
98710abade
[java] Exclude constructor with lombok.Builder for MissingStaticMethodInNonInstantiatableClass (#5109)
Merge pull request #5109 from kdebski85:issue-5108-lombok-builder
2024-07-19 14:40:50 +02:00
Andreas Dangel
8462c75077
[doc] Update release notes (#5109, #1488) 2024-07-19 14:39:17 +02:00
Andreas Dangel
abe6a5fe4b
Add @tomasvts as a contributor 2024-07-19 14:05:39 +02:00
Andreas Dangel
b176ca72c1
[javascript] Correctly determine double inaccuracy
Fixes #4716
2024-07-19 14:05:32 +02:00
Andreas Dangel
8c7a5d0664
[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
Fixes #5120
2024-07-19 10:17:27 +02:00
Andreas Dangel
14238ee93e
[doc] Fix release notes 2024-07-18 16:00:48 +02:00
Andreas Dangel
404a2ea77f
[doc] Fix release notes 2024-07-18 12:37:32 +02:00
Andreas Dangel
669f883a99
[apex] Consider VariableDeclarationGroup in ApexTreeBuilder (#5099)
Merge pull request #5099 from adangel:apex-issue-5094
2024-07-18 12:10:21 +02:00
Andreas Dangel
090bd1208b
[apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check (#5098)
Merge pull request #5098 from adangel:apex-issue-5095
2024-07-18 12:06:20 +02:00
Andreas Dangel
cf4df4bf13
[apex] New Rule: AvoidNonRestrictiveQueries (#5089)
Merge pull request #5089 from adangel:apex-issue-635-avoid-non-restrictive-queries
2024-07-18 12:02:21 +02:00
Andreas Dangel
4ec05d0aa4
[doc] Update release notes (#5048, #4800) 2024-07-18 11:29:41 +02:00
Andreas Dangel
96b1e890e1
Add @justinstroudbah as a contributor 2024-07-18 11:26:06 +02:00
Andreas Dangel
fb6638c40d
[doc] Update release notes (#635)
Fixes #635
2024-07-12 09:44:25 +02:00
Andreas Dangel
f62d038a8d
[doc] Update maven.md - Typo fixed for maven target (#5107)
Merge pull request #5107 from karthikaiyasamy:patch-1
2024-07-11 11:05:15 +02:00
Andreas Dangel
f574b0d6fe
[doc] Update release notes (#5107) 2024-07-11 11:03:25 +02:00
Andreas Dangel
a3bcb47068
Add @karthikaiyasamy as a contributor 2024-07-11 11:03:15 +02:00
Andreas Dangel
8feb1ef80d
[doc] Update release notes (#5088) 2024-07-11 10:32:42 +02:00
Andreas Dangel
a2a10b4403
[doc] Update release notes (#5087) 2024-07-11 10:16:47 +02:00
Andreas Dangel
dcb56dc04f
[doc] Update release notes (#5086) 2024-07-11 09:16:46 +02:00
Andreas Dangel
b5127b3c7b
Add @duursma as a contributor 2024-07-11 09:16:19 +02:00
karthikaiyasamy
dab088ba68
Update maven.md - Typo fixed for maven target
It should be "mvn compile" not "mvn complile".
2024-07-10 09:16:31 -07:00
Andreas Dangel
9bf476ac4f
[core] Don't log warning about skipLexicalErrors twice
Fixes #5091
2024-07-05 12:07:28 +02:00
Andreas Dangel
6714c8bef2
Add @ethan-sargent as a contributor 2024-07-04 12:36:27 +02:00
Andreas Dangel
dfdb63ba5b
[apex] Consider VariableDeclarationGroup in ApexTreeBuilder
- Throw parse exception, when a node is not handled
- Use ApexTreeDumpTest for SwitchStatements.cls

Fixes #5094
2024-07-04 12:36:05 +02:00
Andreas Dangel
68300298ef
Add @gearsethenry as a contributor 2024-07-04 12:13:13 +02:00
Andreas Dangel
d0928cc185
[apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check
The annotation parameter name "seeAllData" is now compared
case-insensitive.

Fixes #5095
2024-07-04 11:48:11 +02:00
Andreas Dangel
d952a10790
[release] Prepare next development version [skip ci] 2024-06-28 11:27:41 +02:00
Andreas Dangel
2d07aa7561
Prepare pmd release 7.3.0 2024-06-28 10:42:31 +02:00
Andreas Dangel
93e3020a1d
[doc] Update all-contributors
- Add @stephen-carter-at-sf as a contributor
- Add @Meijuh as a contributor
- Add @codefriar as a contributor
- Add @szymanp23 as a contributor
- Add @johnzhao9 as a contributor
2024-06-28 10:35:57 +02:00
Andreas Dangel
52b2b52c5c
[plsql,tsql] Fix CPD being case sensitive in PLSQL and TSQL (#4943)
Merge pull request #4943 from oowekyala:issue4396-cpd-case-sensitive
2024-06-28 08:30:14 +02:00
Andreas Dangel
a9d43d0ad0
[doc] Update release notes (#5090, #5066) 2024-06-28 08:27:34 +02:00
Andreas Dangel
12b9ecefb1
[doc] Update release notes (#4396) 2024-06-27 21:18:04 +02:00
Andreas Dangel
06ba547811
[java] Make impl of ASTLiteral#getLiteralText() public (#5078)
Merge pull request #5078 from adangel:issue-4885-method-should-be-accessible
2024-06-27 14:49:13 +02:00
Andreas Dangel
09aa71aed5
Remove pmd-compat6 (breaking change) (#5076)
Merge pull request #5076 from adangel:remove-compat6
2024-06-27 14:45:44 +02:00
Andreas Dangel
e93ca46b5a
[cli] Add exit code for processing errors (#4991)
Merge pull request #4991 from adangel:cli-exit-codes-processing-errors
2024-06-27 14:41:51 +02:00
Andreas Dangel
261d4d198c
[plsql] Support exception handlers in compound triggers (#5065)
Merge pull request #5065 from adangel:plsql-4270-trigger-declarations
2024-06-27 14:08:39 +02:00
Andreas Dangel
fbc5ddb103
[java] Add new rule UseEnumCollections (#5038)
Merge pull request #5038 from oowekyala:issue577-new-rule-use-enum-collections
2024-06-27 14:07:31 +02:00
Andreas Dangel
775baa0b74
[java] Implement record patterns and fix switch pattern scoping (#5051)
Merge pull request #5051 from oowekyala:java-implement-switch-bindings-and-record-pats
2024-06-27 14:06:31 +02:00
Andreas Dangel
cd41d70546
[apex] UnusedLocalVariable - support concat strings for binding vars (#5037)
Merge pull request #5037 from adangel:issue-5000-apex-unused-local-variable
2024-06-27 11:51:57 +02:00
Andreas Dangel
1680e94eea
[apex] Update summit-ast and apex-parser (#4977)
Merge pull request #4977 from adangel:apex-4922-typeof
2024-06-27 11:45:23 +02:00
Andreas Dangel
bc0b2c9763
Merge branch 'master' into pr-5038 2024-06-27 11:41:13 +02:00
Andreas Dangel
bf8e11d9b4
[doc] Update release notes (#577, #5038) 2024-06-27 11:40:18 +02:00
Andreas Dangel
c2a7c46ccd
Merge branch 'master' into pr-5051 2024-06-27 11:00:56 +02:00
Andreas Dangel
31b4e3745a
[doc] Update release notes (#5050, #5051) 2024-06-27 10:49:20 +02:00
Andreas Dangel
b5f6d4e68a
[core] Update report schema location to https://pmd.github.io/schema/report_2_0_0.xsd 2024-06-27 09:11:26 +02:00
Andreas Dangel
9430a27961
Merge branch 'master' into apex-4922-typeof 2024-06-24 21:18:46 +02:00
Andreas Dangel
33f9268cf7
[core] Provide a backwards compatible XMLOldRenderer as "xmlold" 2024-06-23 20:42:45 +02:00
Andreas Dangel
d76a38805b
[doc] Update to 7.3.0 2024-06-21 19:36:15 +02:00
Andreas Dangel
727fb1597d
Merge branch 'master' into cpd-report-processing-errors 2024-06-21 19:30:35 +02:00
Andreas Dangel
d285082709
Updated doc to mention 7.3.0 2024-06-21 19:23:55 +02:00
Andreas Dangel
724b3afe95
Merge branch 'master' into cli-exit-codes-processing-errors 2024-06-21 19:14:17 +02:00
Andreas Dangel
18c30415d0
[java] Make impl of ASTLiteral#getLiteralText() public
Fixes #4885
2024-06-20 15:26:21 +02:00
Juan Martín Sotuyo Dodero
923873fec8
Merge pull request #5075 from adangel/doc-release-schedule-support
[doc] Release schedule, version policies, support lifecycle
2024-06-20 10:11:23 -03:00
Andreas Dangel
5014bee7ba
[doc] Update gradle docs 2024-06-20 15:02:27 +02:00
Andreas Dangel
563ad76fe9
Remove pmd-compat6
It's already deprecated. It was intended to be used with
older versions of the maven-pmd-plugin, but since
maven-pmd-plugin 3.22.0, PMD 7 is supported directly and this
module is not needed anymore.
2024-06-20 14:36:22 +02:00
Andreas Dangel
dafa113fbc
[doc] Release schedule, version policies, support lifecycle 2024-06-20 12:10:42 +02:00
Andreas Dangel
0dd8fc791b
[java] Fix #5047 - type inference with enum #5052
Merge pull request #5052 from oowekyala:issue5047-inference-with-enum
2024-06-13 11:25:46 +02:00
Andreas Dangel
3c6190ecab
[doc] Update release notes (#5047) 2024-06-13 11:24:40 +02:00
Andreas Dangel
51bfb96414
Add @anuragagarwal561994 as a contributor 2024-06-13 11:24:23 +02:00
Andreas Dangel
7a57aeb4db
[plsql] Support exception handlers in compound triggers
- allow multiple exception handlers
- parse declarative section correctly in
  compound triggers
- CASE, CURSOR, DECLARE, EXECUTE, IF, PUBLIC, SQL are reserved words
  and cannot be used as an identifiers

Fixes #4270
2024-06-13 09:29:22 +02:00
Juan Martín Sotuyo Dodero
0afe6aec78
Merge branch 'master' into plsql-1934-merge-into 2024-06-07 23:12:57 -03:00
Juan Martín Sotuyo Dodero
40e9350649
Merge branch 'master' into plsql-1934-merge-into 2024-06-07 16:09:19 -03:00
Juan Martín Sotuyo Dodero
0d83a85857
Merge branch 'master' into plsql-2779-error-logging 2024-06-07 16:08:56 -03:00
Andreas Dangel
9d803282d9
[apex] Use case-insensitive lexer for CPD
This makes it consistent with how the ApexParser
reads the files. And the case-sensitive ANTLR
rules (e.g. for string literals) work that
way.

Fixes #5053
2024-06-07 19:24:26 +02:00
Andreas Dangel
d47ca10029
[plsql] Support Error Logging in INSERT, UPDATE, DELETE
Fixes #2779
2024-06-07 12:16:43 +02:00
Andreas Dangel
72bf5d07b4
[plsql] Support MERGE statement
Fixes #1934
2024-06-07 11:20:50 +02:00
Andreas Dangel
6595be09ac
[doc] Update release notes (#4922, #5055) 2024-06-06 16:28:45 +02:00
Andreas Dangel
8b96c0fe7e
[apex] Update summit-ast and apex-parser
Fixes #4922
2024-06-06 15:49:20 +02:00
Andreas Dangel
28c6c8e121
[release] Prepare next development version [skip ci] 2024-05-31 13:21:14 +02:00
Andreas Dangel
27a14cc61e
Prepare pmd release 7.2.0 2024-05-31 12:33:41 +02:00
Andreas Dangel
2a0cba7b91
[java] Improve LocalVariableCouldBeFinal (#5003)
Merge pull request #5003 from oowekyala:issue1619-localVariableCouldBeFinal-FP
2024-05-31 10:39:37 +02:00
Andreas Dangel
8a8402a0bd
[doc] Update release notes (#1619, #3122, #5003) 2024-05-31 10:37:05 +02:00
Andreas Dangel
3890b561a1
[java] Remove FPs in UnnecessaryBoxing (#5019)
Merge pull request #5019 from oowekyala:issue4903-unnecessaryboxing
2024-05-31 10:06:36 +02:00
Andreas Dangel
224f5b8303
[doc] Update release notes (#4903, #4924, #5019) 2024-05-31 09:59:35 +02:00
Andreas Dangel
a05faf9837
Merge branch 'master' into kotest-fixes 2024-05-31 09:48:46 +02:00
Andreas Dangel
f30b535f61
Update pmd-designer 7.2.0-SNAPSHOT 2024-05-23 18:20:08 +02:00
Andreas Dangel
3f5dc971e0
Add @pablogomez2197 as a contributor 2024-05-23 16:18:40 +02:00
Andreas Dangel
4d07d80c93
[apex] UnusedLocalVariable - support concat strings for binding vars
Fixes #5000
2024-05-23 16:13:45 +02:00
Juan Martín Sotuyo Dodero
b284ca6ec8 Merge branch 'pr-5035' 2024-05-23 09:47:04 -03:00
Juan Martín Sotuyo Dodero
b2f6c9a85a Update changelog, refs #5029 2024-05-23 09:46:43 -03:00
Andreas Dangel
d7025a65dc
[doc] Update all-contributors
- Add @bobalicious as a contributor
- Update @mluckam as a contributor
- Add @mdagcilar as a contributor
- Add @kesslerj as a contributor
- Add @Gold856 as a contributor
2024-05-23 11:32:46 +02:00
Andreas Dangel
a936852ba2
Add @cowwoc as a contributor 2024-05-23 11:25:32 +02:00
Andreas Dangel
f36e25dd04
Merge branch 'master' into pr-5004 2024-05-23 11:19:09 +02:00
Andreas Dangel
fe8920a4fc
[doc] Update release notes (#4954, #5028, #5004) 2024-05-23 10:25:06 +02:00
Andreas Dangel
9e72ee26ae
[java] Fix #4990 - Add attribute @PackageQualifier to ASTClassType
Merge pull request #5005 from oowekyala:issue4990-package-qualifier-attribute
2024-05-23 09:46:55 +02:00
Andreas Dangel
5bc0ab0403
[doc] Update release notes (#4990, #5005) 2024-05-23 09:45:08 +02:00
Andreas Dangel
ec30fe1b01
Update gems
- Bump nokogiri from 1.16.2 to 1.16.5
- Bump rexml from 3.2.6 to 3.2.8

Fixes https://github.com/pmd/pmd/security/dependabot/52
Fixes https://github.com/pmd/pmd/security/dependabot/53
Fixes https://github.com/advisories/GHSA-r95h-9x8f-r3f7
Fixes https://github.com/pmd/pmd/security/dependabot/56
Fixes https://github.com/pmd/pmd/security/dependabot/57
Fixes https://github.com/advisories/GHSA-vg3r-rm7w-2xgh
Fixes CVE-2024-35176
2024-05-23 08:43:31 +02:00
Clément Fournier
85c4f0f9ce
Merge branch 'master' into kotest-fixes 2024-05-21 15:58:20 +02:00
Clément Fournier
d005ed197f
Update release notes, ref #5020 2024-05-21 15:52:31 +02:00
Andreas Dangel
0fe477ec06
Fixups from PR review
- release notes: API Changes
- fix javadoc since tags
- improve messages in ant task for deprecated skipLexicalErrors
2024-05-20 09:25:06 +02:00
Andreas Dangel
10c78f26de
[cpd] Deprecate skipLexicalErrors 2024-05-17 16:20:23 +02:00
Andreas Dangel
b624b41673
[ant] Add new CPD parameter failOnError 2024-05-17 16:20:23 +02:00
Andreas Dangel
06efd65b16
[cli] Rename new parameter to be --no-fail-on-error 2024-05-17 16:19:58 +02:00
Andreas Dangel
2d9385f462
Merge branch 'master' into cli-exit-codes-processing-errors 2024-05-17 14:01:57 +02:00
Andreas Dangel
3be6df212c
[doc] Update release notes (#5009) 2024-05-17 10:51:06 +02:00
Juan Martín Sotuyo Dodero
88b8adbca7
Merge branch 'master' into issue2368 2024-05-14 09:28:38 -03:00
Juan Martín Sotuyo Dodero
3f6184300c Merge branch 'pr-5013' 2024-05-14 09:25:33 -03:00
Juan Martín Sotuyo Dodero
746f64f8e2 Update changelog, refs #4042 2024-05-14 09:25:16 -03:00
Juan Martín Sotuyo Dodero
4472521605 Update changelog, refs #5006 2024-05-14 09:21:35 -03:00
Clément Fournier
8f23cbb556
Update release notes 2024-05-13 17:25:43 +02:00
Juan Martín Sotuyo Dodero
bce7991d2d
Merge pull request #4994 from oowekyala/pr-4982-fixes
[java] Fix incompatible class bounds not checked during incorporation #4982  (second PR)
2024-05-09 14:42:17 -03:00
Clément Fournier
e43312789f
Merge branch 'master' into pr/4969 2024-05-07 15:09:24 +02:00
Clément Fournier
62cc3b1349
fix release notes 2024-05-06 12:30:58 +02:00
Andreas Dangel
199591bbd8
[doc] Update about PMD sections
Refs #4842
2024-05-03 19:51:16 +02:00
Andreas Dangel
facbdd402c
[doc] Update last_updated tags
[skip ci]
2024-05-03 12:53:40 +02:00
Andreas Dangel
3e5b152a2c
[doc] Update release notes (#4992)
[skip ci]
2024-05-03 12:51:43 +02:00
Andreas Dangel
b3cf149f67
[core] CPD: Include processing errors in XML report 2024-05-03 12:22:02 +02:00
Andreas Dangel
a63cfb8228
[doc] New exit code 5, --no-fail-on-processing-error
Fixes #2827
2024-05-03 10:28:46 +02:00
Juan Martín Sotuyo Dodero
722f25ba86
Merge branch 'master' into xpath-seq-attributes 2024-05-02 13:06:03 -03:00
Juan Martín Sotuyo Dodero
6fd230e7aa
Update docs/pages/release_notes.md
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-05-02 13:05:17 -03:00
Juan Martín Sotuyo Dodero
895cfbf266
Update docs/pages/release_notes.md
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-05-02 13:05:04 -03:00
Juan Martín Sotuyo Dodero
18c59b2891
Merge branch 'master' into issue-4980 2024-05-02 10:23:21 -03:00
Andreas Dangel
a2139be00b
[java] Fix impl of ASTVariableId::isResourceDeclaration / VariableId/@ResourceDeclaration (#4988)
Merge pull request #4988 from oowekyala:java-fix-isResourceDeclaration
2024-05-02 12:44:55 +02:00
Andreas Dangel
b6a933b4fc
[doc] Update release notes (#4988) 2024-05-02 12:43:53 +02:00
Andreas Dangel
435f0dc7b3
[java] Fix #4912 - grammar for TWR allows this expression (#4934)
Merge pull request #4934 from oowekyala:issue4912-java-grammar-fix
2024-05-02 11:39:38 +02:00
Andreas Dangel
b7a39e39e9
Apply suggestions from code review 2024-05-02 11:34:43 +02:00
Andreas Dangel
42ffb31ca0
[cpd] Fix CPD crashes about unicode escapes (#4983)
Merge pull request #4983 from oowekyala:cpd-fix-crashes
2024-05-02 11:13:33 +02:00
Andreas Dangel
5bb6ece01a
[doc] Update release notes (#4983) 2024-05-02 11:12:37 +02:00
Andreas Dangel
f64fa3ed07
[doc] Update release notes (#4973) 2024-05-02 10:21:09 +02:00
Andreas Dangel
22a31c938d
[core] Actually duplicate the whole current config for RuleSetLoader (#4981)
Merge pull request #4981 from Monits:issue-4978
2024-05-01 20:32:27 +02:00
Andreas Dangel
4993c629ec
[doc] Update release notes (#4985) 2024-05-01 20:10:36 +02:00
Clément Fournier
bca5c0ec09
Remove usages of getStableName
Fix #4930
Fix bug with symbol table in concise resources
2024-04-30 15:26:16 +02:00
Clément Fournier
dbfabda735
Merge branch 'master' into issue4912-java-grammar-fix 2024-04-30 14:41:44 +02:00
Juan Martín Sotuyo Dodero
af3346455f Merge branch 'pr-4984' 2024-04-29 13:34:24 -03:00
Juan Martín Sotuyo Dodero
fa176cf316 Update changelog, refs 4852 2024-04-29 13:34:06 -03:00
Juan Martín Sotuyo Dodero
66606648a2
Merge branch 'master' into xpath-seq-attributes 2024-04-28 17:39:08 +02:00
Juan Martín Sotuyo Dodero
11e6cc53c5 Update docs on writing xpath rules 2024-04-28 12:23:56 -03:00
Juan Martín Sotuyo Dodero
56f12d41ea
Update docs/pages/release_notes.md
Co-authored-by: Clément Fournier <clem.fournier@proton.me>
2024-04-28 12:19:32 -03:00
Juan Martín Sotuyo Dodero
f24635b55c
Merge branch 'master' into issue-4532 2024-04-28 05:15:50 +02:00
Juan Martín Sotuyo Dodero
a77519399e Update changelog, refs #4980 2024-04-27 21:23:01 -03:00
Juan Martín Sotuyo Dodero
882e9ccd2d update changelog, refs #4978 2024-04-27 19:46:56 -03:00
Juan Martín Sotuyo Dodero
8756bf2dbd
Merge pull request #4976 from adangel/fix-release-script
Fix release scripts
2024-04-28 00:34:28 +02:00
Juan Martín Sotuyo Dodero
1cfbaeb737 Update changelog, refs #4278 2024-04-26 16:25:21 -03:00
Juan Martín Sotuyo Dodero
fd14796791 Update changelog, refs #4975 2024-04-26 16:01:12 -03:00
Andreas Dangel
629e3f8b83
[doc] Update releasing documentation 2024-04-26 15:39:46 +02:00
Andreas Dangel
6a1c7de03c
[doc] Restore release_notes_pmd7.md
Was accidentally removed by 339e1d4f436a27f6bb7d1891d835d3f8b4d173d0
2024-04-26 12:42:04 +02:00
Andreas Dangel
339e1d4f43
[release] Prepare next development version [skip ci] 2024-04-26 09:04:20 +02:00
Andreas Dangel
7d0dfa0b13
Prepare pmd release 7.1.0 2024-04-26 08:14:38 +02:00
Andreas Dangel
d0870f3aa3
[java] New rule ConfusingArgumentToVarargsMethod (#4971)
Merge pull request #4971 from oowekyala:new-rule-UnnecessaryVarargsArrayCreation
2024-04-25 11:40:35 +02:00
Andreas Dangel
a154f783bd
[doc] Update all-contributors
Add @BurovnikovEvgeniy as a contributor
Add @kohlschuetter as a contributor
Add @Luro02 as a contributor
Add @rs23 as a contributor
Add @andygoossens as a contributor
Add @mitchspano as a contributor
Add @mfvanek as a contributor
Add @VishV-Android as a contributor
2024-04-25 10:04:53 +02:00
Andreas Dangel
16df3dd446
[core] Make CPD report maximal, non-repeating and non-overlapping duplicates (#4966)
Merge pull request #4966 from Monits:issue-2438
Fixes #2438
2024-04-25 09:20:16 +02:00
Andreas Dangel
202943e0cf
[java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switch statement (#4963)
Merge pull request #4963 from oowekyala:issue4948-switch-fallthrough
2024-04-25 09:18:59 +02:00
Andreas Dangel
6f0de09ceb
[doc] Update release notes (#4963, #4948) 2024-04-25 09:18:08 +02:00
Clément Fournier
3765e45502
Merge branch 'master' into pr/4967 2024-04-23 10:31:25 +02:00
Clément Fournier
52c4f435a0
Split UnnecessaryVarargsArrayCreation into two rules
The new errorprone rule catches more cases (it doesn't
only care about array allocations).
2024-04-21 14:10:17 +02:00
Clément Fournier
3f667eab04
Add rule to quickstart ruleset 2024-04-20 13:04:56 +02:00
Clément Fournier
132a4629b6
Merge branch 'master' into new-rule-lambdacanbemethodref 2024-04-20 12:48:44 +02:00
Andreas Dangel
e01074f244
[doc] Add small logo variant 2024-04-19 16:41:54 +02:00