rector/rules
Tomas Votruba 43aa4d91f7
Add SameNamespacedTypeSpecifier (#2169)
* narrow to FQN

* add ObjectTypeSpecifier

* require Scope

* add SameNamespacedTypeSpecifier
2022-04-26 10:06:10 +02:00
..
Arguments [DX] Replace global BetterStandardPrinter from AbstractRector with autowired NodePrinterInterface for easier and specific re-use (#2036) 2022-04-10 00:36:13 +02:00
CodeQuality More current statement attribute clean up (#2150) 2022-04-24 19:24:58 +02:00
CodingStyle More current statement attribute clean up (#2150) 2022-04-24 19:24:58 +02:00
Compatibility [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384) 2021-12-04 15:32:52 +03:00
Composer typo 2022-03-04 10:52:50 +00:00
DeadCode Cleanup (#2159) 2022-04-25 10:21:21 +02:00
DependencyInjection [DX] Remove deprecated constants (#1833) 2022-02-18 02:39:44 +01:00
DogFood [DogFood] Skip call(configure) on UpgradeRectorConfigRector (#2119) 2022-04-22 00:43:09 +02:00
DowngradePhp53/Rector/Dir Make use of ClassMethodReturnVendorLockResolver (#377) 2021-07-04 23:04:09 +02:00
DowngradePhp54/Rector Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp55/Rector Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp56 Remove uses nodes attribute - part #1 (#2155) 2022-04-25 09:03:59 +02:00
DowngradePhp70 Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp71/Rector Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp72 Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp73 [phpstan] Add known array keys types (#1909) 2022-03-07 12:45:26 +01:00
DowngradePhp74/Rector [CodeQuality] Handle not identical return false then true on SimplifyIfReturnBoolRector (#1969) 2022-03-27 20:36:49 +02:00
DowngradePhp80 Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
DowngradePhp81 Remove CURRENT_STATEMENT where not needed (#2149) 2022-04-24 16:54:56 +00:00
EarlyReturn [EarlyReturn][Php80] Fix used along tweak between Php8ResourceReturnToObjectRector+ChangeOrIfReturnToEarlyReturnRector (#1984) 2022-04-01 07:31:23 +02:00
MysqlToMysqli/Rector Improve BetterNodeFinder::findFirstPrevious() to work without statements (#2136) 2022-04-23 14:49:07 +02:00
Naming Remove NamespaceNodeVisitor (#2167) 2022-04-26 00:04:26 +02:00
Php52/Rector [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384) 2021-12-04 15:32:52 +03:00
Php53/Rector remove ClearReturnNewByReferenceRector, PHPStan cannot handle it 2021-10-27 20:50:50 +02:00
Php54/Rector [Parallel] Process smaller chunk of files at once (#1587) 2021-12-28 14:53:11 +01:00
Php55 [Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972) 2022-03-28 11:10:13 +02:00
Php56 [Php56] Skip with coalesce assign on AddDefaultValueForUndefinedVariableRector (#2078) 2022-04-15 18:31:00 +07:00
Php70 More current statement attribute clean up (#2150) 2022-04-24 19:24:58 +02:00
Php71 [Php71] Remove PropertyFetchAnalyzer::isFilledByConstructParam (#2122) 2022-04-22 02:43:25 +02:00
Php72 More current statement attribute clean up (#2150) 2022-04-24 19:24:58 +02:00
Php73 More current statement attribute clean up (#2150) 2022-04-24 19:24:58 +02:00
Php74 [Php74] Allow change protected property of final class when property only in current class on TypedPropertyRector (#2153) 2022-04-24 21:51:09 +02:00
Php80 [Php80] Skip different type cases cond on ChangeSwitchToMatchRector (#2147) 2022-04-24 22:21:16 +07:00
Php81 [Privatization] Add ParentPropertyLookupGuard service (#2152) 2022-04-24 21:36:01 +02:00
Privatization [Privatization] Add ParentPropertyLookupGuard service (#2152) 2022-04-24 21:36:01 +02:00
PSR4 Improve BetterNodeFinder::findFirstPrevious() to work without statements (#2136) 2022-04-23 14:49:07 +02:00
Removing Revert adding RemoveNamespaceRector (#2133) 2022-04-23 12:05:46 +02:00
RemovingStatic/Rector/ClassMethod Deprecate RemovingStatic rules as very narrow use case in generic rules (#1819) 2022-02-15 23:38:07 +01:00
Renaming Make ClassRenamer use UseImportsResolver (#2160) 2022-04-25 10:26:35 +02:00
Restoration Move RemovedAndAddedFilesCollector, ParameterProvider from AbstractRector to rules that actually use it (#2038) 2022-04-10 01:46:11 +02:00
Strict [Strict] Add support string|null|false on BooleanInBooleanNotRuleFixerRector (#2035) 2022-04-10 13:01:19 +07:00
Transform [TypeDeclaration] Register ReturnAnnotationIncorrectNullableRector and VarAnnotationIncorrectNullableRector to type-declaration config set (#2062) 2022-04-13 18:34:56 +02:00
TypeDeclaration Add SameNamespacedTypeSpecifier (#2169) 2022-04-26 10:06:10 +02:00
Visibility [TypeDeclaration] Skip default type value different with type assigned (#2027) 2022-04-08 10:46:47 +02:00