Skip to content

1.18.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Aug 03:41

Added

  • excludedTypes rule property to the ObjectPassedAsInterface rule.

Changed

  • Exclude common non-ref-counted interface implementations by default in ObjectPassedAsInterface.
  • Handle property references in ObjectPassedAsInterface (in addition to variables/fields).

Fixed

  • Inaccurate type comparisons between class and interface types, where class-to-class upcasts were not always preferred over class-to-interface upcasts.
  • False-positives around qualified name references in ObjectPassedAsInterface.