fix: Make MockDirectory.Exists behavior with forward slash on Windows consistent with actual file system #1633
ci.yml
on: pull_request
Publish Tests Results
8s
Annotations
7 errors and 10 warnings
|
Static code analysis
ERROR: Error during SonarScanner execution
|
|
Static code analysis
ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator to check the permissions of the user the token belongs to
|
|
Static code analysis
ERROR:
|
|
Static code analysis
The SonarScanner did not complete successfully
|
|
Static code analysis
11:48:58.888 Post-processing failed. Exit code: 1
|
|
Static code analysis
Target "CodeAnalysisEnd" has thrown an exception
|
|
Static code analysis
Process completed with exit code 255.
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(19,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(33,26): warning S4136: All 'Delete' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(53,12): warning S2290: Remove this 'virtual' modifier of 'Deleted'. (https://rules.sonarsource.com/csharp/RSPEC-2290) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(50,12): warning S2290: Remove this 'virtual' modifier of 'Created'. (https://rules.sonarsource.com/csharp/RSPEC-2290) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
|