fix: setting any content header (specifically) after setting JSON body resets HttpContent to empty #161
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
11 warnings
analysis
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/.
|
analysis:
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)
|
analysis:
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)
|
analysis:
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)
|
analysis:
src/MockHttp/DeprecationWarnings.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
analysis:
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)
|
analysis:
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)
|
analysis:
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)
|
analysis:
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)
|
analysis:
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)
|
analysis:
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)
|