Bump com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0 in /lang/java
Bumps com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0.
Release notes
Sourced from com.puppycrawl.tools:checkstyle's releases.
checkstyle-10.18.0
Checkstyle 10.18.0 - https://checkstyle.org/releasenotes.html#Release_10.18.0
Breaking backward compatibility:
#15159 - RedundantModifer Should Violate Final Modifer on Unnamed Variables if jdkVersion GTE 22 #14805 - Remove Support for String Template Syntax #15082 - LITERAL_WHEN and LAND tokens in switch statements should have EXPR child
New:
#10798 - RedundantModifierCheck: New property 'jdkVersion' to violate strictfp as redundant modifier if version LTE 17 #15062 - Add Check Support for Java 21 Unnamed Variables
&Patterns Syntax: SuppressWarnings #15027 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAround #15025 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAfter #14948 - Add Check Support for Java 21 Record Pattern : ParenPad #12542 - new Treewalker property to skip all nested Modules if there is parsing exception #14950 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: UnusedLocalVariable #14963 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: FinalParameter #14966 - Add Check Support for Java 21 Record Pattern : MethodParamPad #14970 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: PatternVariableName #15015 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: CatchParameterName #15014 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: LambdaParameterName #15016 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: IllegalIdentifierName #15012 - LocalFinalVariableName must include_#15053 - Define severity for google style config by variable #14946 - Add Check Support for Java 21 Record Pattern : IllegalType #14981 - False positive in FinalLocalVariable check on unnamed variables #14907 - Add support to check grouping of Constructors in google style guide implementation #15059 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: New Check UnusedLambdaParameterShouldBeUnnamed #15058 - Add Check Support for Java 21 Unnamed Variables&Patterns Syntax: New Check UnusedCatchParameterShouldBeUnnamed #14975 - Add Check Support for Java 17 Sealed Classes: New Check SealedShouldHavePermitsList #14985 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check WhenShouldBeUsed #14979 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check MissingNullCaseInSwitch #6723 - new check: LeadingAsteriskAlignCheckBug fixes:
#15504 - MissingSwitchDefault false positive on switch expressions when wrapped in return() #15445 - Update NPathComplexity Check to Account for when expression as a Possible Execution Path #15429 - Google style: method names should not allow to have '_' unless they are annotated by Test #15040 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: SimplifyBooleanReturn #15322 - NeedBraces Check Should violate Switch Expressions with Arrow Syntax That Directly Yields a Value #15047 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: NPathComplexity #15045 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: CyclomaticComplexity #15029 - Update EmptyBlockCheck to Violate Empty Case Blocks with Arrow Syntax #15123 - MissingSwitchDefault : False positive when
case nullin switch labeled statement group #14688 - LocalVariableNameCheck incorrectly flags variables named_(see JEP456) #14891 - Add Support for Java 21 Record Pattern : MissingSwitchDefault #14955 - Remove href from LineLength module property in google style config and update test cases
... (truncated)
Commits
ece521c[maven-release-plugin] prepare release checkstyle-10.18.0aadb50cdoc: release notes for 10.18.03f1fc43doc: update documentation for jdkVersion property in RedundantModifierCheck8da6f47Issue #15340: created InputFormatted file for section 3.3.2 No Line Wrapping7a5837fIssue #15340: created InputFormatted file for section 2.3.1 whitespace charac...5b2b330Issue #15340: created InputFormatted file for section 7.1.2 Paragraphsd010bdaIssue #15159: RedundantModifierCheck should violate final modifier on unnamed...d32c27bdependency: bump nl.jqno.equalsverifier:equalsverifier81b0261Issue #15059: New Check UnusedLambdaParameterShouldBeUnnamedc976754Issue #15340: created InputFormatted file for section 3 Source File- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| com.puppycrawl.tools:checkstyle | [>= 10.12.a, < 10.13] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)