Rector v0.7.0 Release Notes

Release Date: 2020-02-14 // about 4 years ago
  • โž• Added

    • [#2795] [CakePHPToSymfony] Add CakePHPBeforeFilterToRequestEventSubscriberRector
    • [#2850] [PHPStan] Add KeepRectorNamespaceForRectorRule
    • ๐Ÿ”จ [#2784] [PHPUnit] feature: add rule to refactor exception methods, Thanks to [@alfredbez]
    • [#2849] [Renaming] Add RenameFuncCallToStaticCallRector
    • ๐Ÿ‘ [#2811] Add support for phpunit 9, Thanks to [@snapshotpl]
    • [#2843] add more checks to 'composer complete-check', Thanks to [@alfredbez]
    • [#2802] added --config parameter to README, Thanks to [@C0pyR1ght]

    ๐Ÿ”„ Changed

    • ๐Ÿšš [#2781] [PhpDoc] move get param types to php doc info
    • [#2830] Decouple Static Type Mapper
    • ๐Ÿ“ฆ [#2838] move Rector-rule based packages from /packages to /rules
    • ๐Ÿ’… [#2756] github-action: Annotate Github Pull Requests based on a Checkstyle Xโ€ฆ, Thanks to [@staabm]
    • [#2829] decouple PropertyFetchTypeResolver
    • ๐Ÿšš [#2847] move core architecture to own set
    • ๐Ÿ”€ [#2775] Merge pull request [#2775] from rectorphp/php-doc-object-attribute
    • [#2845] improve original format in CallableTypeNode
    • ๐Ÿ”€ [#2783] Merge pull request [#2783] from rectorphp/cleanup-parsed-nodes
    • โšก๏ธ [#2844] Update to PHPStan 0.12.10 stable
    • ๐Ÿ”€ [#2786] Merge pull request [#2786] from rectorphp/php-doc-only
    • [#2792] decouple ImplicitToExplicitRoutingAnnotationDecorator
    • ๐Ÿ”€ [#2794] Merge pull request [#2794] from rectorphp/cakephp-before-request
    • [#2840] Inject the coveralls token as a secret, Thanks to [@ikvasnica]
    • 0๏ธโƒฃ [#2797] use PhpDocInfo by default
    • [#2799] DocBlockManipulator decoupling
    • [#2801] Decouple DocBlockClassRenamer
    • ๐Ÿ”€ [#2790] Merge pull request [#2790] from rectorphp/cakephp-routes-to-explicit
    • ๐Ÿšš [#2807] Move src namespace frm Rector\ to Rector\Core\
    • [#2817] decouple ParentConstantReflectionResolver
    • ๐Ÿ“ฆ [#2825] decouple VendorLock package
    • [#2821] rector for doctrine setParameters method, Thanks to [@vladyslavstartsev]
    • ๐Ÿ“œ [#2818] decouple function node finder and collector from ParsedNodesByType
    • ๐Ÿ“ฆ [#2823] NodeNameResolver decoupled to own package
    • [#2742] Decouple PHPStan Type to function resolver logic, Thanks to [@Lctrs]
    • ๐Ÿ“ฆ [#2810] rename package to use lowercased standard, prevent confusion with PSR-4
    • [#2791] [cs] apply property and method order

    ๐Ÿ—„ Deprecated

    • ๐Ÿšš [#2780] remove deprecated removeBy*() in DocBlockManipulator

    ๐Ÿ›  Fixed

    • ๐Ÿ›  [#2819] Cognitive complexity fixes
    • [#2813] Fix encapsed
    • ๐Ÿ— [#2846] Fix dev in build
    • ๐Ÿ— [#2808] Fix replacement for Table::buildRules(), Thanks to [@markstory]
    • โšก๏ธ [#2800] Update to PHPStan 0.12.9 and fix scoping deps
    • [#2812] [PHP 74] Fix ArraySpreadInsteadOfArrayMergeRector for non-constant string keys
    • ๐Ÿ›  [#2816] PHPStan fixes, Thanks to [@ondrejmirtes]
    • [#2814] Fix protected parent constant override

    โœ‚ Removed

    • ๐Ÿšš [#2831] remove parameter in imports
    • ๐Ÿšš [#2827] remove unused method
    • ๐Ÿšš [#2798] Remove nullable PhpDoc
    • ๐Ÿšš [#2826] remove duplicated method
    • ๐Ÿ”€ [#2787] Merge pull request [#2787] from rectorphp/remove-setter-only
    • ๐Ÿ”€ [#2789] Merge pull request [#2789] from rectorphp/remove-many-args