⚡ Refactor: Possible null reference assignment #1438
Annotations
14 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v1, actions/cache@v1, everpcpc/elasticsearch-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v1, actions/cache@v1, everpcpc/elasticsearch-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
src/Utils/Models/Masa.Utils.Models.Config/Paginated/PaginatedListBase.cs#L8
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
src/Utils/Models/Masa.Utils.Models.Config/Paginated/PaginatedListBase.cs#L8
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L65
Possible null reference argument for parameter 'left' in 'bool Enumeration.operator ==(Enumeration left, Enumeration right)'.
|
src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L65
Cannot convert null literal to non-nullable reference type.
|
src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L9
When implementing IComparable, you should also override <= and >=. (https://rules.sonarsource.com/csharp/RSPEC-1210)
|
src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L36
Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
|
src/BuildingBlocks/Service/Masa.BuildingBlocks.Service.Contracts/ResponseBase.cs#L6
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
src/BuildingBlocks/Service/Masa.BuildingBlocks.Service.Contracts/RequestBase.cs#L6
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
src/BuildingBlocks/Service/Masa.BuildingBlocks.Service.Contracts/MessageBase.cs#L6
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
src/BuildingBlocks/Service/Masa.BuildingBlocks.Service.Contracts/ResponseBase.cs#L23
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
This job succeeded
Loading