Skip to content

Commit

Permalink
Issue #534: update checkstyle to 10.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Oct 27, 2024
1 parent 21b7548 commit 912220d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Compatibility matrix from Checkstyle:

| Checkstyle Plugin | Sonar min | Sonar max | Checkstyle | Jdk |
|-------------------|-----------|-----------|------------|-----|
| 10.19.0 | 9.9 | 10.7+ | 10.19.0 | 11 |
| 10.17.0 | 9.9 | 10.0+ | 10.17.0 | 11 |
| 10.16.0 | 9.9 | 10.0+ | 10.16.0 | 11 |
| 10.15.0 | 9.9 | 10.0+ | 10.15.0 | 11 |
Expand Down
1 change: 1 addition & 0 deletions config/ant-phase-verify.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<property key="checkstyle.importcontroltest.file" file="config/import-control-test.xml"/>
<property key="checkstyle.suppressions.file" file="config/suppressions.xml"/>
<property key="checkstyle.suppressions-xpath.file" file="config/suppressions-xpath.xml"/>
<property key="checkstyle.java.version" value="11"/>
</checkstyle>

<tstamp>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@
</ciManagement>

<properties>
<checkstyle.version>10.17.0</checkstyle.version>
<checkstyle.version>10.19.0</checkstyle.version>
<sonar.version>9.9.4.87374</sonar.version>
<sonar.api-version>9.9.0.229</sonar.api-version>
<maven.sevntu.checkstyle.plugin.version>1.44.1</maven.sevntu.checkstyle.plugin.version>
<!-- it should be a version of checkstyle that is compatible/compiled with sevntu -->
<maven.sevntu.checkstyle.plugin.checkstyle.version>
10.17.0
10.19.0
</maven.sevntu.checkstyle.plugin.checkstyle.version>
<antrun.plugin.version>3.1.0</antrun.plugin.version>
<checkstyle.configLocation>https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle-checks.xml</checkstyle.configLocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void test() {
// such number should not change during checkstyle version upgrade
assertThat(duplicatedRuleWithTemplate).hasSize(0);
// all new Rules should fall in this group
assertThat(rulesWithDuplicateTemplate).hasSize(186);
assertThat(rulesWithDuplicateTemplate).hasSize(192);

for (RulesDefinition.Rule rule : rules) {
assertThat(rule.key()).isNotNull();
Expand Down

0 comments on commit 912220d

Please sign in to comment.