Skip to content

Added basic sonar check #9

Added basic sonar check

Added basic sonar check #9

Triggered via pull request August 16, 2024 12:35
Status Success
Total duration 1m 7s
Artifacts

code-pr-check.yml

on: pull_request
Build and run unit tests
56s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L8
'Heading.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L9
'Heading.Subtitle' hides inherited member 'ContentBase.Subtitle'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAccordion.cs#L17
'CustomAccordion.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAttachment.cs#L16
'CustomAttachment.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomCard.cs#L18
'CustomCard.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Standard/EmbeddedAsset.cs#L17
'EmbeddedAsset.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Target.cs#L10
'Target.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: tests/Dfe.ContentSupport.Web.Tests/Models/Mapped/Custom/CustomAccordionTests.cs#L49
Cannot convert null literal to non-nullable reference type.
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.