-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes in the code include updates to the versi…
…ons of Dapper, xunit, and xunit.runner.visualstudio in the EasyDbMigratorTests.csproj file. The code has also been cleaned up by removing several instances of ReSharper disable comments, which suggests that the developer is no longer suppressing certain warnings. Additionally, the code readability has been improved by adding explicit argument names to several method calls in DbMigrator.cs. The class name in the HereThePostgreSQLServerScriptsCanBeFound.cs file has been corrected for accuracy. Lastly, a new .editorconfig file has been added to the project to configure coding style rules and conventions. 1. Updated the version of Dapper from 2.1.35 to 2.1.44 in EasyDbMigratorTests.csproj. 2. Updated the version of xunit from 2.7.0 to 2.7.1 in EasyDbMigratorTests.csproj. 3. Updated the version of xunit.runner.visualstudio from 2.5.7 to 2.5.8 in EasyDbMigratorTests.csproj. 4. Removed several instances of the ReSharper disable HeapView.ObjectAllocation comment in various files. 5. Added explicit argument names to several ArgumentNullException.ThrowIfNull calls in DbMigrator.cs. 6. Added explicit argument names to several _logger.Log calls in DbMigrator.cs. 7. Replaced several instances of the type HereThePostgreSqlServerScriptsCanBeFound with HereThePostgreSQLServerScriptsCanBeFound in PostgresServerIntegrationTests.cs. 8. Replaced several instances of creating a new List<string> and immediately assigning it to another variable with creating the list and assigning it directly to the desired variable in PostgresServerIntegrationTests.cs and SqlServerIntegrationTests.cs. 9. Removed the ReSharper disable once NotNullOrRequiredMemberIsNotInitialized comment in DbMigrationsRunRowSqlServer.cs. 10. Removed the ReSharper disable once HeapView.ClosureAllocation comment in LoggingTestExtensions.cs. 11. Modified DbMigratorTests.cs to remove comments that disable the HeapView.ClosureAllocation warning. 12. Modified MigrationConfigurationTests.cs to change the way inline data is provided to the test methods. 13. Modified ScriptTests.cs to change the way inline data is provided to the test methods. 14. Corrected the casing of the class name in HereThePostgreSQLServerScriptsCanBeFound.cs. 15. Added a new .editorconfig file to the project to configure coding style rules and conventions. 16. removed Rider files
- Loading branch information
1 parent
79aa9a3
commit 17275ce
Showing
18 changed files
with
95 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[*.cs] | ||
|
||
# CA2254: Template should be a static expression | ||
dotnet_diagnostic.CA2254.severity = warning | ||
|
||
# IDE0305: Simplify collection initialization | ||
dotnet_diagnostic.IDE0305.severity = none | ||
|
||
# IDE0290: Use primary constructor | ||
dotnet_diagnostic.IDE0290.severity = none | ||
|
||
# IDE0028: Simplify collection initialization | ||
dotnet_diagnostic.IDE0028.severity = none | ||
|
||
# IDE0005: Using directive is unnecessary. | ||
dotnet_diagnostic.IDE0005.severity = warning | ||
|
||
# IDE0300: Simplify collection initialization | ||
dotnet_diagnostic.IDE0300.severity = none | ||
|
||
# IDE0270: Use coalesce expression | ||
dotnet_diagnostic.IDE0270.severity = warning | ||
|
||
# IDE0270: Use coalesce expression | ||
dotnet_style_coalesce_expression = false | ||
|
||
# IDE0079: Remove unnecessary suppression | ||
dotnet_diagnostic.IDE0079.severity = warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.