Skip to content

Commit 4c2dcd5

Browse files
authored
Upgrade packages (#1279)
1 parent 2b53e46 commit 4c2dcd5

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

Directory.Build.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
Use fixed version of analyzers.
3535
-->
3636
<ItemGroup>
37-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1" PrivateAssets="all" />
38-
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" />
37+
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all" />
3938
<PackageReference Include="Meziantou.Analyzer" Version="2.0.103" PrivateAssets="all" />
40-
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" PrivateAssets="all" />
39+
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.16.0.82469" PrivateAssets="all" />
4140
</ItemGroup>
4241
</Project>

build/nuget/SSH.NET.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<tags>ssh scp sftp</tags>
1818
<dependencies>
1919
<group targetFramework="net462">
20-
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
20+
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[8.0.0]" />
2121
</group>
2222
<group targetFramework="netstandard2.0">
23-
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
23+
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[8.0.0]" />
2424
<dependency id="SshNet.Security.Cryptography" version="[1.3.0]" />
2525
</group>
2626
<group targetFramework="netstandard2.1">

src/Renci.SshNet/Renci.SshNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'netstandard2.0' ">
17-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
17+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
1818
</ItemGroup>
1919

2020
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0' or '$(TargetFramework)' == 'net8.0' ">

test/.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ dotnet_diagnostic.CA1711.severity = none
130130
# We do not care about this for unit tests.
131131
dotnet_diagnostic.CA1720.severity = none
132132

133+
# CA1861: Avoid constant arrays as arguments
134+
#
135+
# We do not care about this for unit tests.
136+
dotnet_diagnostic.CA1861.severity = none
137+
133138
# CA5351: Do not use broken cryptographic algorithms
134139
#
135140
# We do not care about this for unit tests.

test/Renci.SshNet.IntegrationTests/HostConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static HostConfig Read(ScpClient scpClient, string path)
2929
while ((line = sr.ReadLine()) != null)
3030
{
3131
// skip comments
32-
if (line.StartsWith("#"))
32+
if (line.StartsWith('#'))
3333
{
3434
continue;
3535
}

0 commit comments

Comments
 (0)