Andreas Dangel
f317e8bee5
Merge branch 'main' into java-unit-test-rules
2024-10-18 16:15:51 +02:00
Andreas Dangel
656b9052ad
[java] CouplingBetweenObjects: improve violation message ( #5278 )
...
Merge pull request #5278 from adangel:coupling-between-objects-message
2024-10-18 15:40:54 +02:00
Andreas Dangel
f0375d61dd
[doc] Update release notes ( #5278 )
2024-10-18 15:39:52 +02:00
Andreas Dangel
a24c8aa002
[doc] Update release notes
2024-10-18 15:36:28 +02:00
Andreas Dangel
0ea42b94e0
Ignore generated antlr classes in coverage reports ( #5258 )
...
Merge pull request #5258 from Monits:ignore-generated-antlr
2024-10-13 12:27:30 +02:00
Andreas Dangel
f834b8744d
[doc] Update release notes ( #5258 )
2024-10-13 12:26:31 +02:00
Andreas Dangel
85e0695ca6
Add @Aryant-Tripathi as a contributor
2024-10-12 18:02:07 +02:00
Andreas Dangel
47a59b1810
Add @phansys as a contributor
2024-10-12 18:01:45 +02:00
Andreas Dangel
e50234563e
[doc] Update release notes ( #5253 , #5269 )
2024-10-12 18:01:21 +02:00
Andreas Dangel
7655cfc63b
Add @gudzpoz as a contributor
2024-10-11 12:35:45 +02:00
Andreas Dangel
fbde9b967f
[doc] Update release notes ( #5261 , #5264 )
2024-10-11 12:35:19 +02:00
Andreas Dangel
7ae3155325
Add @thesunlover as a contributor
2024-10-11 11:57:39 +02:00
Andreas Dangel
c595fea83f
[apex] AvoidNonRestrictiveQueries: Fix regex for detecting LIMIT clause
...
Fixes #5270
2024-10-11 11:57:10 +02:00
Andreas Dangel
07840cace2
[java] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch
...
Fixes #4286
2024-10-08 17:33:32 +02:00
Andreas Dangel
377670f267
[doc] Update release notes ( #5257 )
2024-10-06 18:48:47 +02:00
Andreas Dangel
079eb238b9
[java] NonCaseLabelInSwitch - support switch expressions
...
Rename rule from NonCaseLabelInSwitchStatement
- as it applies to both switch statements and switch expressions
- extend the test cases to cover new java syntax
2024-10-05 11:19:53 +02:00
Andreas Dangel
b3157825d8
[java] Rename rule DefaultLabelNotLastInSwitch
...
- as it applies to both switch statements and switch expressions
- extend the test cases to cover new java syntax
Note: For patterns in switch, the java compiler already makes sure, that
default is the last case.
2024-10-05 11:00:13 +02:00
Andreas Dangel
855e5175d4
[java] Renamed rule TooFewBranchesForSwitch
...
as it consider Switch Expressions now
additionally to Switch Statements.
2024-10-04 17:48:56 +02:00
Andreas Dangel
b87944a565
[java] TooFewBranchesForSwitch should consider Switch Expressions
...
Fixes #5250
2024-10-04 17:48:49 +02:00
Andreas Dangel
90f436fd28
[java] TooFewBranchesForSwitch should ignore Pattern Matching
...
Fixes #5249
2024-10-04 17:47:21 +02:00
Andreas Dangel
49deb8d4a0
[java] SwitchDensity false positive with pattern matching
...
Fixes #5030
2024-10-04 17:12:29 +02:00
Andreas Dangel
312d8e46ae
[java] ImplicitSwitchFallThrough should consider switch expressions
...
Fixes #3362
2024-10-04 16:45:29 +02:00
Andreas Dangel
e5ff5532d4
Update @emouty as a contributor
2024-10-04 16:05:46 +02:00
Andreas Dangel
0c858b0a7b
[java] SwitchStmtsShouldHaveDefault should ignore patterns
...
Fixes #4813
2024-10-04 16:05:45 +02:00
Andreas Dangel
a0818d5ab2
[doc] Document renamed/old rule names
2024-10-04 15:54:21 +02:00
Andreas Dangel
d2c42d2426
[doc] Update release notes ( #5067 , #5225 )
2024-10-04 10:05:48 +02:00
Andreas Dangel
07cd250a74
Fix release_notes.md
2024-10-04 10:00:53 +02:00
Andreas Dangel
c0023dd942
[java] Rename UnitTestShouldIncludeAssert again
...
to make it consistent and always use singular "UnitTest"
Follow-up on #4532 and #4965
2024-10-04 09:32:55 +02:00
Andreas Dangel
9337e5a7a2
[java] UnitTestShouldUseAfterAnnotation: Consider JUnit 5 and TestNG
2024-10-03 20:55:11 +02:00
Andreas Dangel
33c737718c
[java] UnitTestShouldUseBeforeAnnotation: Consider JUnit 5 and TestNG
2024-10-03 20:55:10 +02:00
Andreas Dangel
b7c4a5e492
Ignore javacc code in coverage report ( #5241 )
...
Merge pull request #5241 from Monits:ignore-javacc-code
2024-10-03 20:30:41 +02:00
Andreas Dangel
d77a63da95
[doc] Update release notes ( #5241 )
2024-10-03 20:29:53 +02:00
Andreas Dangel
463ca964dc
[java] Rename JUnit rules with overly restrictive names ( #4965 )
...
Merge pull request #4965 from Monits:issue-4532
2024-10-03 20:07:50 +02:00
Andreas Dangel
57497738c1
[doc] Update release notes ( #4532 , #4965 )
2024-10-03 20:06:21 +02:00
Andreas Dangel
c5246eca46
Renamed JUnit4TestShouldUseAfterAnnotation
...
- call it UnitTest... to be agnostic to the testing framework
2024-10-03 19:52:56 +02:00
Andreas Dangel
4796da0fb2
Renamed JUnit4TestShouldUseBeforeAnnotation
...
- call it UnitTest... to be agnostic to the testing framework
2024-10-03 19:51:13 +02:00
Andreas Dangel
5fe19b2096
[release] Prepare next development version [skip ci]
2024-09-27 11:43:22 +02:00
Andreas Dangel
6d48907259
Prepare pmd release 7.6.0
2024-09-27 10:49:57 +02:00
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
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
74f9d75897
[apex] Support convertCurrency() in SOQL/SOSL
...
Fixes #5228
2024-09-26 18:49:24 +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
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
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
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