All Versions
131
Latest Version
Avg Release Cycle
2 days
Latest Release
-

Changelog History
Page 5

  • v0.7.51 Changes

    July 21, 2020
    • ๐Ÿ’… [#3750] [CodingStyle] Create WrapEncapsedVariableInCurlyBracesRector, Thanks to [@u01jmg3]
  • v0.7.49 Changes

    July 21, 2020

    โž• Added

    • [#3712] [Legacy] Add AddTopIncludeRector squash, Thanks to [@phpfui]
    • ๐Ÿšš [#3705] [Symfony] Add RemoveDefaultGetBlockPrefixRector
    • ๐Ÿ‘ [#3700] [Symfony] add support for options to entry_options rename in collection
    • [#3731] add TemplateAnnotationToThisRenderRector for nested closure
    • [#3697] [Symfony 3.0] Add ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector
    • [#3709] Add Comparison to ComparisonExpression rename, Thanks to [@othercorey]
    • ๐Ÿ”จ [#3720] Add more refactorings for CakePHP 4.0, Thanks to [@markstory]
    • [#3695] [Symfony 3.0] Add ChangeCollectionTypeOptionTypeFromStringToClassReferenceRector
    • ๐Ÿ‘ [#3735] add rector.php support
    • ๐Ÿ‘ [#3701] add support for options to entry_options rename in collection
    • [#3699] [Utils] Add RequireStringArgumentInMethodCallRule
    • [#3745] [ci] add colors

    ๐Ÿ”„ Changed

    • ๐Ÿ’… [#3717] [CodingStyle] Create new TernaryConditionVariableAssignmentRector, Thanks to [@u01jmg3]
    • ๐Ÿ’… [#3732] [CodingStyle] Create new WrapVariableVariableNameInCurlyBracesRector, Thanks to [@u01jmg3]
    • [#3744] [DeadCode] Skip [@api] in unused public constants
    • โœ… [#3713] [Legacy] Correct test for AddTopIncludeRector
    • [#3737] [Naming] Decoupling of RenameVariableToMatchGetMethodNameRector
    • [#3706] [Naming] Name variable after get method, Thanks to [@dobryy]
    • [#3738] [Naming] Skip non-object type returns, classes with children and typical naming patterns
    • [#3740] [Naming] apply "new" naming rule
    • [#3707] [Renaming] Prevent RenameMethodRector from renaming to duplicated class method and in class itself
    • ๐Ÿ“ฆ [#3741] [Set] move to new package
    • โšก๏ธ [#3704] [Symfony] Update instance to class reference to collection types
    • [#3703] [Symfony 3.0] cleanup get name
    • [#3698] make use of AbstractFormAddRector
    • [#3724] Switch ecs.yaml to ecs.php
    • [#3719] config YAML to PHP
    • [#3722] Improve grammar, Thanks to [@u01jmg3]
    • [#3723] Convert config.php to config.yaml
    • [#3725] change ecs-after-rector.yaml to ecs-after-rector.php
    • ๐Ÿ”ง [#3727] Switch rector-ci configuration from YAML to PHP
    • [#3730] use of constants
    • [#3733] correct namespace in configs
    • ๐Ÿ’… [#3746] Move existing Rector from the coding-style set to the php70 set, Thanks to [@u01jmg3]
    • [#3747] make use of new set from symplify
    • [#3694] tyding
    • [#3734] [sets] YAML to PHP

    ๐Ÿ›  Fixed

    • [#3739] [Naming] Apply RenameVariableToMatchGetMethodNameRector on code + fix docblock rename
    • [#3736] Fixing Compiler

    โœ‚ Removed

    • ๐Ÿšš [#3708] [Renaming] Remove RenameMethodCallRector, ported to RenameMethodRector
  • v0.7.48 Changes

    โž• Added

    • ๐Ÿ‘ [#3678] [Symfony] add Kernel support to ChangeFileLoaderInExtensionAndKernelRector
    • [#3690] [Symfony 3] Add custom xml to StringFormTypeToClassRector"

    ๐Ÿ”„ Changed

    • ๐Ÿ’… [#3680] [CodingStyle] Import classes only for Fully Qualified class names byt skipping all Qualified names, Thanks to [@dobryy]
    • โฌ‡๏ธ [#3686] [Downgrade] PHP 7.4 to 7.1 (Property Type), Thanks to [@dobryy]
    • ๐Ÿšš [#3687] [Legacy] RemoveIncludeRector, Thanks to [@phpfui]
    • [#3682] [MysqlToMysqli] Mysql mysqli stackoverflow feedback, Thanks to [@ludekbenedik]
    • ๐Ÿ”ง [#3676] [Symfony] Extend ChangeFileLoaderInExtensionRectorTest to make it configurable
    • [#3665] Check minimum required php version from composer.json, Thanks to [@dobryy]
    • [#3691] inform about wrong path to config param
    • [#3677] Prevent negative values for IndentLevel, Thanks to [@phpfui]
    • ๐Ÿ— [#3692] use strings over ::class in type detection, as they get prefixed by phar builder

    ๐Ÿ›  Fixed

    • [#3683] [Php74] Fix AddLiteralSeparatorToNumberRector if float number has zero after โ€ฆ, Thanks to [@ludekbenedik]
    • [#3689] [SOLID] fix foreach variable override in const decoupling
    • [#3693] fix import of already existing param/var/return type or class annotation
    • [#3674] fix data provider to iterator

    โœ‚ Removed

    • ๐Ÿšš [#3669] [MockeryToProphecy] Remove close call to mockery from test classes, Thanks to [@jaapio]
    • ๐Ÿšš [#3672] [cs] remove throws
  • v0.7.47 Changes

    July 07, 2020

    โž• Added

    • [#3664] [Symfony] Add ChangeXmlToYamlFileLoaderInExtensionRector

    ๐Ÿ”„ Changed

    • [#3670] [CodeQuality] improve UnusedForeachValueToArrayKeysRector to work with array foreach values
    • [#3671] [DeadCode] Skip property used as arg
    • ๐Ÿคก [#3661] Rewrite mockery mock creation, Thanks to [@jaapio]
  • v0.7.46 Changes

    July 06, 2020
    • [#3663] [Naming] Make rename property/variable skip date time at convention
  • v0.7.44 Changes

    July 06, 2020
    • ๐Ÿ‘ท [#3652] [CI] simlify jobs to matrix
    • ๐Ÿ’… [#3653] [CodingStyle] Split UnderscoreToPascalCaseVariableAndPropertyNameRector, Thanks to [@dobryy]
    • ๐Ÿ’… [#3657] [CodingStyle] Make UnderscoreToPascalCaseVariableNameRector skip native variables, like _SERVER
    • โช [#3662] [PHP 7.4] Make RestoreDefaultNullToNullableTypePropertyRector skip nullable defined in ctor

    โœ‚ Removed

    • ๐Ÿšš [#3658] remove func call from method calls
  • v0.7.43 Changes

    July 05, 2020

    ๐Ÿ”„ Changed

    • [#3654] [Sension] improve template annotation
    • [#3649] decouple createConcat() method
    • โšก๏ธ [#3648] update rule to support multiple occurrences of the class in the string, Thanks to [@dobryy]

    ๐Ÿ›  Fixed

    • [#3651] fix get name or static call
    • [#3650] Fix typo in rector_rules_overview.md, Thanks to [@Gymnasiast]
  • v0.7.42 Changes

    July 03, 2020

    โž• Added

    • ๐Ÿ’… [#3613] [CodingStyle] Add new rector to replace hardcoded class name reference in string with class keyword reference, Thanks to [@dobryy]
    • [#3601] [Decouple] Add DecoupleClassMethodToOwnClassRector
    • [#3612] [Naming] Add RenameVariableToMatchNewTypeRector
    • [#3632] [SOLID] Prevent adding constant, that is reserved keyword in RepeatedLiteralToClassConstantRector
    • ๐Ÿ‘ [#3609] [Symfony] add support for union of response and array
    • ๐Ÿ‘ [#3622] [Symfony] add constant return array support to TemplateAnnotationToThisRenderRector

    ๐Ÿ”„ Changed

    • โœ… [#3637] [DynamicTypeAnalysis] Speedup dynamic type storage in tests
    • โšก๏ธ [#3606] [Symfony] decouple ReturnTypeDeclarationUpdater
    • [#3608] [Symfony] rename TemplateAnnotationRector to TemplateAnnotationToThisRender
    • [#3623] [Symfony] pass return data as args
    • ๐Ÿ”€ [#3604] [Symfony] merge TemplateAnnotationRector version to 5
    • [#3602] rename FluentReplaceRector to DefluentMethodCallRector
    • ๐Ÿšš [#3603] move ReturnThisRemoveRector to MagicDisclosure
    • โœ๏ธ [#3614] use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion
    • [#3605] rename file to fileInfo to reflect the type
    • [#3607] decouple PhpDocInfoManipulator
    • [#3630] Make use of PHPStan static reflection
    • [#3638] speed limits
    • [#3627] fail on found errors
    • ๐Ÿ”€ [#3629] merge PropertyNaming to one class
    • [#3631] [phar] include phpstan dev deps
    • โœ… [#3615] [tests] rename file to fileInfo

    ๐Ÿ›  Fixed

    • [#3633] [CodeQuality] fix callable this if part of the method
    • [#3616] [Symfony] Fix template array in TemplateAnnotationToThisRenderRector
    • [#3626] fix class name
    • [#3628] Fix PHPStan Reflection break from 0.12.26
    • ๐Ÿ— [#3634] fix rector.phar build

    โœ‚ Removed

    • ๐Ÿšš [#3624] [MagicDisclosure] remove MethodBody to Return_
    • ๐Ÿšš [#3610] [Symfony] prevent remove of mixed return
    • ๐Ÿšš [#3611] [Symfony] remove template annotation if returns response
    • ๐Ÿšš [#3636] remove issue-tests, already covered in specific rule tests
  • v0.7.41 Changes

    June 26, 2020

    ๐Ÿ”„ Changed

    • [#3597] skip parent ctor in AnnotatedPropertyInjectToConstructorInjectionRector
  • v0.7.40 Changes

    June 25, 2020
    • [#3592] make sure interface type is checked
    • โœ… [#3595] Make use of Symplify/EasyTesting
    • [#3594] Symfony FormTypeInstanceToClassConstRector: Include AbstractController in allowed object types, Thanks to [@andyexeter]

    ๐Ÿ›  Fixed

    • ๐Ÿ›  [#3596] Various fixes