[Bot] Started db pattern redesign #87
Annotations
1 error, 10 warnings, and 10 notices
Inspect
Issues found.
|
Inspect:
Bot/Clash/Coc.cs#L298
"[RedundantJumpStatement] Redundant control flow jump statement" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(298,10633)
|
Inspect:
Bot/Clash/Phaser.cs#L61
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(61,1875)
|
Inspect:
Bot/Clash/Phaser.cs#L62
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(62,1912)
|
Inspect:
Bot/Discord/Cmds.cs#L108
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(108,3045)
|
Inspect:
Bot/Discord/Cmds.cs#L118
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(118,3432)
|
Inspect:
Bot/Discord/Dc.cs#L86
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(86,3072)
|
Inspect:
Bot/Discord/Dc.cs#L93
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(93,3308)
|
Inspect:
Bot/Sql/BotAdmin.cs#L7
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/BotAdmin.cs(7,180)
|
Inspect:
Bot/Sql/Db.cs#L15
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(15,386)
|
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/
|
Inspect:
Bot/Clash/Coc.cs#L114
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(114,4137)
|
Inspect:
Bot/Clash/Coc.cs#L122
"[MoveLocalFunctionAfterJumpStatement] Put local function 'WaitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(122,4303)
|
Inspect:
Bot/Clash/Coc.cs#L256
"[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(256,9172)
|
Inspect:
Bot/Clash/Coc.cs#L272
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(272,9662)
|
Inspect:
Bot/Clash/Coc.cs#L281
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(281,10025)
|
Inspect:
Bot/Clash/Coc.cs#L305
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(305,10809)
|
Inspect:
Bot/Clash/Coc.cs#L314
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(314,11128)
|
Inspect:
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,1042)
|
Inspect:
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,1363)
|
Inspect:
Bot/Clash/Phaser.cs#L246
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(246,8032)
|
Loading