Commit Graph

1822 Commits

Author SHA1 Message Date
Andreas Dangel
ce07c9b757 [doc] Update release notes, refs #2314 2020-03-21 12:13:23 +01:00
Andreas Dangel
4f392c9d25 [doc] maven - add "Choosing the plugin version" 2020-03-21 12:12:24 +01:00
Pham Hai Trung
9cec4c3ac7 Add version to plugin
The maven configuration will generate an issue if we don't specify the maven-pmd-plugin's version. Without the version, maven wouldn't be able to find the pmd plugin in central.
2020-02-27 09:38:43 +01:00
Andreas Dangel
d21e2565ae [doc] Fix jdoc links in release notes 2020-02-22 12:27:46 +01:00
Andreas Dangel
ddd338dc78 [doc] Update release notes, refs #2297, fixes #2162 2020-02-22 12:07:43 +01:00
Clément Fournier
f11a5674e6 Document enum conversion 2020-02-16 18:30:09 +01:00
Andreas Dangel
80cba026c2 [java] Deprecate getArgumentCount()/getParameterCount()
* ASTArguments#getArgumentCount()
* ASTFormalParameters#getParameterCount()

Refs #2271
2020-02-16 13:12:28 +01:00
Andreas Dangel
7fb09deb3d Merge branch 'pr-2263'
[java] Fix InvalidLogMessageFormat false-positive with lambda arguments
2020-02-16 12:06:12 +01:00
Andreas Dangel
92fa8231e7 Merge branch 'pr-2267'
[docs] Update docs about writing rules
2020-02-16 11:57:26 +01:00
Andreas Dangel
75d901068a [doc] Update gems 2020-02-16 11:56:26 +01:00
Andreas Dangel
e7b72c2b6b [doc] Override Rule.start(RuleContext) instead of apply 2020-02-16 11:56:05 +01:00
Andreas Dangel
5685013e35 [doc] Re-add pmd_userdocs_extending_writing_pmd_rules.html
Links to the other pages now.
2020-02-16 11:55:29 +01:00
Andreas Dangel
587500e0c2 [doc] Update last_updated timestamp for writing rule docs 2020-02-16 11:54:48 +01:00
Andreas Dangel
5e5070f3ec [doc] Update link to SingularFieldRule 2020-02-16 11:53:24 +01:00
Andreas Dangel
9e2368257f Merge branch 'pr-2241'
[core] Simplify metrics framework
2020-02-16 10:57:10 +01:00
Andreas Dangel
4566567e5e [doc] Update last changed date 2020-02-16 10:42:20 +01:00
Andreas Dangel
de622bcbae [doc] Update release notes, refs #2274 2020-02-15 18:19:01 +01:00
Clément Fournier
e3e469cc27 Merge branch 'docs-java-api'
Refs #2283
2020-02-14 23:57:38 +01:00
Andreas Dangel
542097f5b6 Merge branch 'pr-2279'
[apex] Add support for suppressing violations using the // NOPMD comment
2020-02-13 11:39:49 +01:00
Andreas Dangel
0358dfdb97 [doc] Update release notes, fixes #1078, refs #2279 2020-02-13 11:39:04 +01:00
Andreas Dangel
ca6720d55c [doc] Fix invalid link to JJTJavaParserState
jdoc generated link to
net.sourceforge.pmd.lang.ast.JJTJavaParserState,
but the source file couldn't be found in the source tree of
pmd-java
2020-02-13 11:32:40 +01:00
Andreas Dangel
4cef149f45 Merge branch 'pr-2278'
[java] fix UnusedImports rule for ambiguous static on-demand imports
2020-02-13 11:15:34 +01:00
Andreas Dangel
1f75eb551f [doc] Update release notes, fixes #2277, refs #2278 2020-02-13 11:15:26 +01:00
Andreas Dangel
2e6ada82ce [doc] Add PMD java api documentation
Refs #2274
2020-02-13 10:54:08 +01:00
Andreas Dangel
fce8f766a2 [doc] Add simple gradle documentation 2020-02-13 10:53:25 +01:00
Clément Fournier
d61ec4c737 Deprecations for #2248 2020-02-12 14:39:01 +01:00
Andreas Dangel
48cd952feb Merge branch 'pr-2269'
[java] Improve TypeHelper resilience
2020-02-10 19:17:24 +01:00
Andreas Dangel
294a37e87e [doc] Update release notes, refs #2269, fixes #2268 2020-02-10 19:17:17 +01:00
Andreas Dangel
a020619e25 [doc] Update release notes, refs #2276, fixes #2275 2020-02-10 19:00:29 +01:00
Clément Fournier
54b8acea5b Fix dead links 2020-02-06 17:00:37 +01:00
Clément Fournier
9084980203 Update again 2020-02-05 20:46:17 +01:00
Clément Fournier
3318cc2808 Remove old page 2020-02-05 20:46:17 +01:00
Clément Fournier
000376f2d2 Update 2020-02-05 20:46:17 +01:00
Clément Fournier
b2f061b58a Render markdown in descriptions 2020-02-05 20:46:17 +01:00
Clément Fournier
abe26203d5 Add examples 2020-02-05 20:46:17 +01:00
Clément Fournier
7573fd94d9 Use expandable row for xpath funs 2020-02-05 20:46:17 +01:00
Clément Fournier
f496ce8be7 Make xpath fun rows expandable 2020-02-05 20:46:17 +01:00
Clément Fournier
43680dee4a Remove useless stuff 2020-02-05 20:46:17 +01:00
Clément Fournier
465dca240c Document rule lifecycle 2020-02-05 20:46:17 +01:00
Clément Fournier
9adea8b166 Start working on java rules 2020-02-05 20:46:17 +01:00
Clément Fournier
6fcc57db81 Delete a bunch of useless guidelines 2020-02-05 20:46:17 +01:00
Clément Fournier
cee4dab30a Update the defining properties page 2020-02-05 20:46:17 +01:00
Clément Fournier
af612751da Add resource index 2020-02-05 20:46:17 +01:00
Clément Fournier
ae73bf3692 Review intro of defining rule properties 2020-02-05 20:46:17 +01:00
Clément Fournier
77b7db9dab Document XPath migration 2020-02-05 20:46:17 +01:00
Clément Fournier
79f47134c3 Finish xpath spec page 2020-02-05 20:46:17 +01:00
Clément Fournier
787a6a4a4d Document XPath funs 2020-02-05 20:46:17 +01:00
Clément Fournier
45291fb6d8 Update screenshot 2020-02-05 20:46:17 +01:00
Clément Fournier
dd7f62d1c2 Rewrite XPath rule guide to add info about the designer 2020-02-05 20:46:17 +01:00
Andreas Dangel
e0e858d39e [java] InvalidLogMessageFormat false-positive for a lambda argument
Fixes #2255

This is actually only a workaround - lambda parameters are ignored now.
2020-01-30 21:14:25 +01:00