fix: suppress Moq1203 for setup wrapped in extension methods #1086
Codacy Production / Codacy Static Code Analysis
required action
Mar 31, 2026 in 0s
1 new issue (0 max.) of at least medium severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 3
See the complete overview on Codacy
Annotations
Check notice on line 347 in src/Common/ISymbolExtensions.Moq.cs
codacy-production / Codacy Static Code Analysis
src/Common/ISymbolExtensions.Moq.cs#L347
Reduce the number of conditional operators (6) used in the expression (maximum allowed 3).
codacy-production / Codacy Static Code Analysis
tests/Moq.Analyzers.Test/MethodSetupShouldSpecifyReturnValueAnalyzerTests.cs#L664
Method MethodSetupShouldSpecifyReturnValueAnalyzerTests::BuildWrappedSetupSource has 102 lines of code (limit is 50)
codacy-production / Codacy Static Code Analysis
tests/Moq.Analyzers.Test/MethodSetupShouldSpecifyReturnValueAnalyzerTests.cs#L798
Remove the 'Async' suffix to the name of this method.
Loading