Rector v0.4.12 Release Notes
Release Date: 2019-05-02 // about 5 years ago-
โ Added
- ๐ [#1326] [CodingStyle] Add SplitStringClassConstantToClassConstFetchRector
- ๐ [#1327] [CodingStyle] Add ImportFullyQualifiedNamesRector
- 0๏ธโฃ [#1363] [PHP] Add AddDefaultValueForUndefinedVariableRector
- [#1347] [RemovingStatic] Add new level
- [#1333] Add PrivatizeLocalClassConstantRector to SOLID, Thanks to [@mxr576]
- [#1362] [PHP 7.4] Add ReservedFnFunctionRector
๐ Changed
- [#1323] allow Nette 3.0, Thanks to [@mimmi20]
- ๐ [#1325] [DeadCode] Skip magic methods in RemoveUnusedParameterRector
- ๐ [#1351] [DeadCode] Keep different case in RemoveDoubleAssignRector
- ๐ [#1353] [DeadCode] Skip traits in RemoveUnusedPrivateMethodRector
- [#1370] make ImportFullyQualifiedNamesRector take into account existing imports on combination of PHP and doc block
- โ [#1354] Speedup tests by 90 % from 41 secs to 4
- โ [#1357] Tests improvements
- [#1359] Notice file rectors on run
๐ Fixed
- ๐ [#1369] [CodingStyle] ImportsInClassCollection fixes
- ๐ [#1368] [CodingStyle] Fix ImportFullyQualifiedNamesRector for self imports
- ๐ [#1365] [CodingStyle] Fix interface short name identical with class name in ImportFullyQualifiedNamesRector
- ๐ [#1348] [DeadCode] Remove overriden fix
- ๐ [#1352] [DeadCode] Fix RemoveUnusedPrivateMethodRector for self call
- โ [#1350] [Laravel] Fix MinutesToSecondsInCacheRector DateTimeInterface argument
- [#1361] [Symfony] Fix GetRequestRector for get non method calls
- [#1375] Fix file removal in MultipleClassFileToPsr4ClassesRector
- [#1320] [CakePHP]FIx rule for cakephp37, Thanks to [@o0h]
- 0๏ธโฃ [#1331] Use
dev
as Symfony default env to fix issue [#1319], Thanks to [@BernhardWebstudio]
โ Removed
- ๐ [#1349] [DeadCode] Remove double