28443 Commits

Author SHA1 Message Date
Andreas Dangel
5261a6d60e [doc] Update contributors
- Add @kratoon as a contributor
- Add @mattr9124 as a contributor
2024-09-27 09:35:58 +02:00
Andreas Dangel
ac8c873168 [apex] Support convertCurrency() in SOQL/SOSL (#5237)
Merge pull request #5237 from adangel:issue-5228-apex-convertCurrency
2024-09-27 09:03:32 +02:00
Andreas Dangel
c2445c7bb5 [doc] Documentation update for --show-suppressed flag (#5230)
Merge pull request #5230 from dschach:master
2024-09-27 09:02:35 +02:00
David Schach
03fba2443a [doc] Update @dschach as a contributor 2024-09-27 08:58:36 +02:00
David Schach
6f518c8304 [doc] Improve doc for --show-suppressed
- it's only supported for specific formats
- currently: xml, html, summaryhtml

Fixes #5229
2024-09-27 08:58:36 +02:00
Andreas Dangel
c84ffb8e0b [apex] Bump apex-parser from 4.2.0 to 4.3.0 2024-09-26 18:50:00 +02:00
Andreas Dangel
74f9d75897 [apex] Support convertCurrency() in SOQL/SOSL
Fixes #5228
2024-09-26 18:49:24 +02:00
Andreas Dangel
a2b5ae64a7 Bump build-tools from 27-SNAPSHOT to 27 2024-09-26 17:01:00 +02:00
dependabot[bot]
242b45a180 Bump webrick from 1.8.1 to 1.8.2 in /docs (#5233)
Bumps [webrick](https://github.com/ruby/webrick) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/ruby/webrick/releases)
- [Commits](https://github.com/ruby/webrick/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: webrick
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 16:36:16 +02:00
dependabot[bot]
083e296c1e Bump com.google.protobuf:protobuf-java from 3.25.3 to 3.25.5 (#5232)
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.3 to 3.25.5.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.25.3...v3.25.5)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 16:36:02 +02:00
Andreas Dangel
e4107ccaaa [doc] README: Fix PMD logo 2024-09-26 16:26:26 +02:00
Andreas Dangel
028444453d Change branch master to main (#5211)
Merge pull request #5211 from adangel:switch-to-main-branch
2024-09-26 15:54:55 +02:00
Andreas Dangel
29ed91795b [doc] README: Fix build status badge 2024-09-26 15:54:08 +02:00
Andreas Dangel
4930e98706 [java] Fix #5046 - FPs in LocalVariableCouldBeFinal (#5191)
Merge pull request #5191 from oowekyala:issue5046-localVariableCouldBeFinal-fp-catch
2024-09-26 15:21:51 +02:00
Andreas Dangel
7b5ef10093 [doc] Update release notes (#5046, #5191) 2024-09-26 15:20:28 +02:00
dependabot[bot]
1acaedc158 Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 (#5227)
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.10.1 to 2.11.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10.1...gson-parent-2.11.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 12:10:04 +02:00
dependabot[bot]
b03a46fa8c Bump rouge from 4.3.0 to 4.4.0 in the all-gems group across 1 directory (#5226)
Bumps the all-gems group with 1 update in the / directory: [rouge](https://github.com/rouge-ruby/rouge).


Updates `rouge` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rouge-ruby/rouge/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: rouge
  dependency-type: direct:development
  update-type: version-update:semver-minor
  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-09-26 12:08:39 +02:00
Andreas Dangel
ae080786bd [java] Fix #5068: Class incorrectly identified as non-instantiatable (#5224)
Merge pull request #5224 from lukasgraef:issue5068
2024-09-22 14:53:33 +02:00
Andreas Dangel
687f7f89e4 [doc] Update release notes (#5068, #5224) 2024-09-22 14:53:00 +02:00
Andreas Dangel
cd50d392d1 Add @SaschaRiemer as a contributor 2024-09-22 14:51:26 +02:00
Andreas Dangel
2bdeadb094 Add @lukasgraef as a contributor 2024-09-22 14:51:07 +02:00
lukasgraef
8ea3f32f5f [java] Fix #5068: Class incorrectly identified as non-instantiatable 2024-09-21 14:12:12 +02:00
Juan Martín Sotuyo Dodero
2c48dc0644 Merge pull request #5223 from adangel/issue-5222-overridden-property-values
[core] Fix RuleReference / RuleSetWriter handling of properties
2024-09-20 11:45:24 -03:00
Andreas Dangel
df1a6797c6 [core] RuleSetWriter - write property value as attribute 2024-09-20 16:10:51 +02:00
Andreas Dangel
802decbbcf [core] Fix RuleReference / RuleSetWriter handling of properties
RuleReference#getOverriddenPropertyDescriptors should behave
consistent to #getOverriddenPropertiesByPropertyDescriptor.
RuleSetWriter needs to make sure to
export only the values for properties
of rule references.

Fixes #5222
2024-09-20 15:14:06 +02:00
Andreas Dangel
9490dc0043 Add @imax-erik as a contributor 2024-09-19 17:27:19 +02:00
Andreas Dangel
909e86ca99 [apex] Verify nested subqueries work (#5218)
Fixes #5218
2024-09-19 17:27:13 +02:00
Andreas Dangel
36c1738135 [core] Sarif format: refer to schemastore.org (#5202)
Merge pull request #5202 from dschach:master
2024-09-19 17:19:53 +02:00
Andreas Dangel
d2d9ddff4a [doc] Update release notes (#5201, #5202) 2024-09-19 16:47:12 +02:00
Andreas Dangel
ac2e476e4c [doc] Update Sarif Json Schema location 2024-09-19 16:47:12 +02:00
Andreas Dangel
6e65c2b3ab Update @dschach as a contributor 2024-09-19 16:47:12 +02:00
David Schach
dd6e64a94d fix(sarif): refer to existent $schema location 2024-09-19 16:46:08 +02:00
Andreas Dangel
dff06c9b4d Update release notes 2024-09-19 11:22:43 +02:00
Juan Martín Sotuyo Dodero
e18336a581 Merge pull request #5216 from pmd/dependabot/maven/com.github.siom79.japicmp-japicmp-maven-plugin-0.23.0
Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.20.0 to 0.23.0
2024-09-17 15:40:31 -03:00
dependabot[bot]
4ab926209e Bump com.github.siom79.japicmp:japicmp-maven-plugin
Bumps [com.github.siom79.japicmp:japicmp-maven-plugin](https://github.com/siom79/japicmp) from 0.20.0 to 0.23.0.
- [Release notes](https://github.com/siom79/japicmp/releases)
- [Changelog](https://github.com/siom79/japicmp/blob/master/release.py)
- [Commits](https://github.com/siom79/japicmp/compare/japicmp-base-0.20.0...japicmp-base-0.23.0)

---
updated-dependencies:
- dependency-name: com.github.siom79.japicmp:japicmp-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 03:56:04 +00:00
Juan Martín Sotuyo Dodero
5f42a45bbe Merge pull request #5212 from Monits/issue-5207
[java] Adjust signature matching in CheckSkipResultRule
2024-09-14 14:31:26 -03:00
Juan Martín Sotuyo Dodero
8a9aec831d Update changelog, refs #5207 2024-09-14 00:35:38 -03:00
Juan Martín Sotuyo Dodero
59c88e9bb0 Adjust skip signature to fix #5207 2024-09-14 00:34:23 -03:00
Juan Martín Sotuyo Dodero
31efceae4d Add failing test case for #5207 2024-09-14 00:34:10 -03:00
Andreas Dangel
0889e3d9dc Fix release notes 2024-09-13 10:37:51 +02:00
Andreas Dangel
47f204cb19 Fix unit test 2024-09-13 10:37:37 +02:00
Andreas Dangel
91f17838d4 Change branch master to main
- Update documentation
- Update release scripts
- Update rule doc generation

GitHub Action is only triggered from "main" branch now.
2024-09-13 09:59:51 +02:00
Juan Martín Sotuyo Dodero
77b763e321 Merge pull request #5210 from adangel/issue-5059-core-xml-cdata
[core] Fix PMD's XMLRenderer to escape CDATA
2024-09-12 09:42:57 -03:00
Andreas Dangel
469b2a67ae [doc] Added Codety to "Tools / Integrations" (#5208)
Merge pull request #5208 from random1223:patch-1
2024-09-12 10:31:13 +02:00
Andreas Dangel
b410199992 [doc] Update release notes (#5208) 2024-09-12 10:30:04 +02:00
Andreas Dangel
537148c90a [doc] Reformatting tools.md and ci.md 2024-09-12 10:29:51 +02:00
Andreas Dangel
341e089a47 Add @random1223 as a contributor 2024-09-12 10:19:14 +02:00
Andreas Dangel
6d1fb3e4cd [core] Fix PMD's XMLRenderer to escape CDATA
Processing errors might contain inside their details
message a CDATA section. This is output itself as
a CDATA section, but XMLStreamWriter#writeCData doesn't
escape it automatically - it just outputs the string
as is. This results in invalid XML.

Fixes #5059
2024-09-12 09:44:54 +02:00
Tony
aae54f4b33 Added Codety into the tool list.
Added Codety into the tool list, Codety Scanner uses PMD as Java code analyzer. 
Demo: 
GitHub issue review example: https://github.com/codetyio/codety-scanner/actions/runs/10786005219/job/29912188828
GitHub Pull Request automation example: https://github.com/codetyio/codety-scanner/pull/15#issuecomment-2320351633
2024-09-11 21:38:45 -07:00
Juan Martín Sotuyo Dodero
48c2e325dc Remove NBSP 2024-09-11 19:01:33 -03:00