fix: setting any content header (specifically) after setting JSON body resets HttpContent to empty #161
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/setup-node@v3, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze with SonarCloud:
src/MockHttp/Language/Flow/ICallbackResult.cs#L9
'IResponds<TResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/Flow/ISequenceResponseResult.cs#L9
'IResponds<ISequenceResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/Flow/ISequenceThrowsResult.cs#L9
'IResponds<ISequenceResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/DeprecationWarnings.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L11
'ISequenceResponseResult' implements 'IResponds<ISequenceResponseResult>' so 'IResponds<ISequenceResponseResult>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L11
'ISequenceResponseResult' implements 'IThrows<ISequenceThrowsResult>' so 'IThrows<ISequenceThrowsResult>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/IConfiguredRequest.cs#L13
'IResponds<ISequenceResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/Language/IRespondsThrows.cs#L10
'IResponds<IResponseResult>' implements 'IFluentInterface' so 'IFluentInterface' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze with SonarCloud:
src/MockHttp/IsSent.cs#L11
Remove this unread private field '_min' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Analyze with SonarCloud:
src/MockHttp/IsSent.cs#L12
Remove this unread private field '_max' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
The logs for this run have expired and are no longer available.
Loading