rspec/rules/S3923/description.adoc
kevin.hinz a46b16aa88
Modify rule: Update rule descriptions (#3655)
Changes suggested by the Docs Squad:

* Modify rule s2178: Update rule description
- formalize word selection to clarify the description

* Modify rule S2551: capitalize `String`
- follow the capitalization of a proper noun, in accordance with the referenced link

* Modify rule S3923: improve word choice

* Modify rule S2551: capitalize String
- `String` is used as a VB `object` in this example. 
- A new PR will be issued to make a more substantial improvement
2024-02-23 13:55:16 +01:00

8 lines
263 B
Plaintext

Having all branches of a `switch` or `if` chain with the same implementation indicates a problem.
In the following code:
include::{example}[]
Either there is a copy-paste error that needs fixing or an unnecessary `switch` or `if` chain that should be removed.