[Bot] Add Donation table to db #91
Annotations
1 error, 11 warnings, and 10 notices
|
Bot/Clash/Coc.cs#L43
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(43,53)
|
Bot/Clash/Phaser.cs#L61
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(61,22)
|
Bot/Clash/Phaser.cs#L62
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(62,22)
|
Bot/Discord/Cmds.cs#L108
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(108,85)
|
Bot/Discord/Cmds.cs#L118
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(118,70)
|
Bot/Discord/Dc.cs#L86
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(86,50)
|
Bot/Discord/Dc.cs#L93
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(93,50)
|
Bot/Sql/BotAdmin.cs#L7
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/BotAdmin.cs(7,86)
|
Bot/Sql/Db.cs#L21
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(21,37)
|
Bot/Sql/Donation.cs#L13
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'Donated.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(13,26)
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Bot".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Bot/Clash/Phaser.cs#L36
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(36,9)
|
Bot/Clash/Coc.cs#L285
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(285,9)
|
Bot/Clash/Phaser.cs#L45
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(45,9)
|
Bot/Sql/Donation.cs#L10
"[InconsistentNaming] Name 'CocID' does not match rule 'Properties'. Suggested name is 'CocId'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(10,19)
|
Bot/Sql/Donation.cs#L20
"[IntroduceOptionalParameters.Global] Introduce optional parameter(s) for primary constructor 'Donation(long, string, int, int)'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(20,66)
|
Bot/Clash/Coc.cs#L301
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(301,5)
|
Bot/Clash/Phaser.cs#L246
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(246,5)
|
Bot/Clash/Coc.cs#L310
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(310,27)
|
Bot/Clash/Coc.cs#L335
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(335,27)
|
Bot/Discord/Dc.cs#L64
"[MoveLocalFunctionAfterJumpStatement] Put local function 'ProcessViolator' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(64,23)
|
This job failed
Loading