7c45eb0ca9
Use a wrapper 'AstInfo'
2020-11-15 17:35:10 +01:00
aee9c1792c
Changes to js
2020-11-15 17:07:08 +01:00
e1c42a10ec
Move visitor to VfParser#parse
...
LanguageVersionHandler#getTypeResolutionFacade is deprecated. Moved the VfExpressionTypeVisitor creation and execution to VfParser#parse instead.
ParsingOptionsTest located in pmd-test wasn't running previously because it was in the src/main hierarchy. Moved this test into the src/test hierarchy and consolidated the methods from the
similarly named class from pmd-core.
2020-11-12 20:13:19 -08:00
7dfdd653e7
[javascript] Update default version name to "ES6"
2020-11-06 09:41:55 +01:00
52a71f48aa
[javascript] Add deprecations for EcmascriptParser/Handler
...
Refs #2837
2020-11-06 09:26:44 +01:00
4837c8dbc8
[maven-release-plugin] prepare for next development iteration
2020-10-24 10:17:24 +02:00
81f12d3e5d
[maven-release-plugin] prepare release pmd_releases/6.29.0
2020-10-24 10:17:15 +02:00
c8da0b4b36
Fix tests expecting ES3
...
Default version is now ES 6 and unnamed
2020-10-19 22:32:15 +02:00
c27b421645
Fix PMD warnings
2020-10-18 03:22:07 +02:00
a16aed50eb
Remove JS parser options
2020-10-18 03:16:19 +02:00
afb3a9e387
Fix js tests
2020-09-28 21:05:29 +02:00
020fa899d5
Fix tests
2020-09-28 20:12:04 +02:00
8f4c48c00a
Require non null suppress marker
2020-09-28 19:49:33 +02:00
aa245c6e1b
[maven-release-plugin] prepare for next development iteration
2020-09-26 10:25:16 +02:00
722f3ca997
[maven-release-plugin] prepare release pmd_releases/6.28.0
2020-09-26 10:25:05 +02:00
9cfe485888
Merge branch 'pr-2746' into pmd/7.0.x
...
[core, ...] Finish generic visitors #2746
Fixes #880
2020-09-13 09:49:14 +02:00
7605a669a7
Merge branch 'pr-2742' into pmd/7.0.x
...
[core] Remove deprecated things about rules #2742
2020-09-13 09:22:02 +02:00
f5e4a0f81c
Merge branch 'master' into 7.0.x
2020-09-13 01:49:45 +02:00
a43dea916d
Fix JS tests
...
Rewrite assertions for better error messages
The difference is 32 tokens instead of 30;
this is because previously, AnyTokenizer
tokenized `window.alert` as a single token. Now
it tokenizes it a `window`, `.`, `alert`.
2020-09-03 11:40:03 +02:00
c59af0aee6
[maven-release-plugin] prepare for next development iteration
2020-08-31 18:30:18 +02:00
856950f0d2
[maven-release-plugin] prepare release pmd_releases/6.27.0
2020-08-31 18:30:09 +02:00
80e9f48ed9
Add a hook for nodes to callback if the visitor is incorrect
2020-08-26 19:10:32 +02:00
5f8e5fc1ff
Remove ImmutableLanguage
2020-08-25 15:23:22 +02:00
37bd0db6b0
Merge branch 'remove-old-stuff' into 7.0.x
2020-08-23 17:59:27 +02:00
d5f48c4741
Merge branch '7.0.x' into update-saxon-version
2020-08-23 17:45:21 +02:00
9c82dd11ef
Fix merge (build passes)
2020-08-23 16:53:40 +02:00
b2c8892d26
Merge branch 'generic-visitor-js' into 7.0.x
2020-08-23 16:44:27 +02:00
2b1d071930
Fix tests due to endColumn changes
2020-08-21 12:38:37 +02:00
ab489832fe
Merge branch 'master' into pmd/7.0.x
2020-08-21 11:51:54 +02:00
89140d86ce
Merge branch 'master' into pr-2656
2020-08-20 09:47:16 +02:00
37b9bfabaf
Remove other specific XPath rules
2020-08-10 11:59:38 +02:00
1e85519045
Merge branch '7.0.x' into update-saxon-version
2020-08-08 02:54:04 +02:00
daa51685ec
Make JS visitor generic
2020-08-07 03:00:49 +02:00
cbef6a8b7e
Merge branch '7.0.x' into remove-old-stuff
2020-08-03 23:25:42 +02:00
c554aceba6
Merge branch 'master' into 7.0.x
2020-08-03 23:06:21 +02:00
40f954f81a
Merge branch 'pr-2675'
...
[core] Deprecate parser options #2675
2020-08-02 16:53:24 +02:00
3d4f709009
Merge branch '7.0.x' into remove-old-stuff
2020-07-31 16:02:34 +02:00
384dd20319
Merge branch 'master' into pmd/7.0.x
2020-07-30 11:51:53 +02:00
eb683569af
Merge branch 'pr-2617'
...
[core] Deprecate missing language attribute on rule definition #2617
2020-07-30 10:19:03 +02:00
4c11082574
Cleanup report
2020-07-29 18:04:56 +02:00
25d59beb37
Revert changes to apex rules
...
Someone may be using those properties, this would
be a breaking change
2020-07-28 14:26:06 +02:00
151a56cfa0
Deprecate other custom XPath rules
2020-07-28 14:26:06 +02:00
49ab75aeb7
[maven-release-plugin] prepare for next development iteration
2020-07-25 13:45:36 +02:00
a9632e2a06
[maven-release-plugin] prepare release pmd_releases/6.26.0
2020-07-25 13:45:27 +02:00
6fb5ac59b9
Ensure CPD uses tab width of 1 for tabs consistently
...
The columns that are reported by CPD were inconsistent across languages
before. A language like Java (using a JavaCC-based tokenizer) would use
a width of 8 for tabs, whereas a language like C# (using an Antlr-based
tokenizer) would use 1 instead.
This includes unit tests for most languages to ensure a tab character is
counted as 1. The configuration for JavaCC has been adjusted to respect
this as well.
2020-07-20 10:42:21 +02:00
dcaa8a1167
Merge branch 'master' into pmd/7.0.x
2020-07-17 16:13:02 +02:00
666621e958
Fix checkstyle
2020-07-17 15:16:29 +02:00
7b3d31246e
Merge branch 'master' into pr-2624
2020-07-17 15:16:24 +02:00
7ae424a35b
Add deprecation javadocs
2020-07-17 14:43:43 +02:00
94afdb117d
Add test engines as surefire plugin dependencies
...
This removes junit-vintage-engine as a test dependency
as well as kotlintest-runner-junit5.
The engines are only needed during test execution, but should
not be available for test compilation.
For this to work, the latest surefire plugin is required.
2020-07-17 12:03:45 +02:00