Skip to content

Conversation

@whymatter
Copy link
Contributor

Fixes #1989 #1919

I removed the !ContainsIndexingQualifiers(selectedPath) check on this piece of code which was introduced here: aab3303#diff-53539b5c2a4cdb7276ff5e63cbe410a164938d3620ebf08f20797810d22b394c. I am 100% unsure what it does and what the implications are of me removing it. However, there are no failing tests with the condition removed.

if (!ContainsIndexingQualifiers(selectedPath))  // <-- removed this
{
    currentPath = RemoveIndexQualifiers(currentPath);
}

If removing this condition is bad for whatever reason, please tell me which test case I can add to cover this.

IMPORTANT

  • If the PR touches the public API, the changes have been approved in a separate issue with the "api-approved" label.
  • The code complies with the Coding Guidelines for C#.
  • The changes are covered by unit tests which follow the Arrange-Act-Assert syntax and the naming conventions such as is used in these tests.
  • If the PR adds a feature or fixes a bug, please update the release notes with a functional description that explains what the change means to consumers of this library, which are published on the website.
  • If the PR changes the public API the changes needs to be included by running AcceptApiChanges.ps1 or AcceptApiChanges.sh.
  • If the PR affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
    • Please also run ./build.sh --target spellcheck or .\build.ps1 --target spellcheck before pushing and check the good outcome


// If we're part of a collection comparison, the selected path will not include an index,
// so we need to remove it from the current node as well.
if (!ContainsIndexingQualifiers(selectedPath))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the part where I am not sure about the implications, since all tests are green

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In trying to confirm this, I tried checking out 77b5f2c and run the tests.
I got the same results with and without the regex replacements in PropertyPathOrderingRule, ExcludePropertyByPathSelectionRule and IgnorePropertySelectionRule.

In develop branch in PathBasedOrderingRule I can remove the all the IndexQualifier stuff completely without any tests failing.
So something similar might be going on there?

@coveralls
Copy link

coveralls commented Mar 4, 2023

Pull Request Test Coverage Report for Build 4493934804

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 97.151%

Files with Coverage Reduction New Missed Lines %
Src/FluentAssertions/Equivalency/Steps/AutoConversionStep.cs 3 86.36%
Totals Coverage Status
Change from base Build 4391754480: 0.0%
Covered Lines: 12820
Relevant Lines: 13048

💛 - Coveralls

@dennisdoomen
Copy link
Member

I removed the !ContainsIndexingQualifiers(selectedPath) check on this piece of code which was introduced here: aab3303#diff-53539b5c2a4cdb7276ff5e63cbe410a164938d3620ebf08f20797810d22b394c. I am 100% unsure what it does and what the implications are of me removing it. However, there are no failing tests with the condition removed.

It was necessary to normalize an expression containing an index qualifier like root.Collection[0].Property to []. You can still use a string with a nested path or an expression to select members to include and exclude. I'm embarrassed to not see a test in that commit though.

@whymatter
Copy link
Contributor Author

Hmm, I don´t understand it. RemoveIndexQualifiers does only something if the root is a collection, right? So that the following is true

RemoveIndexQualifiers("root[0].Foo[2].Bar") = "root.Foo[2].Bar" // root is collection
RemoveIndexQualifiers("root.Foo[2].Bar") => "root.Foo[2].Bar".  // root is no collection

The if condition I removed prevents the first case from happening if I add an exclusion like x => x.Foo[2].Bar. Why?
What is a test case for the if condition? I don't get it :(

@dennisdoomen
Copy link
Member

Hmm, I don´t understand it. RemoveIndexQualifiers does only something if the root is a collection, right?

No, it was called when the path contained any [ and ], regardless of the root. This was used in expressions, not strings.

So opt.Excluding(x => x.Foo[2].Bar) would get normalized to root.Foo[].Bar, which is the old way of doing opt.For(x => x.Foo).Excluding(y => .Bar).

@whymatter
Copy link
Contributor Author

So is my PR fine then?

