Skip to content

Creating a controller and service #4444

Creating a controller and service

Creating a controller and service #4444

Triggered via pull request December 23, 2024 13:36
Status Failure
Total duration 1m 34s
Artifacts

dotnetcore.yml

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

Annotations

12 errors and 31 warnings
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
test (macOS-latest)
Process completed with exit code 1.
test (ubuntu-latest)
The job was canceled because "macOS-latest" failed.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
test (ubuntu-latest)
Process completed with exit code 1.
test (windows-latest)
The job was canceled because "macOS-latest" failed.
test (windows-latest)
The operation was canceled.
SonarCloud: OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
SonarCloud: OutOfSchool/OutOfSchool.DataAccess/Models/Language.cs#L14
The type or namespace name 'EducationalDiscipline' could not be found (are you missing a using directive or an assembly reference?)
SonarCloud
Process completed with exit code 1.
test (macOS-latest): OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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/IEmployeeRepository.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/Repository/EmployeeRepository.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/Models/Individual.cs#L32
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L34
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macOS-latest): OutOfSchool/OutOfSchool.DataAccess/Models/User.cs#L43
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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.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 (macOS-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?'
test (ubuntu-latest): OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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/Individual.cs#L32
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): OutOfSchool/OutOfSchool.DataAccess/Models/Individual.cs#L34
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/IEmployeeRepository.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/Repository/EmployeeRepository.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/Models/User.cs#L43
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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.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): 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?'
SonarCloud
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SonarCloud: OutOfSchool/OutOfSchool.EmailSender/Services/EmailSenderService.cs#L51
Make 'EncodeToBase64' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
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.EmailSender/Senders/SendGridEmailSender.cs#L46
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
SonarCloud: OutOfSchool/OutOfSchool.Common/Models/ExternalAuth/EnvelopedUserInfoResponse.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
SonarCloud: OutOfSchool/OutOfSchool.Common/Communication/CommunicationService.cs#L60
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)
SonarCloud: OutOfSchool/OutOfSchool.Common/IdentityResourceClaimsTypes.cs#L17
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)