Commit Graph

883 Commits

Author SHA1 Message Date
Tomas Votruba f5adafb1c4 Updated Rector to commit a27370519f4e17bf73f0d548e098de448895401d
a27370519f [CodeQuality] Handle negated isset on IssetOnPropertyObjectToPropertyExistsRector on property not exists (#5206)
2023-10-27 12:14:09 +00:00
Tomas Votruba 727c62f465 Updated Rector to commit d55a35bcdede830d3927de1c11e0f7f0d12ee9e4
d55a35bcde [CodeQuality] Skip magic property fetch on IssetOnPropertyObjectToPropertyExistsRector (#5163)
2023-10-13 15:56:28 +00:00
Tomas Votruba a7ae66acba Updated Rector to commit ff7acb4c853ebc2322dac6fff618dac8218dacb3
ff7acb4c85 [CodeQuality] Skip docblock usage on SimplifyBoolIdenticalTrueRector (#5161)
2023-10-13 13:49:39 +00:00
Tomas Votruba b1be6fd9fc Updated Rector to commit ee7e92ca7b3507a2903a21bb52b9f840ae3cc2e8
ee7e92ca7b [CodeQuality] Fix missing parentheses on CombineIfRector (#5151)
2023-10-10 08:33:07 +00:00
Tomas Votruba ba8a9c44c4 Updated Rector to commit b29a6f80c319c6819007a604cc20b788e3abe59c
b29a6f80c3 [CodeQuality] Use its start token pos on Else_ on CompleteMissingIfElseBracketRector as no cond (#5136)
2023-10-06 21:59:20 +00:00
Tomas Votruba 16af101457 Updated Rector to commit 22bf404fbdc1fa1a01aa3075363b1a6d7414d171
22bf404fbd [CodeQuality] Handle on closure, anonymous function, method call on CompleteMissingIfElseBracketRector (#5135)
2023-10-06 21:49:08 +00:00
Tomas Votruba b405743bb9 Updated Rector to commit dbd374ba2a2899d247d9c9e087aedf455462fffe
dbd374ba2a [CodeQuality] Handle missing bracket on If only on CompleteMissingIfElseBracketRector (#5134)
2023-10-06 19:05:34 +00:00
Tomas Votruba d232b29090 Updated Rector to commit 8179073d77b744e70404ec57a02ac730a877516a
8179073d77 [CodeQuality] Skip VB style in complex HTML on CompleteMissingIfElseBracketRector (#5132)
2023-10-06 08:50:53 +00:00
Tomas Votruba c02a263d0e Updated Rector to commit 8f4ef6ce9b4b14a86f9a525f931ace6dd96e0e5f
8f4ef6ce9b Clean up CompleteMissingIfElseBracketRector (#5131)
2023-10-06 08:31:06 +00:00
Tomas Votruba f2b9e5da57 Updated Rector to commit 3699f54c7ea5bc472818a9ce6d17ae95f5f0d59c
3699f54c7e Clean up CompleteMissingIfElseBracketRector (#5130)
2023-10-06 08:22:29 +00:00
Tomas Votruba 4c41a02036 Updated Rector to commit 0c9fac55d8e426402d3f306aa2979c23653a7a8a
0c9fac55d8 [CodeQuality] Handle all if,elseif,else no bracket on CompleteMissingIfElseBracketRector (#5129)
2023-10-06 08:12:48 +00:00
Tomas Votruba b68f693036 Updated Rector to commit 12184ca4ab6f82eae141058284fdd6b44a496c64
12184ca4ab Revert "[CodeQuality] Only check start from current Stmt token pos up until open parentheses on CompleteMissingIfElseBracketRector (#5127)" (#5128)
2023-10-06 06:22:34 +00:00
Tomas Votruba 4d1e798d62 Updated Rector to commit af065e78332e3654a4591cd317fc51acea6155d9
af065e7833 [CodeQuality] Only check start from current Stmt token pos up until open parentheses on CompleteMissingIfElseBracketRector (#5127)
2023-10-06 06:14:15 +00:00
Tomas Votruba b14cc5b488 Updated Rector to commit bb7d02879296e7d43f2718b1de8298380a20243b
bb7d028792 [CodeQuality] Skip spaced elseif cond on CompleteMissingIfElseBracketRector (#5126)
2023-10-06 02:54:16 +00:00
Tomas Votruba bcf39e1dff Updated Rector to commit cd0881eb628353d14f1cd344a9fed48c2e13f0bf
cd0881eb62 [CodeQuality] Skip direct InlineHTML on CompleteMissingIfElseBracketRector (#5125)
2023-10-06 02:33:05 +00:00
Tomas Votruba 9144868d77 Updated Rector to commit 96a1476e3e88b749a08408a9b827ce84f35bc237
96a1476e3e [CodeQuality] Add Else and ElseIf on CompleteMissingIfElseBracketRector (#5124)
2023-10-05 23:23:03 +00:00
Tomas Votruba ac5bf36e11 Updated Rector to commit 19661946681f61b5ab70ebf39df91a8bf9679fcc
1966194668 [CodeQuality] Skip VB style if endif on CompleteMissingIfElseBracketRector (#5122)
2023-10-05 22:29:00 +00:00
Tomas Votruba 798d9b99b4 Updated Rector to commit 3e0132d324099a3d45e1f8f0d28be76d310ee0eb
3e0132d324 [CodeQuality] Add CompleteMissingIfElseBracketRector (#5121)
2023-10-05 14:38:05 +00:00
Tomas Votruba 671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba de657e6fed Updated Rector to commit cb4e5de3792cb2006383a70152ed0556642ca336
cb4e5de379 [build] do not update dev depenencies after phpstan/phpstan removal
2023-09-27 13:44:26 +00:00
Tomas Votruba 0bac9c9526 Updated Rector to commit 5fb68b4a0c04c968a8edaa3556406838d4748757
5fb68b4a0c InlineConstructorDefaultToPropertyRector Readonly Class (#5085)
2023-09-27 13:06:03 +00:00
Tomas Votruba 4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +00:00
Tomas Votruba 3827f75ecd Updated Rector to commit 23d429233d37af0d743b4d4dc622828c704d2d2f
23d429233d [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5052)
2023-09-20 12:53:23 +00:00
Tomas Votruba b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba 77cbaa7c42 Updated Rector to commit 8f8074f6d30e657621bf6ead352d062d228274ed
8f8074f6d3 SimplifyIfNullableReturnRector: fix example (#5032)
2023-09-17 06:44:25 +00:00
Tomas Votruba 6942fe920b Updated Rector to commit 780c5afe7b1623fe23e6c198665f692275fe798e
780c5afe7b [automated] Apply Coding Standard (#5031)
2023-09-17 00:30:04 +00:00
Tomas Votruba 279e6b242e Updated Rector to commit 0acf4bd13469aff2ad461317d026234840aa8091
0acf4bd134 Simplify UseIdenticalOverEqualWithSameTypeRector (#5029)
2023-09-16 11:56:33 +00:00
Tomas Votruba 44ac4c0b00 Updated Rector to commit b5c8f9a8930520277828986608fda0b75ef5381a
b5c8f9a893 use strlen() directly, as enough for string check (#4969)
2023-09-10 14:40:14 +00:00
Tomas Votruba f73bcd4ef8 Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
c97e4ffb05 [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954)
2023-09-09 22:49:40 +00:00
Tomas Votruba 2bbdfcfe3b Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
a21a3f1757 [Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917)
2023-09-05 19:57:28 +00:00
Tomas Votruba 2ae279bf07 Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
093bcb63a1 [CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914)
2023-09-05 13:21:31 +00:00
Tomas Votruba d72f4cf839 Updated Rector to commit 04c528e639778905387757ca3f7db6a3e48ac92f
04c528e639 Skip identical to false in SimplifyBoolIdenticalTrueRector, as exact comparison is stronger than negated expression (#4901)
2023-09-03 16:38:10 +00:00
Tomas Votruba 326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba 5b1b83ed61 Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
685fe90cb8 Make SimplifyUselessVariableRector run without scope (#4791)
2023-08-14 14:31:01 +00:00
Tomas Votruba 951076fc19 Updated Rector to commit 90b832dc4f10d04b32f2c0cbc473082f6ccd11fb
90b832dc4f cleanup (#4787)
2023-08-14 09:58:25 +00:00
Tomas Votruba ec1aef0b55 Updated Rector to commit bb2e1e5fc0d15c83cd9df52d7fe6da22c1bb169d
bb2e1e5fc0 [NodeAnalyzer] Pass ReflectionProvider to __construct() on CallAnalyzer (#4699)
2023-08-07 09:47:53 +00:00
Tomas Votruba 197a05c117 Updated Rector to commit 97214e0856d96bdc8e4536746fcaca0b5bc27be1
97214e0856 [NodeAnalyzer] Remove #[Required] on CallAnalyzer (#4697)
2023-08-07 05:31:14 +00:00
Tomas Votruba e3116ffed3 Updated Rector to commit 097785424d7239bf0166d1fddb3e2079ce4787c8
097785424d [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard (#4667)
2023-08-06 09:54:45 +00:00
Tomas Votruba 2a286e21bd Updated Rector to commit 6110a50ed0aaa58281e3b9de0a195f18bb782ba4
6110a50ed0 [TypeDeclaration] Skip anonymous class and other object on ReturnUnionTypeRector (#4670)
2023-08-06 09:54:38 +00:00
Tomas Votruba b390109355 Updated Rector to commit 4e3be87945bf57a1f4c7aaf51696c55ae7617054
4e3be87945 [TypeDeclaration][CodeQuality] Move ReturnTypeFromStrictScalarReturnExprRector from CodeQuality to TypeDeclaration set (#4668)
2023-08-06 09:54:10 +00:00
Tomas Votruba 9ccb6367c0 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
2023-08-05 10:29:33 +00:00
Tomas Votruba 81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
2023-08-04 17:15:45 +00:00
Tomas Votruba aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba 78d51cc3eb Updated Rector to commit 0ff50c06d0c90ed0a678fd56261ab40b25f8b29f
0ff50c06d0 [Reflection] Reduce Scope pulling on ReflectionResolver (#4548)
2023-07-20 07:43:17 +00:00
Tomas Votruba 20ccbb9b14 Updated Rector to commit 8cd004440909a267f4530e2a1c8d0a6228a6b3d9
8cd0044409 Tiny static fixes (#4543)
2023-07-19 12:01:40 +00:00
Tomas Votruba 2e76492c3b Updated Rector to commit a0af8a1a1133943062fc438d11af7436bd74929d
a0af8a1a11 Improve methods complexity (#4542)
2023-07-19 11:50:09 +00:00
Tomas Votruba 58d5c38f57 Updated Rector to commit 6451387bb657ce665f47acb4aa1c64be7153677d
6451387bb6 [Performance][TypeDeclaration] Reduce resolve ClassReflection from Property on AllAssignNodePropertyTypeInferer (#4539)
2023-07-19 10:37:33 +00:00
Tomas Votruba ae068885cc Updated Rector to commit 3648297e5b2bc393b41fa85eba1028d3735dbaa6
3648297e5b [CodeQuality][Php80] Handle infite loop swap params on RemoveUnusedVariableInCatchRector + OptionalParametersAfterRequiredRector (#4484)
2023-07-11 23:50:02 +00:00
Tomas Votruba 9bef88551a Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
a771c56219 [DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable (#4466)
2023-07-09 17:30:30 +00:00
Tomas Votruba 50857a197a Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
5ed67fb6cf Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453)
2023-07-09 11:25:27 +00:00
Tomas Votruba 811311089b Updated Rector to commit 6daf93e54524b24be9b2d79edca98d97b6c2ae32
6daf93e545 [NodeAnalyzer] Remove find first previous on CallAnalyzer (#4434)
2023-07-07 16:13:45 +00:00
Tomas Votruba 4ded5a660a Updated Rector to commit 9df1445de8c8cb5eed5a85446628226f9b03ed76
9df1445de8 [DX] Remove SimplifyForeachToArrayFilterRector as it turns typed functions to string and make code worse (#4424)
2023-07-05 15:32:48 +00:00
Tomas Votruba 6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba d90547ba8c Updated Rector to commit 14d5c18788067f9f75fe234071814aabf42c41b1
14d5c18788 Fix just assigned variable in InlineArrayReturnAssignRector (#4363)
2023-06-27 10:06:39 +00:00
Tomas Votruba ff810186aa Updated Rector to commit a653146486eea313a569bd84a19e6ebaec7015d9
a653146486 avoid including copiler extension stub
2023-06-27 09:04:22 +00:00
Tomas Votruba 9ce469b35c Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 09:24:54 +00:00
Tomas Votruba aa8fe10881 Updated Rector to commit e80557a0c438d589759e9bb1c2026ebedaba401e
e80557a0c4  [CodeQuality] Skip not regex on SimplifyRegexPatternRector  (#4322)
2023-06-22 19:58:23 +00:00
Tomas Votruba a9747ba209 Updated Rector to commit 78475f89ad4c6e06ad1ed1a7c94858e52cfa63b3
78475f89ad  [CodeQuality] Remove parent lookup on LocalPropertyAnalyzer  (#4295)
2023-06-19 20:14:17 +00:00
Tomas Votruba 8bb866241c Updated Rector to commit 253b4f6e866fbdcd7381d22ea84f17005b233bfb
253b4f6e86 [CodeQuality] Remove parent lookup on ForeachItemsAssignToEmptyArrayToAssignRector (#4292)
2023-06-19 18:40:02 +00:00
Tomas Votruba 852d73ba40 Updated Rector to commit ad41e8a6cf9c319bc25ef3d6b6b47643edc76499
ad41e8a6cf [CodeQuality][Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster (#4279)
2023-06-18 14:30:25 +00:00
Tomas Votruba 09e844dec2 Updated Rector to commit c8e7963c048c61053f98c2aaa5690891cecc884e
c8e7963c04 [CodeQuality][Performance] Using STOP_TRAVERSAL in traverseNodesWithCallable() in LocallyCalledStaticMethodToNonStaticRector (#4278)
2023-06-18 14:04:18 +00:00
Tomas Votruba 5a6b4888cf Updated Rector to commit e87ee7e0b358fcbdb752bac8ec8b870dde54a7d3
e87ee7e0b3 Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set (#4242)
2023-06-16 14:09:13 +00:00
Tomas Votruba 688a917dc7 Updated Rector to commit dfa6e776ea2e94e9535af72e14d94d6ec984361e
dfa6e776ea [CodeQuality] Reduce parent lookup for inside Closure BindTo on LocalPropertyAnalyzer (#4231)
2023-06-14 15:11:07 +00:00
Tomas Votruba 6380eb68ac Updated Rector to commit e55d6b32a785bd03635fffc9093e26e61e33d67c
e55d6b32a7 [CodeQuality] Reduce parent lookup for inside Closure Bind (#4230)
2023-06-14 14:59:42 +00:00
Tomas Votruba 4c28e357ca Updated Rector to commit 20ec11e73d8998f9ad7533c8f179ee7be8e2abdf
20ec11e73d [Docblock] Move DocBlockUpdater service usage from AbstractRector to PhpDocTypeChanger (#4215)
2023-06-14 04:39:10 +00:00
Tomas Votruba f440a692d3 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 09:19:31 +00:00
Tomas Votruba 503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba 3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba a48c21e135 Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
ebfe96b4e0 Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144)
2023-06-09 17:30:44 +00:00
Tomas Votruba 74feb951d2 Updated Rector to commit 7740446b9569f8e03f64dedf4e1330fe52b98b3e
7740446b95 Drop AttributeKey::SCOPE in RemoveUnusedVariableAssignRector (#4141)
2023-06-09 17:06:55 +00:00
Tomas Votruba ad74348451 Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 10:52:53 +00:00
Tomas Votruba 2c295def16 Updated Rector to commit 82687502deb9d41ed79ed832baa09fe23f90d3f8
82687502de Avoid parent node lookup in RemoveEmptyClassMethodRector (#4129)
2023-06-08 23:05:51 +00:00
Tomas Votruba 08a4332d59 Updated Rector to commit 059783fb07cbe5bd2259d4634d32f563ce862de0
059783fb07 Remove MethodCallToMethodCallRector as unused (#4128)
2023-06-08 22:54:12 +00:00
Tomas Votruba f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +00:00
Tomas Votruba f486676c12 Updated Rector to commit 16b60d0f84d824f2eaafadd52650bd4ea84798e5
16b60d0f84 Make ConvertStaticPrivateConstantToSelfRector work for non-final classes, make part of code-quality set (#4114)
2023-06-08 14:55:39 +00:00
Tomas Votruba 9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba 4e35c1eafd Updated Rector to commit 2d174631c410c5ec1767a28905206e2e678b546b
2d174631c4 [CodeQuality] Handle return new object and no return on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4112)
2023-06-08 10:08:29 +00:00
Tomas Votruba 87fdd5999d Updated Rector to commit 63816c03ac4b36a7fdaa28b5944a8fca9f9ed6b8
63816c03ac [CodeQuality] Handle throw after if on ConsecutiveNullCompareReturnsToNullCoalesceQueueRector (#4107)
2023-06-07 14:47:58 +00:00
Tomas Votruba 1fdcfc8e63 Updated Rector to commit 3c9a2453294bed3e258935aad37d355c8251db4f
3c9a245329 Make SimplifyRegexPatternRector work without parent nodes + deprecate BetterNodeFinder and findParent* methods (#4105)
2023-06-07 12:49:26 +00:00
Tomas Votruba fc28a000c6 Updated Rector to commit cdc9e6b6d8ce2446e8860016997ad37e8d3b7d44
cdc9e6b6d8 Remove ArrayKeysAndInArrayToArrayKeyExistsRector as narrow, does not check variable usage and might be on purpose (#4084)
2023-06-05 13:46:42 +00:00
Tomas Votruba 5edc8437c3 Updated Rector to commit 0e9192f70cc10e4684adec85a0ab5f67c6afcad3
0e9192f70c Remove deprecated UnionTypesRector and NarrowUnionTypeDocRector, use strict-based rules from TypeDeclaration set instead (#4069)
2023-06-04 21:38:22 +00:00
Tomas Votruba 18f8207b59 Updated Rector to commit 861022a70bd9f9c8b91f20c7dfacb0d297d33e9a
861022a70b Remove RemoveAlwaysTrueConditionSetInConstructor, as overly specific and not practical; better handle with PHPStan (#4065)
2023-06-04 17:57:18 +00:00
Tomas Votruba 335ab50008 Updated Rector to commit 2d99c8b3661934f33155ddb5d46e62c7ba14715a
2d99c8b366 Remove removeNode() from InlineConstructorDefaultToPropertyRector (#4062)
2023-06-04 17:26:50 +00:00
Tomas Votruba a82d8260db Updated Rector to commit c9fc74baf53ce9104403c492fcd13dec435dad9c
c9fc74baf5 [CodeQuality] Skip deep append in if foreach before on ForeachItemsAssignToEmptyArrayToAssignRector (#4053)
2023-06-03 00:54:04 +00:00
Tomas Votruba 7823920f86 Updated Rector to commit 069e53a00efd322e8ab32b91938df894690b475c
069e53a00e [CodeQuality] Skip multiple assigns append before foreach on ForeachItemsAssignToEmptyArrayToAssignRector (#4052)
2023-06-02 22:04:35 +00:00
Tomas Votruba 1f621e91a4 Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
88eed987cc Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049)
2023-06-02 12:32:12 +00:00
Tomas Votruba 58a4ff85e7 Updated Rector to commit b8a0e84efade3cf6164e6d239bf91aefc4678ae5
b8a0e84efa Skip StrvalToType for strval first class callable syntax (#4046)
2023-06-02 10:12:23 +00:00
Tomas Votruba 8f92523b3a Updated Rector to commit 965b5f72045e3a94adf1eab83accafb52bfbe92a
965b5f7204 [CodeQuality] Exclude first class callable from IntvalToTypeCastRector (#7962) (#4040)
2023-06-01 22:33:20 +00:00
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 485a9df50b Updated Rector to commit a91057e5a1f14fe12a1e9bded2c006012c09b00d
a91057e5a1 Remove PARENT_NODE from ArrayDimFetchTypeResolver (#4015)
2023-05-29 09:58:15 +00:00
Tomas Votruba b403b25ebd Updated Rector to commit 1f594c05a70e6a8a40f15503644ed86a75bbc5f9
1f594c05a7 [CodeQuality] Remove parent attribute on LocalPropertyAnalyzer (#4007)
2023-05-28 21:32:40 +00:00
Tomas Votruba 1e426f9497 Updated Rector to commit cc6dc93b566930e66b61ee04205ef943a8d9d339
cc6dc93b56 [CodeQuality] Reduce parent lookup on LocalPropertyAnalyzer::resolveFetchedPropertiesToTypesFromClass() (#4004)
2023-05-28 20:47:12 +00:00
Tomas Votruba d3dfbb4638 Updated Rector to commit 2f84187dc1d6db09788adf8346339d6854902db5
2f84187dc1 Remove RenameNamespaceRector, better handle by IDE or explicit RenameClassRector (#3979)
2023-05-26 21:28:23 +00:00
Tomas Votruba d8c877db45 Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
33d05d3b9e Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977)
2023-05-26 14:00:49 +00:00
Tomas Votruba 94c1b64b7e Updated Rector to commit 18ac565714b7b66506a901ed4787d1ffbdd0af2d
18ac565714 Refactor from PARENT_NODE in EncapsedStringsToSprintfRector (#3960)
2023-05-25 13:47:07 +00:00
Tomas Votruba f7d28cee5d Updated Rector to commit 794bc8b5484e3eafcc91f85d443f665565c4ad44
794bc8b548 Remove PARENT_NODE from ForeachItemsAssignToEmptyArrayToAssignRector (#3958)
2023-05-25 09:21:23 +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 50ec3d44e9 Updated Rector to commit eef0e5d1f47500c9f56c5ccaa16523b11b47c8a7
eef0e5d1f4 Refactor PARENT_NODE away from JoinStringConcatRector (#3947)
2023-05-24 12:18:40 +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 5f824909cb Updated Rector to commit 79ffda7d8537ca6b04e14082bd9f0091fb97215d
79ffda7d85 Remove PARENT_NODE from CountOnNullRector (#3924)
2023-05-22 13:31:04 +00:00