Rector v0.7.3 Release Notes

Release Date: 2020-03-01 // about 4 years ago
  • โž• Added

    • ๐Ÿšš [#2948] [DeadCode] Add RemoveDuplicatedIfReturnRector
    • โœ… [#2950] [GetClassOnNullRector] Add failing test in trait., Thanks to [@gnutix]
    • โœ… [#2953] AssertRegExpRectorTest: add broken test on static method call, Thanks to [@gnutix]
    • โœ… [#2956] AssertTrueFalseInternalTypeToSpecificMethodRector: add broken test method call, Thanks to [@gnutix]
    • โœ… [#2952] ReturnTypeDeclarationRector: add broken test on array indexes (?), Thanks to [@gnutix]
    • ๐Ÿ‘€ [#2951] AddSeeTestAnnotationRectorTest: add broken test for simple comment., Thanks to [@gnutix]
    • โœ… [#2943] add failing test case for [#2939], Thanks to [@fsok]
    • ๐Ÿšš [#2954] RemoveDefaultArgumentValueRector: add broken test on static method call., Thanks to [@gnutix]
    • [#2968] Class Cognitive complexity improvements + add docContent as first step to format preserving of doc nodes

    ๐Ÿ”„ Changed

    • [#2974] [DX] Improve ForToForeachRector
    • [#2966] make open-source parameter typo-proof
    • [#2969] decopule class dependency manipulator methods
    • [#2949] Improve PropertyFetchManipulator
    • [#2972] Simplify PropertyFetchManipulator
    • ๐Ÿ–จ [#2962] cleanup extra space in doc print
    • [#2975] Decrease class complexity <=50
    • [#2947] Let amount of usages decide whether whitespaces or tabs are used, Thanks to [@alexanderschnitzler]

    ๐Ÿ›  Fixed

    • [#2978] [DeadCode] Fix shifted value
    • [#2979] fix spacing for array shape item
    • [#2959] fix return dim array fetch
    • [#2960] fix naming of non-func call
    • [#2963] fix get class on trait
    • [#2964] fix complexity
    • [#2965] fix extra space in phpdoc
    • [#2977] fix array shape type
    • ๐Ÿ›  [#2961] various fixes

    โœ‚ Removed

    • ๐Ÿšš [#2946] remove dead code