Skip to content

Commit 72ed3d2

Browse files
muhlba91romani
authored andcommitted
Issue #399: upgrade to checkstyle 9.3
1 parent d1ac1ac commit 72ed3d2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Compatibility matrix from checkstyle team:
2121

2222
| Checkstyle Plugin | Sonar min | Sonar max | Checkstyle | Jdk |
2323
|-------------------|-----------|-----------|------------|-----|
24+
| 9.3 | 8.9 | 8.9+ | 9.3 | 1.8 |
2425
| 9.2.1 | 8.9 | 8.9+ | 9.2.1 | 1.8 |
2526
| 9.2 | 8.9 | 8.9+ | 9.2 | 1.8 |
2627
| 9.1 | 8.9 | 8.9+ | 9.1 | 1.8 |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</ciManagement>
9494

9595
<properties>
96-
<checkstyle.version>9.2.1</checkstyle.version>
96+
<checkstyle.version>9.3</checkstyle.version>
9797
<sonar.version>8.9.0.43852</sonar.version>
9898
<sonar-java.version>7.2.0.26923</sonar-java.version>
9999
<maven.checkstyle.plugin.version>3.1.2</maven.checkstyle.plugin.version>

src/test/java/org/sonar/plugins/checkstyle/CheckstyleRulesDefinitionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void test() {
8080
// such number should not change during checkstyle version upgrade
8181
assertThat(duplicatedRuleWithTemplate).hasSize(0);
8282
// all new Rules should fall in this group
83-
assertThat(rulesWithDuplicateTemplate).hasSize(184);
83+
assertThat(rulesWithDuplicateTemplate).hasSize(185);
8484

8585
for (RulesDefinition.Rule rule : rules) {
8686
assertThat(rule.key()).isNotNull();

0 commit comments

Comments
 (0)