Skip to content

Commit

Permalink
Test "Verify latest PMD SNAPSHOT"
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Mar 17, 2024
1 parent 192b664 commit 4999949
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
java-version: '11'
distribution: 'temurin'
#- uses: pmd/pmd-github-action@v1
- uses: pmd/pmd-github-action@main
#- uses: pmd/pmd-github-action@main
#- uses: pmd/pmd-github-action@features/annotation
#- uses: adangel/pmd-github-action@support-pmd7
- uses: adangel/pmd-github-action@typescript
with:
rulesets: 'ruleset.xml,category/apex/codestyle.xml/FieldNamingConventions'
#version: '7.0.0-SNAPSHOT'
#downloadUrl: 'https://sourceforge.net/projects/pmd/files/pmd/7.0.0-SNAPSHOT/pmd-bin-7.0.0-SNAPSHOT.zip/download'
version: '7.0.0-SNAPSHOT'
downloadUrl: 'https://sourceforge.net/projects/pmd/files/pmd/7.0.0-SNAPSHOT/pmd-dist-7.0.0-SNAPSHOT-bin.zip/download'
4 changes: 4 additions & 0 deletions src/classes/LocalVariableNamingConventionsSample.cls
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ public class LocalVariableNamingConventionsSample {
Integer LOCAL_VARIABLE = 1; // should be reported as "localVariableNamingConventions" (prio 5, notice)
return LOCAL_VARIABLE;
}
public Integer foo() {
Integer LOCAL_VARIABLE = 1; // should be reported as "localVariableNamingConventions" (prio 5, notice)
return LOCAL_VARIABLE;
}
}

0 comments on commit 4999949

Please sign in to comment.