Andreas Dangel
decb759a8f
[dist] Make SBOM optional in assembly descriptor
...
fix dist sbom
2024-02-22 12:59:56 +01:00
Andreas Dangel
db02f357c5
[doc] Update maven doc, include PMD 7 usage, remove maven1
2024-02-22 11:54:14 +01:00
Andreas Dangel
d6c282bfba
[doc] Update migration guide for XML Report Format changes
2024-02-22 11:40:10 +01:00
Andreas Dangel
f2aedc86e5
[doc] Update release notes ( #4827 )
2024-02-18 09:15:11 +01:00
Andreas Dangel
3dd4ace643
[compat6] add dependency to pmd-cs
2024-02-18 09:13:04 +01:00
Andreas Dangel
b223b1a672
[compat6] Support other cpd languages like cs
2024-02-17 18:43:42 +01:00
Andreas Dangel
0f7dff6909
[compat6] Support configuration errors
2024-02-17 18:43:30 +01:00
Andreas Dangel
d23395a440
Merge pull request #4825 from lbovet:master
...
[plsql] Fix ignored WITH clause for SELECT INTO statements #4825
2024-02-16 08:50:15 +01:00
Andreas Dangel
a481a062fe
[doc] Update release notes ( #4820 , #4825 )
2024-02-16 08:49:34 +01:00
Andreas Dangel
81206f2ee3
Add @lbovet as a contributor
2024-02-16 08:48:42 +01:00
Andreas Dangel
019039c606
Merge pull request #4776 from adangel:issue-4776-ruby3
...
[ci] Upgrade to ruby 3 #4826
2024-02-16 08:27:35 +01:00
Andreas Dangel
e002b161e5
[ci] Use regular PMD_CI_SCRIPTS_URL
2024-02-16 08:24:49 +01:00
Andreas Dangel
828bcaa89b
Fix Dangerfile
2024-02-15 21:25:08 +01:00
Andreas Dangel
04509a9fba
Make sure, ruby and bundler are available
2024-02-15 20:44:07 +01:00
Andreas Dangel
aa6851e2d2
Update gems
...
Fixes https://github.com/pmd/pmd/security/dependabot/49
Fixes https://github.com/pmd/pmd/security/dependabot/50
2024-02-15 20:31:17 +01:00
Andreas Dangel
fa01fcd38b
[ci] Upgrade to ruby 3
...
Fixes #4776
2024-02-15 20:28:34 +01:00
Andreas Dangel
ccebca525c
Ignore empty catch block
2024-02-15 17:05:07 +01:00
Andreas Dangel
ac2c52e220
[ant] Fix ant Formatter with Java 22
...
Java 22 provides a real console from System.console()
even if it is non-interactive. In that case, we need to
check whether we have a terminal.
2024-02-15 16:54:27 +01:00
Andreas Dangel
01647beb59
[doc] Update release notes ( #4794 ) Java 22
2024-02-15 15:13:27 +01:00
Andreas Dangel
2a1aaa6bce
[java] Fix tests with ExplicitConstructorInvocations
2024-02-15 15:07:50 +01:00
Laurent Bovet
4509b6b966
[plsql] Fix support of WITH clause
2024-02-15 13:38:04 +01:00
Andreas Dangel
bfe9ce66e2
[java] JEP 447: Statements before super(...) (Preview) (Java 22)
2024-02-15 13:20:46 +01:00
Andreas Dangel
4e01a3dafb
[java] JEP 456: Unnamed Variables & Patterns
...
This is now standardized.
2024-02-15 12:12:12 +01:00
Andreas Dangel
cb3ceef17a
[java] Update Tests for JEP 463: Implicitly Declared Classes and Instance Main Methods
2024-02-15 11:26:12 +01:00
Andreas Dangel
fbb9da24f2
[java] Update Tests for JEP 459 String Templates
...
TemplateFragment now has an attribute "content".
2024-02-15 11:16:24 +01:00
Andreas Dangel
96bc9ef6c6
[java] Update LanguageLevelChecker#RegularLanguageFeature
...
- after 20-preview is gone
- Note: DECONSTRUCTION_PATTERNS_IN_ENHANCED_FOR_STATEMENT is completely
gone. This was only available for 20-preview and has been removed
with 21.
2024-02-15 10:30:55 +01:00
Andreas Dangel
c4eccf49af
[java] Remove old java 20 preview features
...
- Record patterns in enhanced for statements
- parenthesized patterns
These features have not been standardized.
2024-02-15 10:16:31 +01:00
Andreas Dangel
2a53ebaa55
[java] Remove java language version 20-preview
2024-02-15 09:50:06 +01:00
Andreas Dangel
c4620635ee
Update asm dependency to 9.6
2024-02-15 09:50:06 +01:00
Andreas Dangel
73dbd56ec4
[java] Add new java language versions 22 and 22-preview
2024-02-15 09:50:01 +01:00
Andreas Dangel
9e900a2c70
[java] Enable tests in JavaCpdLexerTest
2024-02-15 07:57:20 +01:00
Andreas Dangel
59537fb15c
Merge branch 'master' into experimental-apex-parser
2024-02-13 20:12:39 +01:00
Andreas Dangel
ee1d72955d
[doc] Update release notes - Apex: Replaced Jorje with fully open source front-end
...
Fixes #3766
2024-02-13 20:12:28 +01:00
Andreas Dangel
dbe6053af4
[apex] Remove module pmd-apex-jorje
2024-02-13 19:18:16 +01:00
Andreas Dangel
a4280011a3
[apex] Remove now unneeded dependency to antlr 3
2024-02-13 19:09:36 +01:00
Andreas Dangel
7d326c5fd0
Bump guava from 31.0.1-android/32.0.1-jre to 33.0.0-jre
2024-02-13 19:00:45 +01:00
Andreas Dangel
f12beff7c9
[apex] Decimal LiteralExpression - add TODO
...
Refs https://github.com/google/summit-ast/pull/47
2024-02-13 18:46:24 +01:00
Andreas Dangel
204232c238
[apex] Remove ASTBridgeMethodCreator
...
Update release notes/migration guide
2024-02-13 18:43:09 +01:00
Andreas Dangel
f57a072e5c
[apex] Normalize bound vars in SOQL
2024-02-13 18:42:24 +01:00
Andreas Dangel
526d9684c5
[apex] Remove namespace implementations
...
Fixes TODO(b/243905954)
2024-02-12 20:17:53 +01:00
Andreas Dangel
e811b9ceb3
[apex] DefiningType for ASTApexFile
2024-02-12 20:17:53 +01:00
Andreas Dangel
0a557dfcf8
[apex] AbstractApexNode - calculateTextRegion for many nodes as union
2024-02-12 20:17:53 +01:00
Andreas Dangel
e8e19a294f
[apex] Fix RealLoc of ASTModifierNode and ASTField
2024-02-12 20:17:52 +01:00
Andreas Dangel
95d0cf4733
[apex] ApexXPathRuleTest - remove old test
...
This was testing a deprecated XPath attribute,
but that attribute was already removed.
2024-02-12 20:17:52 +01:00
Andreas Dangel
cf67ebf4a5
[apex] ApexLexerTest - reenable and finish
...
Fixes TODO(b/239648780)
2024-02-12 20:17:41 +01:00
Andreas Dangel
50514b3736
[apex] ApexParser - init logging
2024-02-12 17:37:55 +01:00
Andreas Dangel
f5979b5bfb
[apex] ASTSoqlExpression - provide simple canonical query
2024-02-11 16:35:12 +01:00
Andreas Dangel
19907a74d9
[apex] Finish ASTReferenceExpression
...
- removed method getContext() - always returned null
Fixes TODO(b/243906211)
- Verify that getReferenceType() returns the correct values
Fixes TODO(b/239648780)
2024-02-10 21:01:52 +01:00
Andreas Dangel
dbde030d8f
[core] Remove @DeprecatedUntil700
2024-02-10 13:10:53 +01:00
Andreas Dangel
1b4acab7c4
Merge branch 'master' into issue-4349-cleanup-deprecations
2024-02-10 12:36:58 +01:00