Commit Graph

622 Commits

Author SHA1 Message Date
Tomas Votruba fc7f082962 Updated Rector to commit 22b612ef79a1437b891d94154285ad4a2a3e0576
22b612ef79 [Naming] Handle crash on VariableNaming::resolveBareFromNode() on unwrapNode() return null (#3136)
2022-12-01 14:39:21 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba 067bd1245f Updated Rector to commit 1f8c88a5f1966ba9f3ec740f8c9bebc13f6d46f4
1f8c88a5f1 fix reporting on renamed proeprty match type (#3098)
2022-11-26 13:09:30 +00:00
Tomas Votruba bba6495f7d Updated Rector to commit 10346eea20d2222819f59b2ae994acc0948352e4
10346eea20 Apply node->isFirstCallable() check early before ->getArgs() when possible on CallLike (#3038)
2022-11-07 17:28:06 +00:00
Tomas Votruba ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba 9fc996728a Updated Rector to commit df36e385def96b447520c35e341e46e16cbffb56
df36e385de [Naming] Add TwigEnvironment special name to RenameParamToMatchTypeRector to keep the context (#2951)
2022-09-23 10:45:14 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba 5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba 36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba d30de9efe0 Updated Rector to commit da9fab1810dd4985b2071b3ffc34c88f665856cb
da9fab1810 [Naming] Remove single- prefix from RenameForeachValueVariableToMatchExprVariableRector, creates weird names (#2756)
2022-08-12 12:42:27 +00:00
Tomas Votruba 26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba 967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba 1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba 66a5285042 Updated Rector to commit cdf7bf581c6a417cfc8fc2b256597f30165d061f
cdf7bf581c [BetterPhpDocParser] Merge PhpDocInfo::getParamTagValueByName() with getParamTagValueNodeByName() (#2703)
2022-07-23 09:02:51 +00:00
Tomas Votruba 8a0350a804 Updated Rector to commit 9cb0a5efb59c51c662a4b6eb56753b9cc2174e21
9cb0a5efb5 [PHPStan] Resolve duplicated regex value (#2690)
2022-07-20 05:00:44 +00:00
Tomas Votruba 9b6234b1bc Updated Rector to commit b492d2077dfb0ee9c08664747c0c3e8ed73dbc97
b492d2077d [DX] Cleanup, Remove RepeatedLiteralToClassConstantRector, as very narrow use case; use rather phpstan + Remove ChangeLocalPropertyToVariableRector, as buggy and unreliable; better use PHPStan (#2686)
2022-07-19 21:15:00 +00:00
Tomas Votruba c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba 46dd47dd4e Updated Rector to commit ac94ddd5bd269b17afc339f39af711c02d56b34a
ac94ddd5bd [PHPStan] Reduce PHPStan errors for narrow public - take 1 (#2672)
2022-07-16 14:24:54 +00:00
Tomas Votruba 5bce2cfaec Updated Rector to commit 97ef9ff17fb2a92141621baccae2f52d9659d0e6
97ef9ff17f Improve namespace names validation (#2670)
2022-07-16 12:31:38 +00:00
Tomas Votruba 4b2bd56de7 Updated Rector to commit 6577da612c2824c2add06721b903de4cd438631e
6577da612c [DX] Add input validation for method, property and function name to avoid invalid output ast (#2668)
2022-07-16 09:41:53 +00:00
Tomas Votruba ead00ac355 Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
84012e4ac9 Static type improvements (#2662)
2022-07-15 08:14:37 +00:00
Tomas Votruba 2ef7fcfcd2 Updated Rector to commit 23bad1ec21a1ba71c748073cae083ce55484e1a7
23bad1ec21 [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
2022-07-02 22:36:41 +00:00
Tomas Votruba fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba 138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba c9b4c3f38d Updated Rector to commit 0fb4f5bfbb
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +00:00
Tomas Votruba dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba 7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba 0b4d7cf713 Updated Rector to commit 1a84313089
1a84313089 [Renaming] Skip rename docblock on conflict with alias on RenameClassRector (#2450)
2022-06-07 12:52:01 +00:00
Tomas Votruba b6a8818d00 Updated Rector to commit cbbe410aff
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba 9bb996bfce Updated Rector to commit a9779404d3
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba 91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba 07acf2086f Updated Rector to commit 40d9102eab
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba 3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba 43409e9080 Updated Rector to commit 63cd74893d
63cd74893d [DeadCode] Improve RemoveJustPropertyFetchRector and apply (#2435)
2022-06-04 18:08:03 +00:00
Tomas Votruba 98eb7617da Updated Rector to commit 283a9af3f0
283a9af3f0 [Renaming] Skip docblock rename different namespace on RenameClassRector (#2419)
2022-06-04 07:39:10 +00:00
Tomas Votruba 14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba 02c0f07aa0 Updated Rector to commit 9187ff0430
9187ff0430 [Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
2022-06-02 07:23:49 +00:00
Tomas Votruba 780f0d3ad8 Updated Rector to commit 06b0b325da
06b0b325da remove victor, it handles only metafiles, not unused classes
2022-06-01 07:38:23 +00:00
Tomas Votruba 0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba 9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba 94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba 911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba 74a2d071eb Updated Rector to commit 3da22b0231
3da22b0231 [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363)
2022-05-26 07:20:40 +00:00
Tomas Votruba c5eecc40c0 Updated Rector to commit 4c53b206a4
4c53b206a4 [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector (#2358)
2022-05-25 06:59:11 +00:00
Tomas Votruba 5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba f89782b964 Updated Rector to commit f134b6183e
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba a2cadae414 Updated Rector to commit 3fe07aa6a1
3fe07aa6a1 [Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() (#2349)
2022-05-22 21:05:36 +00:00
Tomas Votruba 291f513fb2 Updated Rector to commit f8c204adba
f8c204adba [Naming] Handle Grouped use import on UseImportsResolver (#2348)
2022-05-22 17:40:56 +00:00
Tomas Votruba a935bbc0cb Updated Rector to commit 8fbc6582f9
8fbc6582f9 [Core][Naming] Move collecting param names method to FunctionLikeManipulator (#2347)
2022-05-22 16:59:48 +00:00
Tomas Votruba 2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba 6fe802bfdc Updated Rector to commit fcadc67328
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba 6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba ce9b1cc6e6 Updated Rector to commit 30a53bfd93
30a53bfd93 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331)
2022-05-19 06:59:21 +00:00
Tomas Votruba f845008257 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 01:37:38 +00:00
Tomas Votruba 9ec874fb89 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba 4708d6b081 Updated Rector to commit c0086b7e14
c0086b7e14 [e2e] Add e2e for tests removed node display applied rules with return null (#2320)
2022-05-16 01:19:48 +00:00
Tomas Votruba ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba f2550b0de1 Updated Rector to commit f92d5deca3
f92d5deca3 Fix Scalar_Encapsed node as dynamic in  (#2309)
2022-05-14 02:43:00 +00:00
Tomas Votruba b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba cd95eb3dcc Updated Rector to commit 1ec5e2d35b
1ec5e2d35b restore links
2022-05-12 19:20:31 +00:00
Tomas Votruba d967349fb9 Updated Rector to commit cd2a644e0c
cd2a644e0c [Core] Refactor RectifiedAnalyzer: early check against AbstractScopeAwareRector instead of Original node (#2295)
2022-05-12 05:20:59 +00:00
Tomas Votruba a93d572d86 Updated Rector to commit ebd4c3fee6
ebd4c3fee6 [Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276)
2022-05-11 00:39:05 +00:00
Tomas Votruba d72f56e566 Updated Rector to commit 30f2f91909
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +00:00
Tomas Votruba ec43ca03ec Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 06:43:28 +00:00
Tomas Votruba 52fecaf9ca Updated Rector to commit e341cc26fe
e341cc26fe [NodeNameResolver] Remove NodeNameResolver::isLocalPropertyFetchNamed() method, already handled at PropertyFetchAnalyzer::isLocalPropertyFetchName() (#2263)
2022-05-08 08:49:04 +00:00
Tomas Votruba 992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba 24318b9a19 Updated Rector to commit 26cad67b1c
26cad67b1c [CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246)
2022-05-07 00:18:08 +00:00
Tomas Votruba a548c62cde Updated Rector to commit ede1106a69
ede1106a69 [DX] Improve DowngradeCatchThrowableRector to return nodes directly (#2241)
2022-05-06 07:17:49 +00:00
Tomas Votruba a2cfc4196f Updated Rector to commit 0175838a0c
0175838a0c [DX] Cleanup ComplexNodeRemover (#2230)
2022-05-05 06:11:24 +00:00
Tomas Votruba 128aa6dc82 Updated Rector to commit 7209b23341
7209b23341 [Php73] Skip both reset and key assigned on ArrayKeyFirstLastRector (#2219)
2022-05-04 00:06:05 +00:00
Tomas Votruba 80c29bac02 Updated Rector to commit c4e1ee2b3e
c4e1ee2b3e Added new functions to NullToStrictStringFuncCallArgRector (#2217)
2022-05-03 12:09:48 +00:00
Tomas Votruba d71e817365 Updated Rector to commit 992d1efc75
992d1efc75 [CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212)
2022-05-02 09:44:00 +00:00
Tomas Votruba 27785851ec Updated Rector to commit 029820474c
029820474c [Naming] Improve UseImportsResolver to locate inlined Stmt (#2205)
2022-05-01 07:34:56 +00:00
Tomas Votruba 0263197624 Updated Rector to commit 3f1f632c04
3f1f632c04 [automated] Apply Coding Standard (#2204)
2022-05-01 00:51:36 +00:00
Tomas Votruba a36b608f99 Updated Rector to commit e782cccb55
e782cccb55 [CodingStyle] Clean up spl_object_hash() check on NewlineAfterStatementRector (#2203)
2022-04-30 06:40:36 +00:00
Tomas Votruba 934d528ddf Updated Rector to commit 6063b59cde
6063b59cde [Php74] Refactor MakePropertyTypedGuard to check directly on ClassReflection instead of lookup parent to get class (#2197)
2022-04-29 15:03:28 +00:00
Tomas Votruba d9f463102f Updated Rector to commit dbc2638e42
dbc2638e42 [Php74][TypeDeclaration] Document for INLINE_PUBLIC constant set to false by default allow change protected on final with extends as far as property and/or its usage only in current class (#2198)
2022-04-29 14:53:32 +00:00
Tomas Votruba 639bf5c5d4 Updated Rector to commit 6063b59cde
6063b59cde [Php74] Refactor MakePropertyTypedGuard to check directly on ClassReflection instead of lookup parent to get class (#2197)
2022-04-29 14:53:17 +00:00
Tomas Votruba 0ab11406b4 Updated Rector to commit 4d7c087805
4d7c087805 [DeadCode] Improve RemoveUnreachableStatementRector performance by return after array_splice early (#2193)
2022-04-29 06:42:11 +00:00
Tomas Votruba e6d9de7fba Updated Rector to commit 08bb10de6b
08bb10de6b [CodeQuality] Add InlineArrayReturnAssignRector (#2183)
2022-04-28 14:55:01 +00:00
Tomas Votruba 2e00657da7 Updated Rector to commit 4fea4e23b9
4fea4e23b9 [TypeDeclaration] Skip return type defined Closure on ReturnTypeDeclarationRector (#2179)
2022-04-27 13:37:37 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba a71b4168c5 Updated Rector to commit 38e1f8a450
38e1f8a450 Remove NamespaceNodeVisitor (#2167)
2022-04-25 22:12:26 +00:00
Tomas Votruba e3ae598c02 Updated Rector to commit f7b095495b
f7b095495b Remove last USE_NODE (#2165)
2022-04-25 16:12:00 +00:00
Tomas Votruba f27b77df88 Updated Rector to commit 90dae505af
90dae505af Remove uses nodes attribute - part #1 (#2155)
2022-04-25 07:10:07 +00:00
Tomas Votruba 19e48f49f2 Updated Rector to commit 366c994a5c
366c994a5c More current statement attribute clean up (#2150)
2022-04-24 17:30:55 +00:00
Tomas Votruba 22a6a7d222 Updated Rector to commit dc7a9a85f3
dc7a9a85f3 [DeadCode] Skip remove variable on switch use return after break on RemoveUnusedVariableAssignRector (#2145)
2022-04-24 07:48:38 +00:00
Tomas Votruba 11667e7491 Updated Rector to commit 2f5a525e65
2f5a525e65 Revert adding RemoveNamespaceRector (#2133)
2022-04-23 10:11:50 +00:00
Tomas Votruba af205b10a4 Updated Rector to commit 75fccc5d58
75fccc5d58 [Php71] Remove PropertyFetchAnalyzer::isFilledByConstructParam (#2122)
2022-04-22 00:49:25 +00:00
Tomas Votruba 07e4ebd293 Updated Rector to commit a0c8a6be61
a0c8a6be61 add deprecations to Option constants and refer to RectorConfig (#2112)
2022-04-21 06:47:26 +00:00
Tomas Votruba 764369f38b Updated Rector to commit d90953d9a9
d90953d9a9 [DX] Add RectorConfig upgrade rule to make upgrade easier :) (#2098)
2022-04-20 07:06:09 +00:00
Tomas Votruba 2684ff98ab Updated Rector to commit 5025d255ca
5025d255ca [Core] Rollback ParameterProvider autowire into AbstractRector (#2095)
2022-04-19 08:10:27 +00:00
Tomas Votruba 2fb3b1c1d8 Rector 0.12.21 2022-04-18 12:12:41 +00:00
Tomas Votruba 5f10b8092d Updated Rector to commit 46d2c00038
46d2c00038 [automated] Re-Generate Nodes/Rectors Documentation (#2085)
2022-04-17 00:35:02 +00:00
Tomas Votruba cfa1942bf9 Updated Rector to commit 73bf29c279
73bf29c279 [TypeDeclaration] Remove NullType when already has mixed on ParamAnnotationIncorrectNullableRector (#2081)
2022-04-16 16:16:44 +00:00
Tomas Votruba 1fd50e0517 Updated Rector to commit c7e4530a82
c7e4530a82 [Naming][TypeDeclaration] Handle RenameVariableToMatchMethodCallReturnTypeRector + AddVoidReturnTypeWhereNoReturnRector (#2080)
2022-04-15 17:12:35 +00:00
Tomas Votruba 74a8a29f4c Updated Rector to commit 8be11db297
8be11db297 [Naming] Skip used by trait on RenamePropertyToMatchTypeRector (#2077)
2022-04-15 07:29:32 +00:00
Tomas Votruba 446b0a8f86 Updated Rector to commit c509923516
c509923516 [Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069)
2022-04-14 08:12:26 +00:00
Tomas Votruba e7029ad1f5 Updated Rector to commit 0ba8579821
0ba8579821 [Fix] Make UnionTypesRector and ReturnAnnotationIncorrectNullableRector skip chaotic methods (#2067)
2022-04-13 16:29:57 +00:00
Tomas Votruba 6c73983fe9 Updated Rector to commit a1ac1b6fdf
a1ac1b6fdf [Feature] Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @return (#2060)
2022-04-12 06:58:51 +00:00
Tomas Votruba 479b159635 Updated Rector to commit f12861bda0
f12861bda0 [Php74] Move multi rules used tests to tests/Issues for TypedPropertyRector (#2051)
2022-04-11 08:29:44 +00:00
Tomas Votruba d58370849e Updated Rector to commit 76894e5c63
76894e5c63 [Naming] Add Closure and Function_ on RenameParamToMatchTypeRector (#2042)
2022-04-10 08:30:09 +00:00
Tomas Votruba c4650c159a Updated Rector to commit 76667332cf
76667332cf [automated] Re-Generate Nodes/Rectors Documentation (#2041)
2022-04-10 00:31:45 +00:00
Tomas Votruba cd7d84363a Updated Rector to commit 5a2682e4a5
5a2682e4a5 [TypeDeclaration] Skip in trait on TypedPropertyFromAssignsRector (#2030)
2022-04-09 07:29:28 +00:00
Tomas Votruba 300f7da027 Updated Rector to commit 4b351a7306
4b351a7306 [Php74] Skip array var type filled default null in __construct on TypedPropertyRector (#2029)
2022-04-08 18:43:37 +00:00
Tomas Votruba 34dc036a62 Updated Rector to commit b12415b7b2
b12415b7b2 [TypeDeclaration] Skip default type value different with type assigned (#2027)
2022-04-08 08:52:55 +00:00
Tomas Votruba bc4242dccb Updated Rector to commit 8f9abbd8b7
8f9abbd8b7 Trigger notification (#2015)
2022-04-07 07:54:47 +00:00
Tomas Votruba 1c3a355583 Updated Rector to commit be530c5e2f
be530c5e2f [Removing] Add RemoveNamespaceRector (#2013)
2022-04-06 12:39:03 +00:00
Tomas Votruba 5f44698947 Updated Rector to commit 85ff4163b0
85ff4163b0 [TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008)
2022-04-05 08:03:44 +00:00
Tomas Votruba 7fde66200e Updated Rector to commit 258f2d031e
258f2d031e phpstan (#2006)
2022-04-04 05:57:16 +00:00
Tomas Votruba 7e7dc913ba Updated Rector to commit 02bb2edef3
02bb2edef3 [Scoper] Clean up scoper replace namespace stub (#2002)
2022-04-03 00:58:28 +00:00
Tomas Votruba c5a12d271e Updated Rector to commit 7a37df2b60
7a37df2b60 [DeadCode] Add Closure support on RemoveLastReturnRector (#1993)
2022-04-02 08:38:27 +00:00
Tomas Votruba daae17bd4e Updated Rector to commit 12f027c8a1
12f027c8a1 [TypeDeclaration] Handle yield and return in inner function on AddVoidReturnTypeWhereNoReturnRector (#1986)
2022-04-01 05:37:00 +00:00
Tomas Votruba 963952f993 Updated Rector to commit eba904f406
eba904f406 [Php80] Skip empty default on ChangeSwitchToMatchRector (#1980)
2022-03-31 11:04:24 +00:00
Tomas Votruba 7ede09fb94 Updated Rector to commit a375ee2641
a375ee2641 [Core][EarlyReturn][Php73] Fix used along tweak between JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1979)
2022-03-30 06:32:05 +00:00
Tomas Votruba 6f12ae7d35 Updated Rector to commit b97ce487e6
b97ce487e6 [CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974)
2022-03-29 06:08:35 +00:00
Tomas Votruba 2d8fcc1394 Updated Rector to commit a20320d8ca
a20320d8ca [Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972)
2022-03-28 09:17:08 +00:00
Tomas Votruba 9ac9586ee2 Updated Rector to commit 6f61a09243
6f61a09243 [TypeDeclaration] Skip key has bracket {}[] on ArrayShapeFromConstantArrayReturnRector (#1968)
2022-03-27 11:19:47 +00:00
Tomas Votruba bb3ebe7fed Updated Rector to commit 900eca0ce5
900eca0ce5 [Doc] Fix composer docs generation ConfiguredCodeSample in RemoveUnusedPrivatePropertyRector (#1963)
2022-03-26 19:22:15 +00:00
Tomas Votruba ec76745f1f Updated Rector to commit 699e314ef3
699e314ef3 Fix stub PHPUnit\Framework\TestCase (#1960)
2022-03-25 13:08:27 +00:00
Tomas Votruba 0a72eb262e Updated Rector to commit 6ebf140ee5
6ebf140ee5 Remove psr/http-message dep on downgrade scoped (#1958)
2022-03-24 04:54:45 +00:00
Tomas Votruba 9728a66366 Updated Rector to commit cbefb243e2
cbefb243e2 [TypeDeclaration] Avoid adding param type in case of different default type (#1956)
2022-03-23 09:36:21 +00:00
Tomas Votruba 65f6a3f867 Updated Rector to commit 8f86f525f7
8f86f525f7 Fix stub PHPUnit\Framework\TestCase (#1954)
2022-03-22 14:39:27 +00:00
Tomas Votruba a5de7de1ba Updated Rector to commit d5c5fe3a97
d5c5fe3a97 [Php80] Handle return match no default on ChangeSwitchToMatchRector (#1949)
2022-03-21 07:38:33 +00:00
Tomas Votruba 247cb9fc8b Updated Rector to commit f82fa3182c
f82fa3182c [DeadCode] Make RemoveUnusedPrivatePropertyRector configurable to allow skip remove assign with side effect (#1948)
2022-03-20 19:48:16 +00:00
Tomas Votruba 3de728ec5c Updated Rector to commit 2d3419bc94
2d3419bc94 [Arguments] Handle by pass 2nd argument default value on ArgumentAdderRector (#1946)
2022-03-18 13:14:22 +00:00
Tomas Votruba 0c232fa881 Updated Rector to commit feae0cfa0c
feae0cfa0c [DeadCode][CodingStyle] Handle SplitDoubleAssignRector+RemoveUnusedPrivatePropertyRector (#1944)
2022-03-17 07:36:14 +00:00
Tomas Votruba 9d2d61cbdd Updated Rector to commit f7e1035828
f7e1035828 [Php81] Skip static property on ReadOnlyPropertyRector (#1939)
2022-03-16 09:24:07 +00:00
Tomas Votruba 16633831b8 Updated Rector to commit b83523354f
b83523354f [DeadCode] Skip called by current classname on RemoveUnusedPrivateClassConstantRector (#1931)
2022-03-15 09:06:38 +00:00
Tomas Votruba 64de0ed996 Updated Rector to commit 90bb8b9868
90bb8b9868 Enable vendor patching (#1929)
2022-03-14 09:10:58 +00:00
Tomas Votruba 8f8963b6ba Updated Rector to commit 81c2492118
81c2492118 [automated] Re-Generate Nodes/Rectors Documentation (#1925)
2022-03-13 00:30:25 +00:00
Tomas Votruba 9200bbb091 Updated Rector to commit 9d74e20acb
9d74e20acb [Dep] Add PHPUnit\Framework\TestCase stub on target-repository bootstrap.php (#1924)
2022-03-12 17:33:54 +00:00
Tomas Votruba b61a2f6afa Updated Rector to commit 07df2bc028
07df2bc028 [CodingStyle] Use alias name when exists on CatchExceptionNameMatchingTypeRector (#1920)
2022-03-11 08:59:17 +00:00
Tomas Votruba 53fdb25a5e Updated Rector to commit 888f483102
888f483102 [Renaming] Apply rename fully qualified namespace docblock on RenameNamespaceRector (#1917)
2022-03-10 10:09:54 +00:00
Tomas Votruba 9094a0693a Updated Rector to commit 73306740de
73306740de [Transform] Handle property exists via Property Promotion on NewToMethodCallRector (#1915)
2022-03-08 08:23:12 +00:00
Tomas Votruba c91768f1b2 Updated Rector to commit 9660188944
9660188944 [phpstan] Add known array keys types (#1909)
2022-03-07 11:51:39 +00:00
Tomas Votruba fe65ca2911 Updated Rector to commit 8057e33f91
8057e33f91 [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908)
2022-03-07 11:34:50 +00:00
Tomas Votruba 2d19ff31f4 Updated Rector to commit 55a13c0020
55a13c0020 test run in phpstan 1.4.8 (#1904)
2022-03-06 00:42:13 +00:00