-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
This has been suggested before (#77 and #461), so just a quick reminder :-)
I'd suggest to just add 1-2 lines lines (plus maybe a link to some source).
Example for https://github.com/ergebnis/phpstan-rules#classesfinalrule
Extensive inheritance leads to unmaintainable structures (A extends B, B extends C, and so forth). A better alternative is to use [link]traits ("Composition over Inheritance").
BTW: The reason for mentioning this now is that I don't understand why named parameters would be a bad idea ;-)
https://github.com/ergebnis/phpstan-rules?tab=readme-ov-file#calllikesnonamedargumentrule