Skip to content

Fix sonar analysis

Fix sonar analysis #56

Triggered via pull request March 19, 2024 20:00
Status Success
Total duration 10m 33s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: MvvmCross/ViewModels/MvxDefaultViewModelLocator.cs#L40
Nullability in constraints for type parameter 'TParameter' of method 'MvxDefaultViewModelLocator.Load<TParameter>(Type, TParameter, IMvxBundle?, IMvxBundle?, IMvxNavigateEventArgs?)' doesn't match the constraints for type parameter 'TParameter' of interface method 'IMvxViewModelLocator.Load<TParameter>(Type, TParameter, IMvxBundle?, IMvxBundle?, IMvxNavigateEventArgs?)'. Consider using an explicit interface implementation instead.
build: MvvmCross/Core/MvxSimplePropertyDictionaryExtensions.cs#L123
Dereference of a possibly null reference.
build: MvvmCross/Presenters/MvxViewPresenter.cs#L34
Converting null literal or possible null value to non-nullable type.
build: MvvmCross/ViewModels/MvxViewModelViewLookupBuilder.cs#L26
Argument of type 'IEnumerable<(Type? viewModelType, Type candidateViewType)>' cannot be used for parameter 'views' of type 'IEnumerable<(Type, Type)>' in 'IEnumerable<(Type, Type)>? MvxViewModelViewLookupBuilder.FilterViews(IEnumerable<(Type, Type)>? views)' due to differences in the nullability of reference types.
build: MvvmCross/ViewModels/MvxViewModelViewLookupBuilder.cs#L34
Argument of type 'IEnumerable<(Type? viewModelType, Type candidateViewType)>' cannot be used for parameter 'views' of type 'IEnumerable<(Type, Type)>' in 'Exception MvxViewModelViewLookupBuilder.ReportBuildProblem(IEnumerable<(Type, Type)> views, ArgumentException exception)' due to differences in the nullability of reference types.
build: MvvmCross/ViewModels/MvxChildViewModelCache.cs#L31
Converting null literal or possible null value to non-nullable type.
build: MvvmCross/ViewModels/MvxChildViewModelCache.cs#L32
Possible null reference return.
build: MvvmCross/ViewModels/MvxDefaultViewModelLocator.cs#L28
Dereference of a possibly null reference.
build: MvvmCross/ViewModels/MvxChildViewModelCache.cs#L37
Possible null reference return.

Artifacts

Produced during runtime
Name Size
build-artifacts
7.14 MB