-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1530 from bart1e/no_uppercase_for_public_vars
'Not in UPPER_CASE_WITH_UNDERSCORES' warning for public constant vars removed
- Loading branch information
Showing
10 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/detectors/naming-convention/0.4.25/no_warning_for_public_constants.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contract A | ||
{ | ||
uint256 public constant myVal = 0; | ||
} |
3 changes: 3 additions & 0 deletions
3
...naming-convention/0.4.25/no_warning_for_public_constants.sol.0.4.25.NamingConvention.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
[] | ||
] |
4 changes: 4 additions & 0 deletions
4
tests/detectors/naming-convention/0.5.16/no_warning_for_public_constants.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contract A | ||
{ | ||
uint256 public constant myVal = 0; | ||
} |
3 changes: 3 additions & 0 deletions
3
...naming-convention/0.5.16/no_warning_for_public_constants.sol.0.5.16.NamingConvention.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
[] | ||
] |
4 changes: 4 additions & 0 deletions
4
tests/detectors/naming-convention/0.6.11/no_warning_for_public_constants.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contract A | ||
{ | ||
uint256 public constant myVal = 0; | ||
} |
3 changes: 3 additions & 0 deletions
3
...naming-convention/0.6.11/no_warning_for_public_constants.sol.0.6.11.NamingConvention.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
[] | ||
] |
4 changes: 4 additions & 0 deletions
4
tests/detectors/naming-convention/0.7.6/no_warning_for_public_constants.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contract A | ||
{ | ||
uint256 public constant myVal = 0; | ||
} |
3 changes: 3 additions & 0 deletions
3
...s/naming-convention/0.7.6/no_warning_for_public_constants.sol.0.7.6.NamingConvention.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
[] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters