All Versions
151
Latest Version
Avg Release Cycle
93 days
Latest Release
-

Changelog History
Page 5

  • v0.8.7 Changes

    September 15, 2020

    āž• Added

    • šŸ‘• [#4188] [CI] Add PHP Linter
    • [#4202] [DX] Add Rule that checks that Rule + value object have same starts, Thanks to [@dobryy]
    • āŖ [#4120] revert [Experimental] Add safe_types option - [#3535]
    • [#4181] [RemovingStatic] Add LocallyCalledStaticMethodToNonStaticRector
    • šŸ‘ [#4203] [RemovingStatic] Add support for union types
    • [#4212] [RemovingStatic] Add SingleStaticServiceToDynamicRector
    • [#4134] add check markdown github action workflow for fix README.md markdown file, Thanks to [@samsonasik]
    • [#4141] Add local pretty version PHP 8.0
    • šŸ›  [#4214] Fixes [#3939] Add IssetOnPropertyObjectToPropertyExists rule, Thanks to [@samsonasik]
    • āœ… [#4220] Github Actions: add a job which tests the lowest supported versions, Thanks to [@staabm]
    • ā¬‡ļø [#4172] Added downgrade rules, Thanks to [@leoloso]
    • ā¬‡ļø [#4082] [Downgrade PHP 8.0] Add union types to doc types
    • šŸ›  [#4182] Fixes [#3789] add skip Option to exclude files by rule, Thanks to [@samsonasik]

    šŸ”„ Changed

    • šŸ“œ [#4210] [DX] PHPStan rule to check getNodeTypes() return classes of PhpParser\Node, Thanks to [@dobryy]
    • [#4206] [DX] PHPStan rule to check, that value objects do not have value object suffix, Thanks to [@dobryy]
    • šŸ”§ [#4174] [DX] Configurable rule must have configure code sample, and vice versa, Thanks to [@dobryy]
    • [#4130] [Naming] Rename foreach value variable to match method return type, Thanks to [@dobryy]
    • [#4221] [Naming] Foreach over "data", renames to "datum", Thanks to [@dobryy]
    • [#4183] [NodeRepository] Introduce NodeRepository, single place to get all nodes
    • šŸ”€ [#4185] [NodeRepository] merge ClassLikeParsedNodesFinder to NodeRepository
    • šŸ”€ [#4186] [NodeRepository] Merge function like finder to NodeRepository
    • [#4204] [RemovingStatic] Do not cause this in static method
    • ā¬‡ļø [#4118] Abstract downgrade type + Implementation for object type, Thanks to [@leoloso]
    • [#4226] run dump-rectors for new IssetOnPropertyObjectToPropertyExistsRector rule, Thanks to [@samsonasik]
    • [#4128] make EXCLUDE_PATHS work across different OSes, Thanks to [@staabm]
    • [#4129] run ecs markdown-code-format to README.md, Thanks to [@samsonasik]
    • [#4132] Commented out vendor locking, Thanks to [@leoloso]
    • [#4133] Improved rule FollowRequireByDirRector, Thanks to [@geryguilbon]
    • [#4211] load rector-recipe.php only in case of GenerateCommand
    • ā¬‡ļø [#4135] Downgrade null coalescing operator, Thanks to [@leoloso]
    • ā¬‡ļø [#4137] Downgrade arrow functions, Thanks to [@leoloso]
    • šŸ“¦ [#4138] apply run ecs check-heredoc-nowdoc command to packages and rules directory, Thanks to [@samsonasik]
    • [#4119] Correct various mysql_* to mysqli_* conversion bugs, Thanks to [@jjthiessen]
    • ā¬‡ļø [#4175] Split downgrade sets, Thanks to [@leoloso]
    • ā¬‡ļø [#4147] Organize downgrades by PHP version, Thanks to [@leoloso]
    • ā¬‡ļø [#4142] Restructure class hierarchy to implement downgrade rules, Thanks to [@leoloso]
    • [#4149] register check-markdown command to composer script, Thanks to [@samsonasik]
    • ā¬‡ļø [#4150] Downgrade union type, Thanks to [@leoloso]
    • ā¬‡ļø [#4162] [Downgrade PHP 8.0] mixed and static types, Thanks to [@leoloso]
    • ā¬‡ļø [#4192] Downgrade PHP7.1 features: nullable types and void return type, Thanks to [@leoloso]

    šŸ›  Fixed

    • [#4180] [DX] Fix NoAbstractMethodRule cases
    • šŸ›  [#4177] Fixed invalid method name in code sample., Thanks to [@bkonetzny]
    • šŸ›  [#4224] phpstan fixes
    • šŸ›  [#4140] static fixes
    • [#4136] Fix example: exclude directory in config, Thanks to [@obstschale]
    • [#4219] fix Symfony inline_function fallback

    āœ‚ Removed

    • ā¬‡ļø [#4179] Remove DowngradeRectorInterface, Thanks to [@leoloso]
    • [#4199] drop html from RectorRecipe, buggy and confusing, handle manually
  • v0.8.6 Changes

    September 03, 2020

    āž• Added

    • āœ… [#4114] [DX] Add rule to check "Tests" in namespace for *Test.php files, Thanks to [@dobryy]

    šŸ”„ Changed

    • [#4117] FixMissing Ruleset does not throw SetNotFoundException, Thanks to [@julianpollmann]

    šŸ›  Fixed

    • šŸ“š [#4115] Fixes [#3448] : Fixes relative path link on dump-rectors generate class link documentation, Thanks to [@samsonasik]

    āœ‚ Removed

    • šŸ’… [#4113] [CodingStyle] Drop SimplifyBoolIdenticalTrueRector, does not bring expected value
  • v0.8.5 Changes

    September 02, 2020

    šŸ”„ Changed

    • [#4112] show set path in PHAR
  • v0.8.4 Changes

    September 02, 2020

    āž• Added

    • šŸ”§ [#4107] Added "Rector Configuration" section, Thanks to [@leoloso]

    šŸ›  Fixed

    - [#4111] show command - display loaded sets + fix set provider

  • v0.8.3 Changes

    September 02, 2020

    āž• Added

    • [#4103] [PHPUnit] Add self call fixtures for AssertResourceToClosedResourceRector rule, Thanks to [@peter279k]
    • [#4106] add ActiveRectorsProvider, fix reporting 0 rules registered

    šŸ›  Fixed

    • 🚚 [#4102] Fixes [#3930] : TypedPropertyRector should not remove DocBlock comment when it specifies the values contained in an array, Thanks to [@samsonasik]
    • [#4101] Typo fix: NESTED_STIRNGS to NESTED_STRINGS, Thanks to [@samsonasik]

    āœ‚ Removed

    • 🚚 [#4104] remove leftover generated file rector-temp-phpstan103667.neon, Thanks to [@samsonasik]
  • v0.8.2 Changes

    September 01, 2020

    šŸ”„ Changed

    • šŸ’… [#4100] [CodingStyle] Skip annotation var on already set mixed[] array
  • v0.8.0 Changes

    September 01, 2020

    āž• Added

    • [#4089] [CI] Add type-declaration set
    • 🚚 [#4026] [DX] Add TypeMethodWrap, RemovedArgument
    • [#4028] [DX] Add MethodVisibility value object
    • āœ… [#4091] [DX] Add rule to check not "Tests" namespace outside "tests" directory, Thanks to [@dobryy]
    • [#4029] [DX] Add AddedArgument
    • [#4030] [DX] Add ReplacedArgument
    • [#4034] [DX] Various value objects added
    • [#4020] [DX] Add MethodReturnType value object
    • [#4003] [Naming] Add MakeGetterClassMethodNameStartWithGetRector
    • [#4005] [Naming] Add MakeIsserClassMethodNameStartWithIsRector
    • 🚚 [#4069] [Order] Add abstract class, check for changed order and move category to Class_, to prevent minus types
    • [#4098] [PHPUnit] Add self call fixtures for AssertEqualsToSame rule, Thanks to [@peter279k]
    • [#4037] Add AssertResourceToClosedResourceRector rule, Thanks to [@peter279k]
    • [#4000] [PHP 7.0] Fix node adding to NonVariableToVariableOnFunctionCallRector
    • šŸ‘ [#4064] Add multiple annotation support on class
    • [#4012] [phpstan] add rule to prevent array with string keys
    • [#4015] [phpstan] Add rule for complex config

    šŸ”„ Changed

    • [#4008] [DX] Replacing arrays with objects
    • [#4035] [DX] Last value objects
    • [#4076] [Naming] Rename the rule to make it correspond with what rule does, Thanks to [@dobryy]
    • 🚚 [#4084] [Transform] Move StaticCallToMethodCallRector to Transform
    • 🚚 [#4077] [Transform] Move FuncCallToMethodCallRector to Transform category
    • šŸ“¦ [#4074] [Transform] Move HelperFunctionToConstructorInjectionRector to Transform package
    • [#4073] [Transform] Decouple new set that changes nodes
    • [#4053] [TryCatch] Try/Catch with filled Finally can not be dead, Thanks to [@SilverFire]
    • [#4067] [TypeDeclaration] Skip return void on non-root return
    • [#4085] StaticCall to MethodCall
    • [#4014] phpstan config no array
    • [#4036] misc
    • āš”ļø [#4080] update FuncNameToStaticCallName to FuncCallToStaticCall
    • [#4039] beware reference
    • [#4017] README + recipe improvements
    • šŸ”§ [#4007] show configuration
    • [#3970] RenameParamToMatchTypeRector doesn't skip variable that is used in callback function use statement, Thanks to [@dobryy]
    • āš”ļø [#4048] update ecs
    • [#4052] [Code Quality] If the whole concatenated string is longer than 120 chars, skip it, Thanks to [@SilverFire]
    • ā¬‡ļø [#4099] Configurable downgrade, Thanks to [@leoloso]
    • šŸ”Ø [#3999] refactoring of variable name counted
    • [#4060] report doc changes
    • [#4063] report @var changes
    • āœ… [#3998] Failing test: Multiple resets of the same func in a array, Thanks to [@SilverFire]
    • āœ… [#3997] Failing test: Reset in a condition produces a LogicException, Thanks to [@SilverFire]
    • šŸ”Ø [#3996] Refactor extra file tests wobbly arrays to typed value objects
    • [#4070] naming
    • šŸ”€ [#3978] merge CorrectDatetimeEntityPropertyDefaultToConstructorRector to MoveCurrentDateTimeDefaultInEntityToConstructorRector
    • [#4018] follow up
    • šŸ”§ [#4010] [docs] print object configuration
    • [#4019] [objectize] moving parameter typehint to objects

    šŸ›  Fixed

    • [#4006] Fix invalid set reporting
    • [#4001] Fix lazy command chain removal
    • 🚚 [#4023] Fixed RemoveMissingCompactVariableRector to handle array arguments properly, Thanks to [@SilverFire]
    • šŸ›  [#4095] Fixes [#4013] ConsoleExecuteReturnIntRector ignores already type casted variable, Thanks to [@samsonasik]
    • [#4047] fix: swapped naming of camel and pascal cases, Thanks to [@TomPavelec]
    • [#4021] Fix variable name resolving for static method calls, Thanks to [@SilverFire]
    • [#4066] Fix return infer type for "yield from"
    • [#4059] Fix dump rectors
    • [#4058] Fix array type
    • [#4057] Fix coding standard CI
    • āœ… [#4054] [Type Declaration] Create new unit test for ArrayTypeMapper with fixes, Thanks to [@dobryy]
    • [#4068] Fix static class call
    • šŸ›  [#4044] [Type Declaration] The smallest possible fixture fixed ReturnUuid, Thanks to [@dobryy]
    • [#4043] [Type Declaration] Fix unwrapping of multiple union types, Thanks to [@dobryy]
    • šŸ›  [#4041] Fixed some edge cases of creating constant name from value, Thanks to [@TomPavelec]
    • šŸ›  [#4088] symplify fixes
    • šŸ›  [#4092] Replace types with container access from fe72e003e. fixes [#4090], Thanks to [@alister]
    • [#4093] Typo fix: allowDevDependnecies to allowDevDependencies, Thanks to [@samsonasik]
    • šŸ›  [#4022] Fixed ClassMethodPropertyFetchManipulator to omit property assign by method call, Thanks to [@SilverFire]

    āœ‚ Removed

    • šŸ’… [#4079] Removing single-rule elastic package set, merge Decomplex set to CodingStyle, merge FrameworkMigration to NetteToSymfony
    • šŸ‘ [#4081] Drop YAML config support
    • [#4083] drop MessageAsArrayRector, as only rule in guzzle
  • v0.7.65 Changes

    August 20, 2020

    āž• Added

    • [#3977] [DoctrineCodeQuality] Add ChangeBigIntEntityPropertyToIntTypeRector
    • [#3994] add ConfigShifter to make use of root config parameter override
    • āœ… [#3986] Add failing test case for [#3981], Thanks to [@olivernybroe]

    šŸ”„ Changed

    • [#3984] [DX] TemplateAnnotationToThisRenderRector fixture's namespace issue, Thanks to [@dobryy]
    • [#3983] [DX] Architecture rules respect namespace, Thanks to [@dobryy]
    • [#3973] [DX] Rename namespaces respect node type, Thanks to [@dobryy]
    • [#3988] import repo entity
    • šŸ”’ [#3987] composer: lock to php-parser 4.8 to prevent bugs
    • āš”ļø [#3982] update ecs.php to use constants over strings

    šŸ›  Fixed

    • [#3990] fix class call

    āœ‚ Removed

    • 🚚 [#3989] Remove YAML from tests

    <!-- dumped content start -->

    āž• Added

    • [#3954] [Doctrine] Add constructor getRepository to service
    • [#3972] [DoctrineCodeQuality] Add few entity rules
    • [#3950] [Fluent] Add factory case
    • šŸ‘ [#3941] [TypeDeclaration] Add nested key support
    • [#3958] Add AssertEqualsToSameRector, Thanks to [@dereuromark]
    • [#3953] add easy-ci
    • [#3952] add new ManagerRegistry namespace

    šŸ”„ Changed

    • šŸ’… [#3924] [CodingStyle] Make ConsistentPregDelimiterRector configurable
    • [#3911] [DX] Rename namespaces of Rector rules to respect node, instead of domain, Thanks to [@dobryy]
    • [#3947] [Defluent] Allow DateTime to be fluent
    • 🚚 [#3969] [Order] Move ClassLike and Class_ rules into correct namespaces, Thanks to [@dobryy]
    • [#3923] [Order] Order class methods by visibility, Thanks to [@dobryy]
    • [#3929] [Order] Order properties by visibility, Thanks to [@dobryy]
    • [#3934] [Order] Order constants by visibility, Thanks to [@dobryy]
    • šŸ”Ø [#3933] [Order] Visibility rules refactoring, Thanks to [@dobryy]
    • [#3968] [Order] Order first level class statements, Thanks to [@dobryy]
    • šŸ”§ [#3962] [RectorGenerator] prevent incorrect package configuration
    • [#3916] [SOLID] skip reference-write functions
    • [#3966] Recipe array to object
    • [#3945] service entity repository combo
    • šŸ”§ [#3922] make ConsistentPregDelimiterRector configurable
    • [#3964] make sure recipe is loaded
    • šŸ“„ [#3925] make use of NodeConnectingVisitor + improve generate Rector docs
    • [#3946] misc
    • 🚚 [#3951] move Polyfill to rules
    • [#3936] PHPStan: require iterable types
    • [#3937] fixture for the issue [#3931], Thanks to [@dobryy]
    • āš”ļø [#3926] update create-rector.php.dist
    • [#3949] [static] use Symplify rule

    šŸ›  Fixed

    • šŸ”§ [#3957] Fix sample configuration generation, Thanks to [@hxv]
    • [#3944] README: fix typo, Thanks to [@mfn]

    āœ‚ Removed

    • šŸ‘· [#3938] drop EnsureDataProviderInDocBlockRector, job for coding standards
  • v0.7.63 Changes

    August 06, 2020

    āž• Added

    • šŸ‘ [#3921] [CodeQuality] Add argument support to ArrayThisCallToThisMethodCallRector

    šŸ”„ Changed

    • [#3889] [Order] Make OrderPrivateMethodsByUseRector process file in one run u…, Thanks to [@dobryy]

    šŸ›  Fixed

    • [#3918] Fix set path was not found, Thanks to [@zingimmick]

    āœ‚ Removed

    • [#3920] drop SimpleArrayCallableToStringRector, as it makes code magical and harder to proces
    • šŸ— [#3917] drop slevomat cs to prevent breaking build for last months
  • v0.7.62 Changes

    August 05, 2020

    āž• Added

    • [#3885] [TypeDeclaration] Skip typed property for @var adding
    • āœ… [#3910] add parent-property test
    • šŸ‘ [#3886] Add set-path constant support
    • [#3896] FunctionTo* correction renames, add PHPStan rule to check correct category of rule

    šŸ”„ Changed

    • [#3894] [Generic] FuncCallToMethodCall only in case of parent class
    • [#3901] [Generic] skip static method in FuncCallToMethodCallRector
    • [#3883] [Naming] Allow uuid to have name id
    • [#3906] [Naming] Decouple RenameParamToMatchTypeRector
    • [#3898] [SOLID] Skip property that is being changed by func call
    • [#3895] rename FunctionToStaticCallRector to FuncCallToStaticCallRector
    • [#3912] cleanup
    • [#3899] Provide existing expression to get type
    • [#3904] Check that Recipe node types are imported, Thanks to [@dobryy]
    • šŸ”§ [#3907] skip configure unless in tests
    • [#3909] Rename StaticCallToAnotherServiceConstructorInjectionRector to StaticCallToMethodCall
    • [#3913] re-use param in constructor

    šŸ›  Fixed

    • [#3888] [Architecture] fix repository property
    • 🚚 [#3905] method call remover fix, Thanks to [@mssimi]