Skip to content

Improve dotnet templates #14015

Improve dotnet templates

Improve dotnet templates #14015

Triggered via pull request July 26, 2024 12:24
Status Success
Total duration 17m 59s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
CodeQL-Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v2, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CodeQL-Build: src/Umbraco.Core/Services/Querying/RecycleBin/RecycleBinQueryResultType.cs#L4
XML comment has badly formed XML -- 'An identifier was expected.'
CodeQL-Build: src/Umbraco.Core/PropertyEditors/JsonPropertyIndexValueFactoryBase.cs#L5
The using directive for 'Umbraco.Cms.Core.Serialization' appeared previously in this namespace
CodeQL-Build: src/Umbraco.Core/Services/UserService.cs#L7
The using directive for 'Microsoft.Extensions.DependencyInjection' appeared previously in this namespace
CodeQL-Build: src/Umbraco.Core/Services/UserService.cs#L14
The using directive for 'Umbraco.Cms.Core.DependencyInjection' appeared previously in this namespace
CodeQL-Build: src/Umbraco.Core/Exceptions/DataOperationException.cs#L100
Member 'DataOperationException<T>.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'DataOperationException<T>.GetObjectData(SerializationInfo, StreamingContext)'.
CodeQL-Build: src/Umbraco.Core/Exceptions/InvalidCompositionException.cs#L145
Member 'InvalidCompositionException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidCompositionException.GetObjectData(SerializationInfo, StreamingContext)'.
CodeQL-Build: src/Umbraco.Core/Media/EmbedProviders/X.cs#L21
Member 'X.GetMarkup(string, int, int)' overrides obsolete member 'OEmbedProviderBase.GetMarkup(string, int, int)'. Add the Obsolete attribute to 'X.GetMarkup(string, int, int)'.
CodeQL-Build: src/Umbraco.Core/Install/InstallException.cs#L111
Member 'InstallException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InstallException.GetObjectData(SerializationInfo, StreamingContext)'.
CodeQL-Build: src/Umbraco.Core/Models/Blocks/BlockGridModel.cs#L22
'BlockGridModel.Empty' hides inherited member 'ReadOnlyCollection<BlockGridItem>.Empty'. Use the new keyword if hiding was intended.
CodeQL-Build
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/