chore: update dependency com.puppycrawl.tools:checkstyle to v13 #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.1.2→13.1.0Release Notes
checkstyle/checkstyle (com.puppycrawl.tools:checkstyle)
v13.1.0Checkstyle 13.1.0 - https://checkstyle.org/releasenotes.html#Release_13.1.0
Breaking backward compatibility:
#12556 - Remove deprecated method CheckstyleAntTask:createClasspath()
New:
#18329 - ImportControl: add module attribute to allow/disallow module imports
#18368 - New check: MissingOverrideOnRecordAccessor to require Override on record component accessor methods
Bug fixes:
#16087 - false positive invalid tag JavadocType
#18790 - IllegalTokenText reports false positives for Unicode whitespace characters without escape sequences
#18118 - Inconsistent behaviour of
Indentationcheck#13038 - VariableDeclarationUsageDistanceCheck doesn't handle method definition properly
#11103 - Indentation: Lambda in Enum causes error loop
#18644 - False-negative: SummaryJavadoc:forbiddenSummaryFragments for tab-formatted code
#6807 - False-positive RightCurly in google_checks since 8.20
#17561 - Google style: Override is required on explicitly declared accessor method for a record
#18559 - Add missing checks to sun_checks.xml: DeclarationOrder, FallThrough, OneStatementPerLine
Other Changes:
Documentation examples for MultiFileRegexpHeader are not in valid regex form
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Dedicate `rewrite` recipes
Define violation messages for all violations
CLI '-s' option does not match by data from '-t'
Split openrewrite-recipes in two groups to always run in CI in less that 15 minutes
Do not use cause excpetion message durging wrapping
Resolve violations from spotbugs sb-contrib 7.6.0
Convert regressions that use maven-checkstyle-plugin to CLI based
Resolve error-prone violations
Fix xdocs Examples AST Consistency Test (Reduce suppressions list)
Add missing property examples to XDocs for Checkstyle Checks
Heading anchor link icon does not copy section URL to clipboard
update JavadocTagContinuationIndentation Examples
Fix `prone` order
test to check indentation trailing comments are vertically aligned
Update doc to mention that XPath has direct connection to if comment aware checks are added or not
Recfactor classes to avoid CT_CONSTRUCTOR_THROW violation
recheck that CNC_COLLECTION_NAMING_CONFUSION is resolved.
Add `NullArgumentForNonNullParameter` #17988 #17985 #18479
Updating properties in Input files to mention all default properties,
use new nio jdk api instead of all api
Enforce file size on Java inputs
Specify XPath version in documentation
Resolve Pitest Suppressions - filters
Fix wrong test scope for `PMD`
Resolve spotbugs suppression for UnusedLocalVariableCheck
Resolve Pitest Suppressions - coding-2
Add `CodeCleanup`
Add OpenJDK Java Style Guidelines coverage infrastructure
Update JRE compatibility table for 13.x and fix grammar on landing page
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
doc: add Example5 for IllegalTokenTextCheck custom message
Upgrade all scripts to groovy 3.0.17 or 5.x
Resolve Pitest Suppressions - ant
Add `UpgradeToJava21` #18528 #18531
Checker framework report violation on theoretcally possible cases but practiacally impossible
Resolve error-prone violations
Give more clarity on xdocs for AnnotationLocation
jdk21: activate WhenShouldBeUsed for checkstyle project
Resolve Pitest Suppressions - indentation
Add `rewrite` support for `errorprone.refasterrules`
pitest: increase mutation coverage for indentation profile to 100%
Resolve Pitest Suppressions - common
Add `EmptyNewlineAtEndOfFile`
Resolve Pitest Suppressions - imports
Cirrus should be used wisely to avoid credit limits
XdocsExamplesAstConsistencyTest should validate literal values match between examples
dependency: bump org.openrewrite.recipe:rewrite-migrate-java from 3.22.0 to 3.24.0
v13.0.0Checkstyle 13.0.0 - https://checkstyle.org/releasenotes.html#Release_13.0.0
Breaking backward compatibility:
#17430 - Use jdk21 as minimial required
Bug fixes:
#18409 - Remove duplicate violations in WhitespaceAfter and WhitespaceAround in sun_checks.xml
Other Changes:
jdk21: activate MissingNullCaseInSwitch for checkstyle project
Resolve Pitest Suppressions - imports
Conversion to Enhance Switch for AnnotationUseStyle Check Causing Jacoco Coverage Issue
Convert eligible classes to records
pitest: increase mutation coverage for indentation profile to 100%
Resolve Pitest Suppressions - filters
Fix xdocs Examples AST Consistency Test (Reduce suppressions list)
EmptyLineSeparator ignores configured tokens: reports violations for unlisted tokens and skips listed ones
Enforce file size on Java inputs
Store SARIF schema locally to avoid external network dependency
Update `JavadocCommentsTokenTypes.java` to new format of AST print
v12.3.1Compare Source
Checkstyle 12.3.1 - https://checkstyle.org/releasenotes.html#Release_12.3.1
Bug fixes:
#17265 - Duplicate violations in WhitespaceAfter and WhitespaceAround in google config
#17778 - Add support to properly follow Rule
7.1.1 General Formin Google Style Guide Implementation#18381 - NullPointerException in TextBlockGoogleStyleFormatting with text blocks in annotations
#17727 - Need default config in google_checks.xml to forbid lowercase Javadoc beginnings
Other Changes:
Add missing property examples to XDocs for Checkstyle Checks
Resolve Pitest Suppressions - filters
Resolve Pitest Suppressions - api
Refine newly added reuse of metadata and xdoc to simplify Javadocs
Resolve Pitest Suppressions - tree-walker
Resolve Pitest Suppressions
NoClassDefFound Exception during compilation on jdk25
Resolve Pitest Suppressions - xpath
MissingOverride: update doc example to show method without inheritDoc
Update `JavadocCommentsTokenTypes.java` to new format of AST print
implement IDE agnostic configuration with `editorconfig.org`
Examples Validation: content is same in all for single Check
Enforce file size on Java inputs
Add `rewrite` support for `errorprone.refasterrules`
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
cleanup spotbugs suppression after next fb-contrib release
pitest: increase mutation coverage for indentation profile to 100%
Resolve error-prone violations
Remove CheckerFramework 'RegexChecker' annotation processor
XdocsExampleFileTest should catch fact that ExampleX.java is not referenced in respected Test class
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Define violation messages for all violations
Intellij Idea setup: Add steps to change encoding of properties file to UTF-8.
Resolve Pitest Suppressions - ant
build failure in CI for project Configurate
Updating properties in Input files to mention all default properties,
Resolve Pitest Suppressions - common
Clarification needed for 5.2.5 Non-constant field names coverage in Google style
Resolve CheckerFramework violations
Convert eligible classes to records
resolve PMD warning during execution
Remove last example code block at at the bottom of examples for NoLineWrap
v12.3.0Checkstyle 12.3.0 - https://checkstyle.org/releasenotes.html#Release_12.3.0
New:
#18207 - IllegalImport: new property illegalModules to cover module imports
#17223 - Google-style: New Check TextBlockGoogleStyleFormattingCheck
Bug fixes:
#18283 - Google style checks should allow
_keyword for anonymous variablesOther Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Clone `apache/kafka` once KAFKA-19809 is merged
Add Kakfa project into Checkstyle regression suite
use new nio jdk api instead of all api
Recfactor classes to avoid CT_CONSTRUCTOR_THROW violation
uncliear error message if basedir is Linux based but execution is on windows
test to check indentation trailing comments are vertically aligned
infra: Fixing ECJ's version to be pinned, rather than being dynamic to not break CI pipelines
Website Generation doesn't automatically reflect new changes to checks.xml and checks/`<`type`>`/index.xml
Define violation messages for all violations
checkstyle-12.2.0: fails 2 checks building from source code
Xdoc marco to put version in xdoc from 'since' javadoc tag on Check
CI: verify-no-exception-configs should actually check contribution PR to append the same Check
Resolve Pitest Suppressions - main
Resolve Pitest Suppressions - ant
doc: note UnusedImports limitation for module import declarations
v12.2.0Checkstyle 12.2.0 - https://checkstyle.org/releasenotes.html#Release_12.2.0
New:
#18088 - Include full check name alongside ID in XML violation reports
#17919 - Java25's import-module support
Bug fixes:
#18074 - JAR for 12.1.1 is missing org.slf4j package
#18171 - RedundantImport does not work with module imports
#18132 -
PatternVariableAssignmentgives error when assigning to field (usingthis.) with the same name as pattern variable#18104 - Drop support in checks for no-longer-compilable preview feature - Pattern matching for swtich
Other Changes:
doc: clarify behavior of NewlineAtEndOfFileCheck regarding extra blank lines
Resolve Pitest Suppressions - main
Improve wrapping in web site
resolve PMD warning during execution
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Update `JavadocCommentsTokenTypes.java` to new format of AST print
doc: mention ANTLR regression report
Refine newly added reuse of metadata and xdoc to simplify Javadocs
Updating properties in Input files to mention all default properties,
Define violation messages for all violations
Convert eligible classes to records
doc: explain how to use CLI generated xpath
Update SuppressionSingleFilter examples to use all properties
Website Generation doesn't automatically reflect new changes to checks.xml and checks/`<`type`>`/index.xml
Java 22 test files that were marked as compilable but are not
Special color for property links
Inprove website rendering
Add check to prohibit Windows line endings
Complitaion jobs in CircleCI do not pick up all files
Run regression testing in CI over openjdk25
Add Java 25 compilation to CircleCI
Add `async` and/or `defer` attributes to site scripts
doc: Add extra section about 'Performance Regressions'
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.