@dennisdoomen
Copy link
Member

So is my PR fine then?

I'm not sure anymore if my memory is serving me well. But the issue was that if we were using BeEquivalentTo on a collection, the caller could provide the property path for including or excluding a property without the first index (e.g. root[0]). Instead, it would specify the path that assumes an item of the collection. But the actual path of the node in the graph will include root[0] or something like that.

@dennisdoomen
Copy link
Member

Also, if I remove that part, I have about 30 tests failing

@whymatter
Copy link
Contributor Author

Also, if I remove that part, I have about 30 tests failing

I assume you removed the line currentPath = RemoveIndexQualifiers(currentPath); as well? I just removed the if condition so that currentPath = RemoveIndexQualifiers(currentPath); executes all the time

@dennisdoomen
Copy link
Member

I assume you removed the line currentPath = RemoveIndexQualifiers(currentPath); as well? I just removed the if condition so that currentPath = RemoveIndexQualifiers(currentPath); executes all the time

Yeah, I removed the entire if statement.

@whymatter
Copy link
Contributor Author

I assume you removed the line currentPath = RemoveIndexQualifiers(currentPath); as well? I just removed the if condition so that currentPath = RemoveIndexQualifiers(currentPath); executes all the time

Yeah, I removed the entire if statement.

Okay, so because currentPath = RemoveIndexQualifiers(currentPath); is definitely required.
However, I do not understand if and why the if surrounding it is required? (Especially because removing the if resolves the bug I am working on)

@dennisdoomen
Copy link
Member

However, I do not understand if and why the if surrounding it is required? (Especially because removing the if resolves the bug I am working on)

Me neither. So if all the tests succeed, I guess this should be good enough. I can't think of a scenario where we would not want to remove the starting [0]

# Conflicts:
#	Src/FluentAssertions/Equivalency/Selection/SelectMemberByPathSelectionRule.cs
@whymatter whymatter marked this pull request as ready for review March 12, 2023 17:11
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
Copy link
Member

@jnyrup jnyrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it really weird that we have code that apparently never had any purpose according to our tests.
I'm fine with doing this and then we must release a another patch version if we ended up breaking a case.

