All Versions
151
Latest Version
Avg Release Cycle
93 days
Latest Release
-
Changelog History
Page 5
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
usestatement, 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]