Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Fix error while migration - #847

Open
microhealthamand wants to merge 1 commit into
masterfrom
fix_error
Open

Fix error while migration#847
microhealthamand wants to merge 1 commit into
masterfrom
fix_error

Conversation

@microhealthamand

Copy link
Copy Markdown

No description provided.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scan Summary

Tool Critical High Medium Low Status
Dependency Scan (ruby) 0 0 1 0
Security Audit for Infrastructure 0 0 0 0
Shell Script Analysis 0 0 0 0
Secrets Audit 0 25 0 0

Recommendation

Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍

@@ -0,0 +1,8 @@
class DashboardEnum < Enumeration

Check notice

Code scanning / Rubocop

Document classes and non-namespace modules.

Style/Documentation: Missing top-level documentation comment for `class DashboardEnum`.
@@ -0,0 +1,8 @@
class DashboardEnum < Enumeration

Check notice

Code scanning / Rubocop

Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.

Style/FrozenStringLiteralComment: Missing frozen string literal comment.
@@ -0,0 +1,8 @@
class DashboardEnum < Enumeration
scope :default, -> {where(name: 'Default')}

Check notice

Code scanning / Rubocop

Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.

Layout/SpaceInsideBlockBraces: Space missing inside {.
@@ -0,0 +1,8 @@
class DashboardEnum < Enumeration
scope :default, -> {where(name: 'Default')}

Check notice

Code scanning / Rubocop

Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.

Layout/SpaceInsideBlockBraces: Space missing inside }.
@@ -0,0 +1,8 @@
class DashboardEnum < Enumeration
scope :default, -> {where(name: 'Default')}
OptionName = :enumeration_dashboard_type

Check notice

Code scanning / Rubocop

Constants should use SCREAMING_SNAKE_CASE.

Naming/ConstantName: Use SCREAMING_SNAKE_CASE for constants.
@@ -0,0 +1,8 @@
class ReportEnum < Enumeration

Check notice

Code scanning / Rubocop

Document classes and non-namespace modules.

Style/Documentation: Missing top-level documentation comment for `class ReportEnum`.
@@ -0,0 +1,8 @@
class ReportEnum < Enumeration

Check notice

Code scanning / Rubocop

Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.

Style/FrozenStringLiteralComment: Missing frozen string literal comment.
@@ -0,0 +1,8 @@
class ReportEnum < Enumeration
scope :default, -> {where(name: 'Default')}

Check notice

Code scanning / Rubocop

Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.

Layout/SpaceInsideBlockBraces: Space missing inside {.
@@ -0,0 +1,8 @@
class ReportEnum < Enumeration
scope :default, -> {where(name: 'Default')}

Check notice

Code scanning / Rubocop

Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.

Layout/SpaceInsideBlockBraces: Space missing inside }.
@@ -0,0 +1,8 @@
class ReportEnum < Enumeration
scope :default, -> {where(name: 'Default')}
OptionName = :enumeration_report_type

Check notice

Code scanning / Rubocop

Constants should use SCREAMING_SNAKE_CASE.

Naming/ConstantName: Use SCREAMING_SNAKE_CASE for constants.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants