Skip to content

Commit 4c5db91

Browse files
committed
Merge remote-tracking branch 'upstream/release/v0.3.0' into prepare-for-release
# Conflicts: # version.json
2 parents 2544518 + fc3aac2 commit 4c5db91

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ something is wrong with your Moq configuration.
2020
* Moq1200: Setup should be used only for overridable members
2121
* Moq1201: Setup of async methods should use `.ReturnsAsync` instance instead of `.Result`
2222
* Moq1300: Mock.As() should take interfaces
23+
* Moq1400: Explicitly choose a mocking behavior instead of relying on the default (Loose) behavior
24+
* Moq1410: Explicitly set the Strict mocking behavior
2325

2426
See [docs/rules](./docs/rules/README.md) for full documentation.
2527

docs/rules/Moq1410.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Moq1410: Explicitly set the Strict mocking behavior
22

3-
# Moq1410: Explicitly set the Strict mocking behavior
4-
53
| Item | Value |
64
| -------- | ------- |
75
| Enabled | True |

src/Analyzers/AnalyzerReleases.Shipped.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,12 @@ Moq1300 | Moq | Error | AsShouldBeUsedOnlyForInterfaceAnalyzer, [Documentation](
5959
Rule ID | Category | Severity | Notes
6060
--------|----------|----------|-------
6161
Moq1201 | Moq | Error | SetupShouldNotIncludeAsyncResultAnalyzer, [Documentation](https://github.com/rjmurillo/moq.analyzers/blob/main/docs/rules/Moq1201.md)
62+
63+
## Release 0.3.0
64+
65+
### New Rules
66+
67+
Rule ID | Category | Severity | Notes
68+
--------|----------|----------|-------
69+
Moq1400 | Moq | Warning | SetExplicitMockBehaviorAnalyzer, [Documentation](https://github.com/rjmurillo/moq.analyzers/blob/main/docs/rules/Moq1400.md)
70+
Moq1410 | Moq | Info | SetStrictMockBehaviorAnalyzer, [Documentation](https://github.com/rjmurillo/moq.analyzers/blob/main/docs/rules/Moq1410.md)
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11
; Unshipped analyzer release
22
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
3-
4-
### New Rules
5-
6-
Rule ID | Category | Severity | Notes
7-
--------|----------|----------|-------
8-
Moq1400 | Moq | Warning | SetExplicitMockBehaviorAnalyzer, [Documentation](https://github.com/rjmurillo/moq.analyzers/blob/main/docs/rules/Moq1400.md)
9-
Moq1410 | Moq | Info | SetStrictMockBehaviorAnalyzer, [Documentation](https://github.com/rjmurillo/moq.analyzers/blob/main/docs/rules/Moq1410.md)

0 commit comments

Comments
 (0)