Andreas Dangel
d49178ae5f
[java] New Rule: Use Explicit Types
...
Fixes #2847
2023-05-14 11:05:30 +02:00
Andreas Dangel
c1a42f5e2e
[core] Fix unit tests for cpdhtml xslt stylesheetst
2023-05-12 12:51:35 +02:00
Andreas Dangel
eaf4354734
[doc] Update documentation regarding minimum-priority
...
Fixes #4454
2023-05-05 16:41:58 +02:00
Andreas Dangel
bc9c43fb42
Fix tests
2023-05-05 13:19:18 +02:00
Andreas Dangel
e09962b3cf
[core] Move MultiThreadProcessorTest to correct package
2023-05-05 12:40:18 +02:00
Andreas Dangel
b3ca1fdda3
[core] Use MultiThreadProcessor already with 1 thread
2023-05-05 12:35:17 +02:00
Andreas Dangel
713a4a8178
Reorder test methods
2023-05-05 12:26:08 +02:00
Andreas Dangel
e2866bebf8
Merge test classes for GlobalAnalysisListener
2023-05-05 12:23:53 +02:00
Andreas Dangel
63204cdf97
[core] GlobalAnalysisListener.tee: Forward onConfigError
2023-05-05 10:20:09 +02:00
Clément Fournier
172d41d042
Fix test
2023-05-03 16:21:50 +02:00
Clément Fournier
05165a4cda
Lint
2023-05-02 23:34:13 +02:00
Clément Fournier
0b6b949f61
Fix win test
2023-05-02 17:13:13 +02:00
Clément Fournier
ac86bb21dc
Merge branch 'master' into pmd7-textfile-display-name
2023-05-02 17:12:39 +02:00
Clément Fournier
dd671706cd
Fix test
2023-05-01 21:32:58 +02:00
Clément Fournier
0887916159
Fix usage of FileId::toString
2023-05-01 21:32:46 +02:00
Clément Fournier
0f154289f1
Fix test on mac
2023-05-01 21:01:54 +02:00
Clément Fournier
6cb92a8d62
More win problems
2023-04-29 22:22:59 +02:00
Clément Fournier
5e6652ab7c
Fix bug on win
2023-04-29 19:59:18 +02:00
Clément Fournier
72740a8151
Lint
2023-04-29 19:45:09 +02:00
Clément Fournier
b297538721
Fix merge
2023-04-29 19:31:43 +02:00
Clément Fournier
b89970d5fe
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd
2023-04-29 19:20:38 +02:00
Clément Fournier
090ffa1a58
Merge remote-tracking branch 'origin/pmd7-textfile-display-name' into pmd7-textfile-display-name
2023-04-29 19:15:23 +02:00
Clément Fournier
a1bdbd4bab
Fix tests
2023-04-29 19:13:42 +02:00
Clément Fournier
4834aca95c
Tests and doc
2023-04-29 18:59:23 +02:00
Clément Fournier
d8606f656a
Fix windows tests
2023-04-29 18:30:03 +02:00
Clément Fournier
68a4e84b5e
Merge branch 'master' into pmd7-textfile-display-name
2023-04-29 18:21:30 +02:00
Clément Fournier
8567fd77e9
Remove more things
2023-04-29 02:57:00 +02:00
Clément Fournier
82b4d97cb5
Remove old CLI, more doc
2023-04-29 02:52:09 +02:00
Clément Fournier
261df24af8
Improve doc for PmdAnalysis
2023-04-29 02:23:38 +02:00
Clément Fournier
5031c83c88
Enable coverage test
2023-04-29 01:25:16 +02:00
Clément Fournier
dd48dabac9
Fix tests
2023-04-20 17:16:32 +02:00
Clément Fournier
7cf4d44d5d
Fix NPE
2023-04-20 16:58:40 +02:00
Clément Fournier
913a621f83
Merge branch 'master' into pmd7-textfile-display-name
2023-04-20 16:42:58 +02:00
Juan Martín Sotuyo Dodero
38b541f896
Merge branch 'master' into issue-2501-antlr-doc
2023-04-19 00:22:59 -03:00
Juan Martín Sotuyo Dodero
15f62761ab
Merge branch 'master' into filecollector-api
2023-04-19 00:19:20 -03:00
Andreas Dangel
0d5ecebd4e
[core] Antlr - make more methods protected
...
The abstract methods createPmdTerminal and createPmdError in AntlrGeneratedParserBase don't need to be public. They are just implementation.
The language specific inner nodes (KotlinInnerNode, SwiftInnerNode)
can be package private. Only the concrete subclasses are considered
public API.
2023-04-14 09:41:52 +02:00
Andreas Dangel
ee227b1397
[core] Introduce an AbstractVisitorRule
...
Remove AntlrBaseRule
2023-04-13 20:32:58 +02:00
Andreas Dangel
bdacd38437
[core] Move AntlrTokenizer and JavaCCTokenizer into impl packages
2023-04-13 20:32:53 +02:00
wener
85a0d7f59f
Added strings as literal and ignore identifiers in sequences
2023-04-13 17:29:12 +02:00
Andreas Dangel
9e4b4c5f4a
[core] Rules with the same regex properties should be equal
2023-04-11 20:15:05 +02:00
Andreas Dangel
af74964fcd
[core] Fix FileCollector#addSourceFile parameter order
...
In PMD 6.55.0 the first parameter is sourceContents and the second is pathId (see ef34553486/pmd-core/src/main/java/net/sourceforge/pmd/lang/document/FileCollector.java (L192)
).
This restores that argument order in PMD 7.
2023-04-11 18:57:53 +02:00
Clément Fournier
fccde05646
restore file ids properly from cache
2023-04-05 00:39:14 +02:00
Clément Fournier
cbd6368d54
Add tests
2023-04-04 23:33:13 +02:00
Clément Fournier
0b0a4ef0de
Fix bug with FileId::fromPathLikeString
2023-04-04 23:09:35 +02:00
Clément Fournier
aa0be20590
Cache path strings
2023-04-04 22:57:51 +02:00
Clément Fournier
c385d58c40
Fix problem with paths on windows
2023-04-04 22:51:04 +02:00
Clément Fournier
ccd364b065
Merge branch 'master' into pmd7-textfile-display-name
2023-04-04 22:44:20 +02:00
Clément Fournier
837c7952f5
Merge branch 'master' into clem.pmd7-refactor-cpd
2023-04-04 22:11:38 +02:00
Andreas Dangel
f7d0444d86
Replace more old URLs
2023-03-30 15:32:57 +02:00
Andreas Dangel
919b1d246a
Merge pull request #4417 from oowekyala:pmd7.micro-opts
...
[core] [java] More micro opts #4417
2023-03-23 10:24:26 +01:00