@dennisdoomen dennisdoomen merged commit 1829408 into fluentassertions:develop Apr 1, 2023
@jnyrup jnyrup added the bug label Apr 10, 2023
@jnyrup jnyrup changed the title Make Excluding() work on nested collections if root is a collection Make Excluding() work on nested collections if root is a collection Apr 15, 2023
renovate bot referenced this pull request in cythral/brighid-discord-adapter Apr 20, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [FluentAssertions](https://www.fluentassertions.com/)
([source](https://togithub.com/fluentassertions/fluentassertions)) |
nuget | minor | `6.10.0` -> `6.11.0` |

---

### Release Notes

<details>
<summary>fluentassertions/fluentassertions</summary>

###
[`v6.11.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.11.0)

[Compare
Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.10.0...6.11.0)

<!-- Release notes generated using configuration in .github/release.yml
at develop -->

#### What's Changed

##### New features

- Added `ThrowWithinAsync` assertions by
[@&#8203;lg2de](https://togithub.com/lg2de) in
[https://github.com/fluentassertions/fluentassertions/pull/1974](https://togithub.com/fluentassertions/fluentassertions/pull/1974)
- Add `WithoutStrictOrderingFor` overload with an expression by
[@&#8203;chrischu](https://togithub.com/chrischu) in
[https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151)

##### Improvements

- Add support to convert into to enum by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147)
- Use `ToString` to format exceptions by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2150](https://togithub.com/fluentassertions/fluentassertions/pull/2150)

##### Fixes

- Increase robustness of assertions when wrapped in an `AssertionScope`
by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2133](https://togithub.com/fluentassertions/fluentassertions/pull/2133)
- Ensured the maximum depth is properly respecting the "official"
definition of depth by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2145](https://togithub.com/fluentassertions/fluentassertions/pull/2145)
- Prevent `NullReferenceException` by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2154](https://togithub.com/fluentassertions/fluentassertions/pull/2154)
- Make `Excluding()` work on nested collections if root is a collection
by [@&#8203;whymatter](https://togithub.com/whymatter) in
[https://github.com/fluentassertions/fluentassertions/pull/2135](https://togithub.com/fluentassertions/fluentassertions/pull/2135)
- Prevent `InvalidOperationException` when formatting lambda expression
by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2176](https://togithub.com/fluentassertions/fluentassertions/pull/2176)

##### Documentation

- Add missing xml docs for parameters by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2134](https://togithub.com/fluentassertions/fluentassertions/pull/2134)
- Fix xml docs for time-related assertions by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2153](https://togithub.com/fluentassertions/fluentassertions/pull/2153)
- fix link to PR in release notes by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2171](https://togithub.com/fluentassertions/fluentassertions/pull/2171)
- Do not interpret double braces as liquid template by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2181](https://togithub.com/fluentassertions/fluentassertions/pull/2181)

##### Others

- Add optional parameter to generate a `binlog` file by
[@&#8203;IT-VBFK](https://togithub.com/IT-VBFK) in
[https://github.com/fluentassertions/fluentassertions/pull/2127](https://togithub.com/fluentassertions/fluentassertions/pull/2127)
- Dynamic copyright year by
[@&#8203;martincostello](https://togithub.com/martincostello) in
[https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128)
- Minor tweaks to the .editorconfig and reformatted the entire code base
by [@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2117](https://togithub.com/fluentassertions/fluentassertions/pull/2117)
- Update Nugets by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2129](https://togithub.com/fluentassertions/fluentassertions/pull/2129)
- Styling to please both VS and Rider by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2130](https://togithub.com/fluentassertions/fluentassertions/pull/2130)
- Use a fixed seed for random generator by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2131](https://togithub.com/fluentassertions/fluentassertions/pull/2131)
- Pluralize "key" in failure message by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2138](https://togithub.com/fluentassertions/fluentassertions/pull/2138)
- Preparing upgrade of analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2136](https://togithub.com/fluentassertions/fluentassertions/pull/2136)
- Exception cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2155](https://togithub.com/fluentassertions/fluentassertions/pull/2155)
- Cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2156](https://togithub.com/fluentassertions/fluentassertions/pull/2156)
- await `Task` when inside using block by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2157](https://togithub.com/fluentassertions/fluentassertions/pull/2157)
- Use init properties by [@&#8203;jnyrup](https://togithub.com/jnyrup)
in
[https://github.com/fluentassertions/fluentassertions/pull/2158](https://togithub.com/fluentassertions/fluentassertions/pull/2158)
- Introduce Roslynator with adjusted rules and addressed issues by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2159](https://togithub.com/fluentassertions/fluentassertions/pull/2159)
- Regex cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2162](https://togithub.com/fluentassertions/fluentassertions/pull/2162)
- Introduce the Meziantou.Analyzer to improve our code even more. by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2160](https://togithub.com/fluentassertions/fluentassertions/pull/2160)
- Some internal naming improvements by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2164](https://togithub.com/fluentassertions/fluentassertions/pull/2164)
- Extracts the type reflection logic into a dedicated class by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2165](https://togithub.com/fluentassertions/fluentassertions/pull/2165)
- Update to C# 11 by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2166](https://togithub.com/fluentassertions/fluentassertions/pull/2166)
- Improve the `DataRowCollectionEquivalency` code coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2163](https://togithub.com/fluentassertions/fluentassertions/pull/2163)
- Improve the ExpressionExtensions coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2168](https://togithub.com/fluentassertions/fluentassertions/pull/2168)
- Improve the DateOnly and TimeOnly code coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2167](https://togithub.com/fluentassertions/fluentassertions/pull/2167)
- Update to Coveralls v2 by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2173](https://togithub.com/fluentassertions/fluentassertions/pull/2173)
- Migrate from FxCop to .NET Analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2174](https://togithub.com/fluentassertions/fluentassertions/pull/2174)
- Use builtin coveralls flag to ignore missing coverage file by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2178](https://togithub.com/fluentassertions/fluentassertions/pull/2178)
- Revert "Use builtin coveralls flag to ignore missing coverage file" by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2183](https://togithub.com/fluentassertions/fluentassertions/pull/2183)
- Ensure running the site works again by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2185](https://togithub.com/fluentassertions/fluentassertions/pull/2185)
- Prepare for .NET 8 analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2184](https://togithub.com/fluentassertions/fluentassertions/pull/2184)
- Update Ruby dependencies by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2182](https://togithub.com/fluentassertions/fluentassertions/pull/2182)

#### New Contributors

- [@&#8203;martincostello](https://togithub.com/martincostello) made
their first contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128)
- [@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) made their
first contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147)
- [@&#8203;chrischu](https://togithub.com/chrischu) made their first
contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151)

**Full Changelog**:
fluentassertions/fluentassertions@6.10.0...6.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-discord-adapter).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in cythral/brighid-commands Apr 20, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [FluentAssertions](https://www.fluentassertions.com/)
([source](https://togithub.com/fluentassertions/fluentassertions)) |
nuget | minor | `6.10.0` -> `6.11.0` |

---

### Release Notes

<details>
<summary>fluentassertions/fluentassertions</summary>

###
[`v6.11.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.11.0)

[Compare
Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.10.0...6.11.0)

<!-- Release notes generated using configuration in .github/release.yml
at develop -->

#### What's Changed

##### New features

- Added `ThrowWithinAsync` assertions by
[@&#8203;lg2de](https://togithub.com/lg2de) in
[https://github.com/fluentassertions/fluentassertions/pull/1974](https://togithub.com/fluentassertions/fluentassertions/pull/1974)
- Add `WithoutStrictOrderingFor` overload with an expression by
[@&#8203;chrischu](https://togithub.com/chrischu) in
[https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151)

##### Improvements

- Add support to convert into to enum by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147)
- Use `ToString` to format exceptions by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2150](https://togithub.com/fluentassertions/fluentassertions/pull/2150)

##### Fixes

- Increase robustness of assertions when wrapped in an `AssertionScope`
by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2133](https://togithub.com/fluentassertions/fluentassertions/pull/2133)
- Ensured the maximum depth is properly respecting the "official"
definition of depth by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2145](https://togithub.com/fluentassertions/fluentassertions/pull/2145)
- Prevent `NullReferenceException` by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2154](https://togithub.com/fluentassertions/fluentassertions/pull/2154)
- Make `Excluding()` work on nested collections if root is a collection
by [@&#8203;whymatter](https://togithub.com/whymatter) in
[https://github.com/fluentassertions/fluentassertions/pull/2135](https://togithub.com/fluentassertions/fluentassertions/pull/2135)
- Prevent `InvalidOperationException` when formatting lambda expression
by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2176](https://togithub.com/fluentassertions/fluentassertions/pull/2176)

##### Documentation

- Add missing xml docs for parameters by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2134](https://togithub.com/fluentassertions/fluentassertions/pull/2134)
- Fix xml docs for time-related assertions by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2153](https://togithub.com/fluentassertions/fluentassertions/pull/2153)
- fix link to PR in release notes by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2171](https://togithub.com/fluentassertions/fluentassertions/pull/2171)
- Do not interpret double braces as liquid template by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2181](https://togithub.com/fluentassertions/fluentassertions/pull/2181)

##### Others

- Add optional parameter to generate a `binlog` file by
[@&#8203;IT-VBFK](https://togithub.com/IT-VBFK) in
[https://github.com/fluentassertions/fluentassertions/pull/2127](https://togithub.com/fluentassertions/fluentassertions/pull/2127)
- Dynamic copyright year by
[@&#8203;martincostello](https://togithub.com/martincostello) in
[https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128)
- Minor tweaks to the .editorconfig and reformatted the entire code base
by [@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2117](https://togithub.com/fluentassertions/fluentassertions/pull/2117)
- Update Nugets by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2129](https://togithub.com/fluentassertions/fluentassertions/pull/2129)
- Styling to please both VS and Rider by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2130](https://togithub.com/fluentassertions/fluentassertions/pull/2130)
- Use a fixed seed for random generator by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2131](https://togithub.com/fluentassertions/fluentassertions/pull/2131)
- Pluralize "key" in failure message by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2138](https://togithub.com/fluentassertions/fluentassertions/pull/2138)
- Preparing upgrade of analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2136](https://togithub.com/fluentassertions/fluentassertions/pull/2136)
- Exception cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2155](https://togithub.com/fluentassertions/fluentassertions/pull/2155)
- Cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2156](https://togithub.com/fluentassertions/fluentassertions/pull/2156)
- await `Task` when inside using block by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2157](https://togithub.com/fluentassertions/fluentassertions/pull/2157)
- Use init properties by [@&#8203;jnyrup](https://togithub.com/jnyrup)
in
[https://github.com/fluentassertions/fluentassertions/pull/2158](https://togithub.com/fluentassertions/fluentassertions/pull/2158)
- Introduce Roslynator with adjusted rules and addressed issues by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2159](https://togithub.com/fluentassertions/fluentassertions/pull/2159)
- Regex cleanup by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2162](https://togithub.com/fluentassertions/fluentassertions/pull/2162)
- Introduce the Meziantou.Analyzer to improve our code even more. by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2160](https://togithub.com/fluentassertions/fluentassertions/pull/2160)
- Some internal naming improvements by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2164](https://togithub.com/fluentassertions/fluentassertions/pull/2164)
- Extracts the type reflection logic into a dedicated class by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2165](https://togithub.com/fluentassertions/fluentassertions/pull/2165)
- Update to C# 11 by [@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2166](https://togithub.com/fluentassertions/fluentassertions/pull/2166)
- Improve the `DataRowCollectionEquivalency` code coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2163](https://togithub.com/fluentassertions/fluentassertions/pull/2163)
- Improve the ExpressionExtensions coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2168](https://togithub.com/fluentassertions/fluentassertions/pull/2168)
- Improve the DateOnly and TimeOnly code coverage by
[@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) in
[https://github.com/fluentassertions/fluentassertions/pull/2167](https://togithub.com/fluentassertions/fluentassertions/pull/2167)
- Update to Coveralls v2 by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2173](https://togithub.com/fluentassertions/fluentassertions/pull/2173)
- Migrate from FxCop to .NET Analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2174](https://togithub.com/fluentassertions/fluentassertions/pull/2174)
- Use builtin coveralls flag to ignore missing coverage file by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2178](https://togithub.com/fluentassertions/fluentassertions/pull/2178)
- Revert "Use builtin coveralls flag to ignore missing coverage file" by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2183](https://togithub.com/fluentassertions/fluentassertions/pull/2183)
- Ensure running the site works again by
[@&#8203;dennisdoomen](https://togithub.com/dennisdoomen) in
[https://github.com/fluentassertions/fluentassertions/pull/2185](https://togithub.com/fluentassertions/fluentassertions/pull/2185)
- Prepare for .NET 8 analyzers by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2184](https://togithub.com/fluentassertions/fluentassertions/pull/2184)
- Update Ruby dependencies by
[@&#8203;jnyrup](https://togithub.com/jnyrup) in
[https://github.com/fluentassertions/fluentassertions/pull/2182](https://togithub.com/fluentassertions/fluentassertions/pull/2182)

#### New Contributors

- [@&#8203;martincostello](https://togithub.com/martincostello) made
their first contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128)
- [@&#8203;sdelarosbil](https://togithub.com/sdelarosbil) made their
first contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147)
- [@&#8203;chrischu](https://togithub.com/chrischu) made their first
contribution in
[https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151)

**Full Changelog**:
fluentassertions/fluentassertions@6.10.0...6.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

4 participants