Skip to content

Tkach/ remove StyleCop analyzer, configured settings in .editorconfig… #4331

Tkach/ remove StyleCop analyzer, configured settings in .editorconfig…

Tkach/ remove StyleCop analyzer, configured settings in .editorconfig… #4331

Triggered via push November 14, 2024 14:00
Status Success
Total duration 7m 27s
Artifacts

dotnetcore.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

44 warnings
test (macOS-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (macOS-latest): OutOfSchool/OutOfSchool.ElasticsearchData/IElasticsearchProvider.cs#L99
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Base/Api/IEntityAddOnlyRepository.cs#L100
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Api/IProviderAdminRepository.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Workshop.cs#L128
'Workshop.IsBlocked' hides inherited member 'BusinessEntity.IsBlocked'. Use the new keyword if hiding was intended.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/ProviderAdminRepository.cs#L22
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Common/Exceptions/FileStorageException.cs#L33
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Files/IFilesStorage.cs#L28
XML comment has cref attribute 'TFile' that refers to a type parameter
test (macOS-latest): OutOfSchool/OutOfSchool.Encryption/EUSignCP/EUSignCP.cs#L12321
The result of the expression is always 'true' since a value of type 'nint' is never equal to 'null' of type 'nint?'
test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (ubuntu-latest): OutOfSchool/OutOfSchool.ElasticsearchData/IElasticsearchProvider.cs#L99
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Base/Api/IEntityAddOnlyRepository.cs#L100
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Workshop.cs#L128
'Workshop.IsBlocked' hides inherited member 'BusinessEntity.IsBlocked'. Use the new keyword if hiding was intended.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/ProviderAdminRepository.cs#L22
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Api/IProviderAdminRepository.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Common/Exceptions/FileStorageException.cs#L33
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Files/IFilesStorage.cs#L28
XML comment has cref attribute 'TFile' that refers to a type parameter
test (ubuntu-latest): OutOfSchool/OutOfSchool.Encryption/EUSignCP/EUSignCP.cs#L12321
The result of the expression is always 'true' since a value of type 'nint' is never equal to 'null' of type 'nint?'
SonarCloud
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/setup-dotnet@v3, actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Services/EmailSenderService.cs#L51
Make 'EncodeToBase64' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Senders/SendGridEmailSender.cs#L46
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJobListener.cs#L53
Remove this redundant jump. (https://rules.sonarsource.com/csharp/RSPEC-3626)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L101
Make 'DecodeFrom64' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L88
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Quartz/EmailSenderJob.cs#L93
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
SonarCloud: OutOfSchool/OutOfSchool.Redis/CacheService.cs#L71
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
SonarCloud: OutOfSchool/OutOfSchool.Redis/CacheService.cs#L137
Await GetStringAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
SonarCloud: OutOfSchool/OutOfSchool.Common/Communication/CommunicationService.cs#L61
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
SonarCloud: OutOfSchool/OutOfSchool.Common/IdentityResourceClaimsTypes.cs#L11
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
test (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Base/Api/IEntityAddOnlyRepository.cs#L100
XML comment has badly formed XML -- 'Expected an end tag for element 'returns'.'
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Api/IProviderAdminRepository.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Workshop.cs#L128
'Workshop.IsBlocked' hides inherited member 'BusinessEntity.IsBlocked'. Use the new keyword if hiding was intended.
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/ProviderAdminRepository.cs#L22
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Common/Exceptions/FileStorageException.cs#L33
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
test (windows-latest): OutOfSchool/OutOfSchool.DataAccess/Repository/Files/IFilesStorage.cs#L28
XML comment has cref attribute 'TFile' that refers to a type parameter
test (windows-latest): OutOfSchool/OutOfSchool.Encryption/EUSignCP/EUSignCP.cs#L12321
The result of the expression is always 'true' since a value of type 'nint' is never equal to 'null' of type 'nint?'
test (windows-latest): OutOfSchool/OutOfSchool.Encryption/EUSignCP/EUSignCP.cs#L12375
The result of the expression is always 'true' since a value of type 'nint' is never equal to 'null' of type 'nint?'