Skip to content

fix: Correções de algumas issues do SonarCloud #48

fix: Correções de algumas issues do SonarCloud

fix: Correções de algumas issues do SonarCloud #48

Triggered via pull request October 22, 2025 22:11
@samuelzedecsamuelzedec
synchronize #124
develop
Status Success
Total duration 2m 17s
Artifacts

sonarqube.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
sonarcloud: src/Riber.Infrastructure/Persistence/Migrations/20250714025421_InitialDatabaseWithCompanyAndUserDomain.cs#L110
Define a constant instead of using this literal 'timestamptz' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Migrations/20250714025421_InitialDatabaseWithCompanyAndUserDomain.cs#L100
Define a constant instead of using this literal 'company' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Migrations/20250714025421_InitialDatabaseWithCompanyAndUserDomain.cs#L74
Define a constant instead of using this literal 'aspnet_user_role' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationRoleClaimSeeder.cs#L43
Define a constant instead of using this literal 'products.read' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L39
Define a constant instead of using this literal 'Users' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L33
Define a constant instead of using this literal 'Categories' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L26
Define a constant instead of using this literal 'Products' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L20
Define a constant instead of using this literal 'Orders' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L14
Define a constant instead of using this literal 'Companies' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
sonarcloud: src/Riber.Domain/Entities/BaseEntity.cs#L10
Seal class 'BaseEntity' or implement 'IEqualityComparer<T>' instead. (https://rules.sonarsource.com/csharp/RSPEC-4035)