Why is this an issue?

Any issues raised on lines with a NOSONAR marker are ignored. This marker can be useful to exclude false-positive results, but it can also be misused to hide real quality flaws.

This rule raises an issue when NOSONAR is used.

How to fix it

Remove the NOSONAR comment:

type
  MyMisnamedType = class(TObject) // NOSONAR
    // ...
  end;
type
  MyMisnamedType = class(TObject)
    // ...
  end;