5511 Commits

Author SHA1 Message Date
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
Tomas Votruba
1d37efe8d7 Updated Rector to commit 8c9d630a27e6b3c3b76b31bd8ce96db14c7e8800
8c9d630a27 [ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer (#4387)
2023-06-30 19:13:32 +00:00
Tomas Votruba
687d1218b1 Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
8324cf4276 [TypeDeclaration] Add StrictArrayParamDimFetchRector (#4384)
2023-06-30 16:33:30 +00:00
Tomas Votruba
dac98bed20 Updated Rector to commit 9d85c96cb1d90aeb6d03eed4856be6861dc07673
9d85c96cb1 Cache unchanged files on dry run v2 (#4281)
2023-06-29 09:57:51 +00:00
Tomas Votruba
ebbf202379 Updated Rector to commit 3d165eb8ef551c6a3912bc664f5255ee572b3235
3d165eb8ef [NodeTypeResolver] Remove unneded ReflectionProvider usage on StaticCallMethodCallTypeResolver (#4372)
2023-06-28 17:04:25 +00:00
Tomas Votruba
a890ca90e8 Updated Rector to commit 7ee89b326702a0b51e3165fc478615834de50fe1
7ee89b3267 [BetterPhpDocParser] Remove double array_values() call on same variable (#4371)
2023-06-28 16:15:45 +00:00
Tomas Votruba
bbcd259217 Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
6947eb7c4c [NodeTypeResolver] Only use FileWithoutNamespaceNodeTraverser once on NodeScopeAndMetadataDecorator (#4369)
2023-06-27 20:26:20 +00:00
Tomas Votruba
a3231bb81d Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
40a1f34b12 [Naming] Remove parent lookup on UseImportsResolver (#4367)
2023-06-27 17:32:34 +00:00
Tomas Votruba
44cf1ee011 Updated Rector to commit 94a4b67e89ce7a37c716ca717361982cdb2a5bf7
94a4b67e89 [StaticTypeMapper] Remove BetterNodeFinder dep on NameScopeFactory (#4365)
2023-06-27 10:48:53 +00:00
Tomas Votruba
88bf1e0a97 Updated Rector to commit b99b82abd47885409542fd867546a0e301e45400
b99b82abd4 [NodeTypeResolver] Remove autowire on ClassMethodOrClassConstTypeResolver (#4361)
2023-06-27 08:00:20 +00:00
Tomas Votruba
a6ecff6865 Updated Rector to commit f1b74a41f07d1d8a30cf9b3e88380fc8614d80e9
f1b74a41f0 [NodeTypeResolver] Remove autowire on PropertyTypeResolver (#4360)
2023-06-27 07:46:43 +00:00
Tomas Votruba
688d913bbc Updated Rector to commit d630cc6f7961d53af1dd8fb09f7bfb93ab5591e6
d630cc6f79 Revert "[Performance] Reduce callable traverser on ContextNodeVisitor (#4357)" (#4358)
2023-06-27 06:05:46 +00:00
Tomas Votruba
48bcc2bf0a Updated Rector to commit 634d71557a10f7b0f79ccfaaca2ebaef995b97dc
634d71557a [Performance] Reduce callable traverser on ContextNodeVisitor (#4357)
2023-06-27 05:49:03 +00:00
Tomas Votruba
9da21b49dc Updated Rector to commit 52a5b7d9482d52d1fa8b8cbe87bd43eaff68da30
52a5b7d948 [Renaming] Reduce parent check early on ClassRenamer (#4355)
2023-06-26 19:09:51 +00:00
Tomas Votruba
437d47448a Updated Rector to commit 3ca5734242eb340dda3ca5ea16d0111cc8edf1dd
3ca5734242 error when no files will be processed (#4326)
2023-06-26 18:58:17 +00:00
Tomas Votruba
b30224c249 Updated Rector to commit d50368339398499bb767e80634a4987577c44df5
d503683393 [NodeCollector] Remove parent attribute usage on ArrayCallableMethodMatcher (#4354)
2023-06-26 18:07:52 +00:00
Tomas Votruba
a4fa071d0e Updated Rector to commit 7e669bb75493e040b45adb86672cd678f8d3ab5b
7e669bb754 [StaticTypeMapper] Reduce parent attribute usage on FullyQualifiedNodeMapper (#4352)
2023-06-26 15:01:15 +00:00
Tomas Votruba
77467d0e15 Updated Rector to commit 4d2ae51439cd30b9e0357730ee36718bfc8b74a3
4d2ae51439 [NodeCollector] Reduce parent attribute check on ArrayCallableMethodMatcher (#4351)
2023-06-26 14:46:15 +00:00
Tomas Votruba
39599829a2 Updated Rector to commit f8bc487500b703f33bc66806f151a7757f4be3dc
f8bc487500 [ReadWrite] Reduce parent attribut usage on JustReadExprAnalyzer (#4350)
2023-06-26 13:30:41 +00:00
Tomas Votruba
ebab7418f4 Updated Rector to commit 6cc42eb33187a9b77357c1f459d724c8aa1eb4f7
6cc42eb331 [StaticTypeMapper] Remove parent attribute usage on FullyQualifiedObjectType (#4347)
2023-06-25 17:06:09 +00:00
Tomas Votruba
46e1669e6a Updated Rector to commit 53e4e9f1e939da3cc6aa9d8c7172cd17e8550d8e
53e4e9f1e9 [CodingStyle] Reduce parent attribute usage on NameImporter (#4344)
2023-06-25 16:22:08 +00:00
Tomas Votruba
9d08d136fd Updated Rector to commit dfef34df2f634b87afe6940cc4671018fb81e26e
dfef34df2f Bump nikic/php-parser to 4.16.0 (#4343)
2023-06-25 16:18:38 +00:00
Tomas Votruba
03d30f2c86 Updated Rector to commit 0efdd58b4d0fcc06e66841c7b7235724e8d6bedf
0efdd58b4d  [Renaming] Reduce parent attribute on ClassRenamer take 1  (#4340)
2023-06-25 09:59:06 +00:00
Tomas Votruba
3cbe9ec121 Updated Rector to commit fe0f45e10f1127571424f35ec57dec52c3154a10
fe0f45e10f add symfony sets to check in missing-in-set
2023-06-24 13:20:16 +00:00
Tomas Votruba
bdcf37feb5 Updated Rector to commit ba0d838d1c41ed30119de5229e2c075411dcf714
ba0d838d1c [NodeNameResolver] Remove parent attribute on VariableNameResolver (#4335)
2023-06-24 01:47:44 +00:00
Tomas Votruba
da8d75e254 Updated Rector to commit d6db5480e18c7d231cce9265972fa65c6e786d4a
d6db5480e1 [NodeTypeResolver] Remove parent attribute on VariableTypeResolver (#4334)
2023-06-24 01:40:00 +00:00
Tomas Votruba
0500a60057 Updated Rector to commit 8f5b1fe482e8c7ec2b9774af4b08e68317d3e0c8
8f5b1fe482 [StaticTypeMapper] Remove parent attribute on AliasedObjectType (#4332)
2023-06-24 01:02:28 +00:00
Tomas Votruba
f68c38a500 Updated Rector to commit 01738aa2a3c6b9d04761ebbe96bf7ff82ad48788
01738aa2a3 [ReadWrite] Reduce parent atrribute on VariableToConstantGuard (#4331)
2023-06-23 18:07:55 +00:00
Tomas Votruba
e29b5f337f Updated Rector to commit 0d2d1e3b939544039a27e793e26be16f410e8378
0d2d1e3b93  [StaticTypeMapper] Remove parent attribute on StaticTypeMapper (#4330)
2023-06-23 16:09:23 +00:00
Tomas Votruba
831e1c8c5c Updated Rector to commit a9cb9a088f22571e52f7932a751e104f8f2264e9
a9cb9a088f [NodeNameResolver] Remove parent attribute on NameNameResolver (#4329)
2023-06-23 14:50:34 +00:00
Tomas Votruba
8716db75a2 Updated Rector to commit f79a143e6ed736375a9820ffad1e7e254fa3c3e9
f79a143e6e [ReadWrite] Remove parent attribute on ReadWritePropertyAnalyzer::isArrayDimFetchRead() (#4328)
2023-06-23 14:33:48 +00:00
Tomas Votruba
fe7f82b7e5 Updated Rector to commit d772b433c19e2c4ff64befed3ac4517f9645c54b
d772b433c1 [DX] Make rectors public/autowired directly, drop redundant compiler passes (#4324)
2023-06-23 10:41:59 +00:00
Tomas Votruba
f8aedc6558 Updated Rector to commit 914e0e83543d2428d6eec6f49c800f9ed94c351a
914e0e8354 [TypeDeclaration] Handle crash on object shape on ArrayShapeFromConstantArrayReturnRector (#4323)
2023-06-23 08:36:32 +00:00
Tomas Votruba
6a50917e27 Updated Rector to commit dcca12200e8be5fbe0e136d863a6c7a3c0a354ce
dcca12200e [Performance][NodeNameResolver] Remove autowire on NodeNameResolverInterface instance (#4321)
2023-06-22 19:46:15 +00:00