5544 Commits

Author SHA1 Message Date
Tomas Votruba
b9ed01d3be Updated Rector to commit 972d7607f1c4ab8b733b91d7aa5020ce1b143538
972d7607f1 [Application] Merge process files on both parallel and non-parallel process (#4523)
2023-07-19 10:53:43 +00:00
Tomas Votruba
8d3877fbc0 Updated Rector to commit 6e12886d2444da1471112c2d155fdaaa09ce3d41
6e12886d24 [Scope] Pull Scope from Node instead of origNode on Abstract*Rector take 2 (#4538)
2023-07-19 10:44:22 +00:00
Tomas Votruba
9965650f0e Updated Rector to commit e77f6d21a97319f57f11a7e6eae9b583fe425c1e
e77f6d21a9 [ApplicationFileProcessor] Refactor ApplicationFileProcessor to filter file paths early before run both parallel and non-parallel (#4519)
2023-07-15 00:49:23 +00:00
Tomas Votruba
d67f0e438d Updated Rector to commit 9217e0da232258fecb049c6a08d165ebe70aa36b
9217e0da23 [ChangesReporting] Reuse defined errors vairable on ConsoleOutputFormatter (#4517)
2023-07-14 20:08:01 +00:00
Tomas Votruba
3da291ebaf Updated Rector to commit d41685daa403a71dd3cd78fce5205a2a3048cba4
d41685daa4 [DX] Show progress bar 100% on RectorConsoleOutputFormatter::report() (#4516)
2023-07-14 19:51:55 +00:00
Tomas Votruba
51814c6825 Updated Rector to commit f5820a0b5f742d725cd5fde4af48b2538b0e9541
f5820a0b5f [Performance] Use filtered filePaths from ApplicationFileProcessor::configurePHPStanNodeScopeResolver on WorkerRunner::run()  (#4513)
2023-07-14 18:35:37 +00:00
Tomas Votruba
f566e4f4b4 Updated Rector to commit f33da13f566d733549bce0a1173cca8433b7ef05
f33da13f56 Support final methods in ClassMethodReturnTypeOverrideGuard (#4509)
2023-07-14 13:31:54 +00:00
Tomas Votruba
ea78b6c7c5 Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
a12242df2a [AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508)
2023-07-13 18:08:47 +00:00
Tomas Votruba
4da4f21668 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
8537bbd52a [DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506)
2023-07-13 15:37:09 +00:00
Tomas Votruba
0a29dbd455 Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
398baa2c6a [CI] Add doctrine rules in set check (#4505)
2023-07-13 13:50:29 +00:00
Tomas Votruba
10b083fee2 Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
295a01c49f [NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504)
2023-07-13 12:47:15 +00:00
Tomas Votruba
c91f8a31e9 Updated Rector to commit acfb19cac07b3002b66c47bf145898ed8a4b3ee9
acfb19cac0 [NodeTypeResolver] Remove AttributeKey::IS_ISSET_VAR from ContextNodeVisitor (#4503)
2023-07-13 12:32:48 +00:00
Tomas Votruba
abc02d7405 Updated Rector to commit 898d599f519a0656edad257da6e8008ff1e7260b
898d599f51 [NodeTypeResolver] Remove AttributeKey::IS_RETURN_EXPR from ContextNodeVisitor (#4502)
2023-07-13 12:25:49 +00:00
Tomas Votruba
78bf7df696 Updated Rector to commit 54826059d1d559be54053bac1913c8eb6940fdb8
54826059d1 Cleanup RecastingRemovalRector tests (#4498)
2023-07-13 10:16:17 +00:00
Tomas Votruba
a2178d82dc Updated Rector to commit 9e9a314b23fa9f217c236412591c4cb9ad94edf5
9e9a314b23 [NodeTypeResolver] Remove unused AttributeKey::INSIDE_ARRAY_ITEM on ContextNodeVisitor (#4496)
2023-07-12 22:16:31 +00:00
Tomas Votruba
50d0f997c6 Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493)
2023-07-12 14:21:26 +00:00
Tomas Votruba
fe7bab8799 Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491)
2023-07-12 09:53:27 +00:00
Tomas Votruba
94fef75d5b Updated Rector to commit 284596d4b976784ebe973370e2ed93d0e9977d90
284596d4b9 [Testing] Remove gc_collect_cycles() on AbstractRectorTestCase to avoid random error in tests due to SimpleParameterProvider static property usage lost (#4472)
2023-07-10 11:44:16 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector (#4465)
2023-07-09 18:49:55 +00:00
Tomas Votruba
e24fff2c36 Updated Rector to commit 68d092c547af462f8e036a6d06bd343e15103901
68d092c547 [DX] Make use of SimpleParameterProvider directly, deprecate RectorConfigProvider (#4460)
2023-07-09 13:51:12 +00:00
Tomas Votruba
8b1461a064 Updated Rector to commit ab9d3219915e1bcab0f1cda02d76dc57ff03c9ce
ab9d321991 [DX] Fix duplicate check in RectorConfig (#4457)
2023-07-09 12:20:50 +00:00
Tomas Votruba
0c4f4be946 Updated Rector to commit 33019ba2ff8abfa658b998db5a7ca88f2fa87da3
33019ba2ff [MysqlToMysqli] Deprecate set, as dangerous to use, better handle manually (#4448)
2023-07-09 09:46:05 +00:00
Tomas Votruba
46ce317aa4 Updated Rector to commit 14081fecec9a9079c6ec279b383f8ade48f2b990
14081fecec Add inside array item marker to remove PARENT_NODE from downgrade (#4447)
2023-07-09 08:23:58 +00:00
Tomas Votruba
b0309e26cf Updated Rector to commit 919f5d4ababb95e3cf9167926e81c65939d70bf3
919f5d4aba [Renaming] Remove parent attribute on ClassRenamer (#4446)
2023-07-09 02:51:17 +00:00
Tomas Votruba
0e1f48fb00 Updated Rector to commit 3b6084dec770faeb7fca657b6f1ab6898a0801d5
3b6084dec7 [Php72] Remove parent attribute on AnonymousFunctionFactory (#4443)
2023-07-09 01:45:20 +00:00
Tomas Votruba
7912b23087 Updated Rector to commit 2f1d4d3e66e896531cbfe6958307b451e972a624
2f1d4d3e66 Make RemoveNonExistingVarAnnotationRector simpler, skip compact() check as not generic (#4439)
2023-07-08 21:50:21 +00:00
Tomas Votruba
47fc2f5153 Updated Rector to commit 651616a14b47aadfd467da1dded6c420f1ef3f01
651616a14b [NodeTypeResolver] Reduce parent lookup on ParamTypeResolver (#4435)
2023-07-08 14:38:41 +00:00
Tomas Votruba
beaa6639c6 Updated Rector to commit ce207419aafa6effb8e2812408c09b1d8e9b874c
ce207419aa [DX] Lower parent node dependency in VariableToConstantGuard (#4430)
2023-07-06 22:39:41 +00:00
Tomas Votruba
d53aabefd9 Updated Rector to commit 1d0feb251132d3b766945bc80d8f914c5279277f
1d0feb2511 [DX] Lower readonly PropertyManipulator complexity (#4429)
2023-07-06 21:07:00 +00:00
Tomas Votruba
d071e69583 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall (#4428)
2023-07-06 14:24:46 +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
8c7b0e1592 Updated Rector to commit 14790b408cc616842ab25084c23c91cdd83559a1
14790b408c [NodeTypeResolver] Remove ArrayItem scope filling from Array_ and Name filling for Catch types on PHPStanNodeScopeResolver (#4423)
2023-07-05 12:35:10 +00:00
Tomas Votruba
67e1d2d61c Updated Rector to commit 3fa4bec792258ae18bf56c665d5ec3fa4938d475
3fa4bec792 [Renaming] Remove Scope filling from Name node on PHPStanNodeScopeResolver for RenameClassRector (#4422)
2023-07-05 12:18:11 +00:00
Tomas Votruba
e534d832ec Updated Rector to commit b4ff32ef246fe2c36351701995759ee4fc21f370
b4ff32ef24 [TypeDeclaration] Remove aliased object type from MethodCall/StaticCall on ObjectTypeSpecifier (#4421)
2023-07-05 09:25:45 +00:00
Tomas Votruba
64593b7175 Updated Rector to commit 77b0bb7080b3f3e01e1fc8cdac2908c7b490a9d0
77b0bb7080 [NodeTypeResolver][Performance] Using instanceof instead of is_string() check on Node visitors (#4420)
2023-07-04 15:43:39 +00:00
Tomas Votruba
59c58750fa Updated Rector to commit b353e704c81dd3a9bd78f82bc571153c3023b471
b353e704c8 [Performance] Improve check has unreachable statement node NodeScopeAndMetadataDecorator  take 3 (#4419)
2023-07-04 14:54:28 +00:00
Tomas Votruba
abbf3c7b97 Updated Rector to commit fb0ae6dd929596556c2e7454068ecdec5e326378
fb0ae6dd92 [Performance] Add $hasUnreachableStatementNode flag on PHPStanNodeScopeResolver to ensure execute UnreachableStatementNodeVisitor only when it has (#4416)
2023-07-04 13:33:50 +00:00
Tomas Votruba
7251a47b0d Updated Rector to commit 93a4b2b15eec15c506ae55c25b23a40dd0390cff
93a4b2b15e [NodeTypeResolver] Remove parent attribute on PHPStanNodeScopeResolver for after UnreachableStatementNode detector (#4415)
2023-07-04 08:36:47 +00:00
Tomas Votruba
f40dc9ec2a Updated Rector to commit 3aed20ef6677602ae7a5d164be8bbdee291da4ce
3aed20ef66 [DX] Make use of SimpleParameterProvider::provideStringParameter() (#4410)
2023-07-03 15:07:34 +00:00
Tomas Votruba
54dbeae92c Updated Rector to commit ddc3d946366d72d91ef608b08ccd6f3e17eed830
ddc3d94636 [DX] Make use of SimpleParameterProvider::provideIntParameter() (#4409)
2023-07-03 15:00:57 +00:00
Tomas Votruba
ecece488c5 Updated Rector to commit 011f7e5e7d5390b456d3bb91848c12f94baf7b71
011f7e5e7d [DX] Make use of SimpleParameterProvider (#4406)
2023-07-03 14:46:51 +00:00
Tomas Votruba
493a57e478 Updated Rector to commit df5a7bbfbf4e01f4b485603bacab0f1fd807b7f7
df5a7bbfbf [DX] Kick of SimpleParameterProvider (#4405)
2023-07-03 13:55:43 +00:00
Tomas Votruba
a5a4164e0f Updated Rector to commit 6a53d48a8cdde9c40751ed2b294758dab8fb4d6f
6a53d48a8c [Renaming] Handle crash on catch Exception name on RenameClassRector (#4401)
2023-07-01 23:26:53 +00:00
Tomas Votruba
e28ac0cec4 Updated Rector to commit 222569c781584f6c6f76968ab3e2557c58983af3
222569c781 [NodeAnalyzer] Remove parent attribute on ScopeAnalyzer (#4400)
2023-07-01 23:02:38 +00:00
Tomas Votruba
b083f2427f Updated Rector to commit 6e90cc741ca2e6d94fe485fd01c085a7641d5d93
6e90cc741c [ReadWrite] Remove parent attribute usage on ReadWritePropertyAnalyzer (#4398)
2023-07-01 15:51:11 +00:00
Tomas Votruba
d769492469 Updated Rector to commit b8129b47429c5686a82e6a3753b24e49706384b3
b8129b4742 [NodeTypeResolver] Remove param type context on ContextNodeVisitor (#4396)
2023-07-01 13:54:24 +00:00
Tomas Votruba
872db0f1a4 Updated Rector to commit 9f6e80e2901da6caf3c77c4b7cb06cb384042238
9f6e80e290 [StaticTypeMapper] Remove parent attribute usage on FullyQualifiedNodeMapper (#4395)
2023-07-01 13:47:28 +00:00
Tomas Votruba
4ac2f7ee3a Updated Rector to commit 51cc0678a8da0b27b7dcc33706fc32d192e565ca
51cc0678a8 [NodeManipulator] Remove parent attribute usage on AssignManipulator (#4394)
2023-07-01 13:10:36 +00:00
Tomas Votruba
2d175bf66e Updated Rector to commit 07859a15a3d53652689a6226de9a7cb09c4b89ee
07859a15a3 [ReadWrite] Remove parent attribute usage on JustReadExprAnalyzer (#4393)
2023-07-01 12:50:16 +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