Skip to content

Update build.yml

Update build.yml #18

Triggered via push July 16, 2024 16:36
Status Failure
Total duration 1m 47s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Build
Process completed with exit code 1.
Build: src/Arquitetura.Fundamentos.DI/Program.cs#L19
Non-nullable field 'Container' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build: src/Arquitetura.Fundamentos.OOP/2 - Heranca/Heranca.cs#L8
Non-nullable property 'Registro' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build: src/Arquitetura.Fundamentos.OOP/1 - Base/Pessoa.cs#L7
Non-nullable property 'Nome' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build: src/Arquitetura.Fundamentos.OOP/6 - Heranca VS Composicao/HerancaVsComposicao.cs#L6
Non-nullable property 'CPF' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build: src/Arquitetura.Fundamentos.OOP/3 - Abstracao/Abstracao.cs#L5
Remove this unread private field '_nome' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
Build: src/Arquitetura.Fundamentos.OOP/3 - Abstracao/Abstracao.cs#L6
Remove this unread private field '_voltagem' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
Build: src/Arquitetura.Fundamentos.OOP/6 - Heranca VS Composicao/HerancaVsComposicao.cs#L12
Remove this unread private field '_pessoa' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
Build: src/Arquitetura.Fundamentos.OOP/6 - Heranca VS Composicao/HerancaVsComposicao.cs#L22
Add the 'in' keyword to parameter 'T' to make it 'contravariant'. (https://rules.sonarsource.com/csharp/RSPEC-3246)
Build: src/Arquitetura.Fundamentos.OOP/2 - Heranca/Heranca.cs#L15
Remove the unused local variable 'funcionario'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
Build: src/Arquitetura.Fundamentos.OOP/4 - Polimorfismo/Polimorfismo.cs#L22
Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. (https://rules.sonarsource.com/csharp/RSPEC-1186)