Andreas Dangel
e7013bb061
Add @rnveach as a contributor
2022-10-28 10:08:26 +02:00
Andreas Dangel
2f515e554a
Merge pull request #4170 from adangel:issue-4140-doc-max-lang-version
...
[doc] Rule doc: add maximum language version #4170
2022-10-28 10:04:29 +02:00
Andreas Dangel
66d67c7fe4
Merge pull request #4169 from adangel:issue-4165-InaccurateNumericLiteral
...
[javascript] InaccurateNumericLiteral - consider underscores #4169
2022-10-28 10:02:45 +02:00
Andreas Dangel
e59d25b697
Merge pull request #4162 from adangel:improve-TestClassWithoutTestCases
...
[java] Improve TestClassWithoutTestCases #4162
2022-10-28 10:01:22 +02:00
Andreas Dangel
fc8c01aaaf
Merge pull request #4160 from adangel:issue-4139-UnnecessaryFullyQualifiedName
...
[java] Fix UnnecessaryFullyQualifiedName for current package java.lang #4160
2022-10-28 09:59:31 +02:00
Andreas Dangel
59cfe99325
Merge pull request #4159 from adangel:AvoidArrayLoops-improvements
...
[java] AvoidArrayLoops improvements #4159
2022-10-28 09:39:41 +02:00
Andreas Dangel
af013d61e1
Merge pull rquest #4156 from adangel:issue-4148-ArrayListVector
...
[java] Use type resolution for UseArrayListInsteadOfVector #4156
2022-10-28 09:36:45 +02:00
Andreas Dangel
fddc47ed31
Merge pull request #4154 from adangel:StringToString-improvements
...
[java] StringToString improvements #4154
2022-10-28 09:34:52 +02:00
Andreas Dangel
71446164de
[doc] Link 3rd party rulesets from making rulesets
2022-10-27 20:08:41 +02:00
Andreas Dangel
36c197f705
Merge pull request #4147 from yasarshaikh:master
...
[java] Added support for Do-While for AvoidArrayLoops #4147
2022-10-27 15:53:09 +02:00
Andreas Dangel
56b61f6a64
[doc] Update release notes ( #4091 , #4147 )
2022-10-27 15:51:25 +02:00
Andreas Dangel
d011996df9
Add @yasarshaikh as a contributor
2022-10-27 15:48:36 +02:00
Andreas Dangel
11764884c7
[java] TestClassWithoutTestCases - fix default pattern
...
To not match inner classes or a potential test class if the
inner class is not named test.
2022-10-21 09:29:06 +02:00
Andreas Dangel
21cca4b94d
[java] AccessorClass/MethodGeneration: Document maximum language version
...
Fixes #4140
2022-10-20 17:34:03 +02:00
Andreas Dangel
ebf3837199
[doc] Rule doc: add maximum language version
...
Fixes #4140
2022-10-20 17:25:09 +02:00
Andreas Dangel
c7acac7f29
[javascript] InaccurateNumericLiteral - consider underscores
...
Fixes #4165
2022-10-20 17:15:18 +02:00
Andreas Dangel
f54ca8b364
Update gems
2022-10-20 15:53:51 +02:00
Andreas Dangel
241e1e140a
Bump pmdtester from 1.5.1 to 1.5.2
2022-10-20 15:53:32 +02:00
Andreas Dangel
dd26af7f93
[java] TestClassWithoutTestCases - improve message
2022-10-20 15:47:07 +02:00
Andreas Dangel
5860f64648
[java] TestClassWithoutTestCases - improve nested class support
2022-10-20 15:33:28 +02:00
Andreas Dangel
0363c61b77
[java] TestClassWithoutTestCases - support JUnit5 nested tests
2022-10-20 14:59:24 +02:00
Andreas Dangel
c8eecb53a4
[doc] Fix broken links for "Architecture Decisions"
...
Fixes #4163
2022-10-16 11:37:57 +02:00
Andreas Dangel
33ede7fbc2
[java] Improve TestClassWithoutTestCases
...
- Added new property "testClassPatterns" to property detect empty test classes
- Added support for different JUnit5 annotations (like ParameterizedTest)
- Added support for TestNG
- Fixes #929
- Fixes #2636
2022-10-15 18:50:36 +02:00
Andreas Dangel
96a1ca0a13
[java] Fix UnnecessaryFullyQualifiedName for current package java.lang
...
Fixes #4139
2022-10-14 19:34:33 +02:00
Andreas Dangel
d575586d1e
Merge pull request #4150 from tprouvot:feature/addApexUnitShouldHaveRunAs
...
[apex] New rule ApexUnitTestClassShouldHaveRunAs #4149 #4150
2022-10-14 16:59:09 +02:00
Andreas Dangel
8834af16f6
[doc] Update release notes ( #4149 , #4150 )
2022-10-14 16:58:40 +02:00
Andreas Dangel
df2d1b806e
[apex] ApexUnitTestClassShouldHaveRunAsRule - remove unnecessary constructor
2022-10-14 16:57:47 +02:00
Andreas Dangel
a9f00ecadb
[java] AvoidArrayLoops - enhance documentation
...
Fixes #2692
2022-10-14 14:04:12 +02:00
Andreas Dangel
c8649b73e4
[java] AvoidArrayLoops - consider final variables
...
Fixes #3847
2022-10-14 12:06:29 +02:00
Andreas Dangel
30885b6212
[java] AvoidArrayLoops - ignore multi-dim array assignment
2022-10-14 11:51:57 +02:00
Andreas Dangel
d1328b2ba7
[java] AvoidArrayLoops - rework XPath expression
...
Fixes #1167
2022-10-14 11:41:51 +02:00
Thomas Prouvot
a88ad1cd5d
Update pmd-core/src/main/resources/rulesets/releases/6510.xml
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2022-10-14 11:01:01 +02:00
Andreas Dangel
173a41b712
[java] UseArrayListInsteadOfVector - use typeIsExactly
2022-10-14 10:26:18 +02:00
Thomas Prouvot
a72f1332d4
Merge branch 'feature/addApexUnitShouldHaveRunAs' of https://github.com/tprouvot/pmd into feature/addApexUnitShouldHaveRunAs
2022-10-14 10:25:13 +02:00
Thomas Prouvot
d0d2d2a6f7
Remove unused imports
2022-10-14 10:24:00 +02:00
Thomas Prouvot
150f109db4
Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveRunAsRule.java
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2022-10-14 10:03:45 +02:00
Thomas Prouvot
bac0e6e999
Update pmd-apex/src/main/resources/category/apex/bestpractices.xml
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2022-10-14 09:52:52 +02:00
Thomas Prouvot
3cd67eabf3
Set default message and priority to the rule
2022-10-14 09:52:04 +02:00
Andreas Dangel
78a49175a5
[java] Use type resolution for UseArrayListInsteadOfVector
...
Fixes #4148
2022-10-14 09:48:36 +02:00
Thomas Prouvot
ef48c7628c
Add a test for a normal class
2022-10-14 09:36:53 +02:00
Thomas Prouvot
d6f3b3c68e
revert changes on deprecvated rule
2022-10-14 09:26:47 +02:00
Thomas Prouvot
0da5cc9937
Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveRunAsRule.java
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2022-10-14 09:21:34 +02:00
Yasar Shaikh
82e7da5d0e
Added issue number in the Description for the AvoidArrayLoops
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2022-10-14 12:50:36 +05:30
Andreas Dangel
46e2007ce4
[java] StringToString - fix false positive
2022-10-13 15:08:57 +02:00
Andreas Dangel
896c7c6b78
[java] StringToString - update javadoc
2022-10-13 14:43:42 +02:00
Andreas Dangel
39c26d97f9
[doc] Update release notes ( #2080 , #3437 , #3681 , #3977 )
2022-10-13 13:20:49 +02:00
Andreas Dangel
1f26319325
[java] Support class literal in type resolution
...
Fixes #3437
2022-10-13 13:17:53 +02:00
Andreas Dangel
5d08ecd5be
[java] StringToString - use type resolution for field access
...
Fixes #2080
2022-10-13 12:25:34 +02:00
Andreas Dangel
b26e0bda8c
[java] StringToString - consider literals
...
Fixes #3681
2022-10-13 11:53:28 +02:00
Andreas Dangel
58b3f02a16
[java] StringToString - use type resolution
2022-10-13 11:46:30 +02:00