Commit Graph

476 Commits

Author SHA1 Message Date
Tomas Votruba 9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba 26ac08e306 Updated Rector to commit fa6f1f67578dbe765fc13abaa294e0f62e66d4a8
fa6f1f6757 [CodeQuality] Remove ExplicitMethodCallOverMagicGetSetRector designed for nette smart object migration only, not useful for general projects (#3948)
2023-05-24 12:27:19 +00:00
Tomas Votruba 96fc00fd8e Updated Rector to commit 3c69a0f9d7b075cef7e0e382eee94234f3629efa
3c69a0f9d7 Remove AddPregQuoteDelimiterRector as very narrow area and has not context awareness, better handle manually (#3927)
2023-05-22 13:43:31 +00:00
Tomas Votruba 270692ae54 Updated Rector to commit 0a7be603fcc467ac3956081bf83db9c0d5350eee
0a7be603fc Remove MakeTypedPropertyNullableIfCheckedRector as old fix of TypedPropertyRector rule, removed months ago (#3851)
2023-05-14 16:14:48 +00:00
Tomas Votruba 18b46b9b72 Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
656836093e [CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848)
2023-05-14 15:57:29 +00:00
Tomas Votruba 83531b9b9d Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
4ac2cf87c5 [Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847)
2023-05-14 15:50:50 +00:00
Tomas Votruba 8afa5f961e Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
074b1781b3 Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793)
2023-05-11 07:56:32 +00:00
Tomas Votruba 2cb797e1b1 Updated Rector to commit 11b278ca27f23ba4a2c55df877664fc23413a81d
11b278ca27 [CodeQuality] Remove SimplifyUselessLastVariableAssignRector as overly complex and should be handled individually (#3784)
2023-05-10 07:10:45 +00:00
Tomas Votruba ef5c74799d Updated Rector to commit ee666531b8270e996557198e0ea15908faa1787c
ee666531b8 Extend code-quality set (#3773)
2023-05-08 20:28:23 +00:00
Tomas Votruba 9d9cee5a78 Updated Rector to commit 9a2fe2126433ad285790cd81ec8c05594de5b396
9a2fe21264 Make PreparedValueToEarlyReturnRector use StmtsAwareInterface (#3772)
2023-05-08 14:07:26 +00:00
Tomas Votruba 39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba 4bf474e653 Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
be53013ca3 [CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764)
2023-05-07 19:35:01 +00:00
Tomas Votruba e7d9598446 Updated Rector to commit 3c592b05dc0aa78702a4b38d39711d78c404e279
3c592b05dc [CodeQuality] Remove ForToForeachRector, as overly deatiled and not reliable (#3747)
2023-05-06 21:47:33 +00:00
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba 31bf5eb875 Updated Rector to commit 26e570f0d9f0a623cb315f58272f9b96161d3743
26e570f0d9 [CodeQuality] Add SwitchTrueToIfRector (#3535)
2023-03-29 07:34:40 +00:00
Tomas Votruba 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba 13aa217ffa Updated Rector to commit 208d52e2a160e8563ef94e2afc53239f8ecf55cf
208d52e2a1 [CodeQuality] Remove DoWhileBreakFalseToIfElseRector, rather manual static spot and refactoring (#3367)
2023-02-08 17:44:29 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba 3c99dc15fc Updated Rector to commit a31ae50227e48b078b9a3e78da55507a23127887
a31ae50227 Add Missing in Set Command to CI + complete sets from their category (#3141)
2022-12-02 14:15:07 +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 6afda57164 Updated Rector to commit 9e4a9c0c25fbbd630cac07c9dab074f8dc9c54b8
9e4a9c0c25 [CodeQuality] Add TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3027)
2022-11-01 19:57:56 +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 5a0db977a5 Updated Rector to commit 34040f38fa28b4980b3ba755dc6990afdd8fd613
34040f38fa [CodeQuality] Register SimplifyUselessLastVariableAssignRector to code-quality config set (#2993)
2022-10-16 07:31:59 +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 1fbb663af8 Updated Rector to commit 05dc89279c87e074f6a974ab5a973a36c8262723
05dc89279c Add refactorings for ...val() (#2942)
2022-09-20 13:34:09 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba ac412ec638 Updated Rector to commit 9018492c75866aacc5a71329f921312d31772987
9018492c75 [CodeQuality] Remove SimplifyIfIssetToNullCoalescingRector, as overly complex and should be handled by manual context (#2828)
2022-08-24 08:28:31 +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 3d514a7b40 Updated Rector to commit 0972dedb01bbc4ff1fa83965ffd8b26ab172f1eb
0972dedb01 Extend dead-code set (#2687)
2022-07-19 22:22:01 +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 8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +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 d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba 68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +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 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 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