1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-21 07:49:48 +01:00

16546 Commits

Author SHA1 Message Date
Tomas Votruba
e3e96f6f96 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall ()
2023-07-06 20:17:30 +00:00
Tomas Votruba
7f5bbceea9 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall ()
2023-07-06 18:53:30 +00:00
Tomas Votruba
ef629ad2ed Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall ()
2023-07-06 15:20:15 +00:00
Tomas Votruba
d071e69583 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall ()
2023-07-06 14:24:46 +00:00
Tomas Votruba
92a790ae25 Updated Rector to commit a4ef13b30cfd2ee5a02f547256673064d648c558
a4ef13b30c [NodeAnalyzer] Check statementDepth on Stmt, and expressionDepth on Expr on ScopeAnalyzer ()
2023-07-05 17:31:36 +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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
2023-07-04 14:54:28 +00:00
Tomas Votruba
da9114bcbb Updated Rector to commit cd3d327988ac60ed5ec725bafe51b4c670e56ec1
cd3d327988 Revert "[Performance] Immediate remove UnreachableStatementNodeVisitor object after traverse to avoid re-use in next file ()" ()
2023-07-04 14:40:22 +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 ()
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 ()
2023-07-04 08:36:47 +00:00
Tomas Votruba
1f28e1c52a Updated Rector to commit 708cc4fb49562e19a98849abd50216048b1f48ba
708cc4fb49 [TypeDeclaration] Handle crash on no namespace with + operation on DeclareStrictTypesRector ()
2023-07-03 17:30:02 +00:00
Tomas Votruba
d16d5ab29c Updated Rector to commit 3bd0e9faa5e015df82ccf511e248b5ca3d168b33
3bd0e9faa5  [DeadCode] Skip used as closure on RemoveUnusedPrivateMethodRector  ()
2023-07-03 16:48:28 +00:00
Tomas Votruba
f40dc9ec2a Updated Rector to commit 3aed20ef6677602ae7a5d164be8bbdee291da4ce
3aed20ef66 [DX] Make use of SimpleParameterProvider::provideStringParameter() ()
2023-07-03 15:07:34 +00:00
Tomas Votruba
54dbeae92c Updated Rector to commit ddc3d946366d72d91ef608b08ccd6f3e17eed830
ddc3d94636 [DX] Make use of SimpleParameterProvider::provideIntParameter() ()
2023-07-03 15:00:57 +00:00
Tomas Votruba
e055ea60b8 Updated Rector to commit 2502fe2e92aa8fcee621b2aa3eb2a1cfdf2b0621
2502fe2e92 [Php82] Skip extends unknown class on ReadonlyClassRector ()
2023-07-03 14:56:15 +00:00
Tomas Votruba
ecece488c5 Updated Rector to commit 011f7e5e7d5390b456d3bb91848c12f94baf7b71
011f7e5e7d [DX] Make use of SimpleParameterProvider ()
2023-07-03 14:46:51 +00:00
Tomas Votruba
493a57e478 Updated Rector to commit df5a7bbfbf4e01f4b485603bacab0f1fd807b7f7
df5a7bbfbf [DX] Kick of SimpleParameterProvider ()
2023-07-03 13:55:43 +00:00
Tomas Votruba
2d92d14602 Updated Rector to commit 265f3ac2eca7287556b176ea428fa5f36fdef93c
265f3ac2ec Fix NumericReturnTypeFromStrictScalarReturnsRector for non-natively-typed parameters ()
2023-07-03 08:34:34 +00:00
Tomas Votruba
63da13d421 Updated Rector to commit 4a0008452981d918b6590b82cf8f2577b3aa8171
4a00084529 [automated] Apply Coding Standard ()
2023-07-02 00:37:53 +00:00
Tomas Votruba
a5a4164e0f Updated Rector to commit 6a53d48a8cdde9c40751ed2b294758dab8fb4d6f
6a53d48a8c [Renaming] Handle crash on catch Exception name on RenameClassRector ()
2023-07-01 23:26:53 +00:00
Tomas Votruba
e28ac0cec4 Updated Rector to commit 222569c781584f6c6f76968ab3e2557c58983af3
222569c781 [NodeAnalyzer] Remove parent attribute on ScopeAnalyzer ()
2023-07-01 23:02:38 +00:00
Tomas Votruba
d403caf40e Updated Rector to commit 66a9bcff33fce09aff972693263c04cc4cdd3604
66a9bcff33 [EarlyReturn] Remove findFirstNext() on InvertedIfFactory ()
2023-07-01 17:58:08 +00:00
Tomas Votruba
b083f2427f Updated Rector to commit 6e90cc741ca2e6d94fe485fd01c085a7641d5d93
6e90cc741c [ReadWrite] Remove parent attribute usage on ReadWritePropertyAnalyzer ()
2023-07-01 15:51:11 +00:00
Tomas Votruba
6aada686fa Updated Rector to commit 5944b6d6a998a6ee854b699f5a8541bdc8a17818
5944b6d6a9 [NodeManipulator] Reduce parent check on PropertyManipulator ()
2023-07-01 14:21:21 +00:00
Tomas Votruba
d769492469 Updated Rector to commit b8129b47429c5686a82e6a3753b24e49706384b3
b8129b4742 [NodeTypeResolver] Remove param type context on ContextNodeVisitor ()
2023-07-01 13:54:24 +00:00
Tomas Votruba
872db0f1a4 Updated Rector to commit 9f6e80e2901da6caf3c77c4b7cb06cb384042238
9f6e80e290 [StaticTypeMapper] Remove parent attribute usage on FullyQualifiedNodeMapper ()
2023-07-01 13:47:28 +00:00
Tomas Votruba
4ac2f7ee3a Updated Rector to commit 51cc0678a8da0b27b7dcc33706fc32d192e565ca
51cc0678a8 [NodeManipulator] Remove parent attribute usage on AssignManipulator ()
2023-07-01 13:10:36 +00:00
Tomas Votruba
2d175bf66e Updated Rector to commit 07859a15a3d53652689a6226de9a7cb09c4b89ee
07859a15a3 [ReadWrite] Remove parent attribute usage on JustReadExprAnalyzer ()
2023-07-01 12:50:16 +00:00
Tomas Votruba
ea79543156 Updated Rector to commit 38f4ad787ead53fc4e1c44c1a53ae17c3b6bf53a
38f4ad787e Remove commited temp_10fe18f2bd3524e99ff8_phpstan-for-rector.neon file ()
2023-07-01 11:12:12 +00:00
Tomas Votruba
1dc3d74b09 Updated Rector to commit 2161084bd7920506db4484aa0d07a62ccdd3ec04
2161084bd7 [DeadCode] Skip non typed param numeric check on RecastingRemovalRector ()
2023-07-01 10:50:27 +00:00
Tomas Votruba
33dbc6506f Updated Rector to commit db5f778f9f9fd94fe1271ce8fc3ef4c156fd88ad
db5f778f9f [NodeAnalyzer] Remove parent lookup on ExprAnalyzer::isNonTypedFromParam() ()
2023-07-01 10:16:51 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector ()
2023-07-01 09:41:56 +00:00
Tomas Votruba
1d37efe8d7 Updated Rector to commit 8c9d630a27e6b3c3b76b31bd8ce96db14c7e8800
8c9d630a27 [ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer ()
2023-06-30 19:13:32 +00:00
Tomas Votruba
6ce9445bdc Updated Rector to commit 8040759d5fff1d9f9e5ca933dedad256d16bc571
8040759d5f [TypeDeclaration] Skip guarded by parent on StrictArrayParamDimFetchRector ()
2023-06-30 18:35:54 +00:00
Tomas Votruba
9718cf02a8 Updated Rector to commit 5a91bde755a1906e932d8346466c98101a31ec02
5a91bde755 [DX] Make autowired commands with tags ()
2023-06-30 16:53:55 +00:00
Tomas Votruba
687d1218b1 Updated Rector to commit 8324cf427656e1d81f8c0e782885ca65bf592481
8324cf4276 [TypeDeclaration] Add StrictArrayParamDimFetchRector ()
2023-06-30 16:33:30 +00:00
Tomas Votruba
5db0586b82 Updated Rector to commit 205df9013af5e05034441aa6088599532f5fef05
205df9013a [TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer ()
2023-06-30 11:59:36 +00:00
Tomas Votruba
f77ffbaf00 Updated Rector to commit 205df9013af5e05034441aa6088599532f5fef05
205df9013a [TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer ()
2023-06-30 10:58:35 +00:00
Tomas Votruba
48f3d4f73c Updated Rector to commit 3c823c71fe33485a439af676f6ea3ed100b06faa
3c823c71fe Remove duplicate ReturnNeverTypeRector rule ()
2023-06-30 10:36:30 +00:00
Tomas Votruba
0529f61c4f Updated Rector to commit 93a279d3658fea5d56670bb63ff41df3b2b481f3
93a279d365 Cleanup test fixtures for NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-30 08:38:54 +00:00
Tomas Votruba
cf15a1a741 Updated Rector to commit 543bb5f96f379891f0dc785a4d413e6c891c3be9
543bb5f96f [NodeManipulator] Reduce parent attribute check on PropertyManipulator ()
2023-06-29 16:46:49 +00:00
Tomas Votruba
107ce57c77 Updated Rector to commit 29dc5843a88dfec821312c9e2d1725e9cc57b9e2
29dc5843a8 Add float mul integer type to NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-29 15:56:31 +00:00
Tomas Votruba
b8f72ff7e4 Rector 0.17.2 0.17.2 2023-06-29 10:03:28 +00:00
Tomas Votruba
6e8d9f01fe Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
9ff238819b apply cs
2023-06-29 10:02:47 +00:00
Tomas Votruba
dac98bed20 Updated Rector to commit 9d85c96cb1d90aeb6d03eed4856be6861dc07673
9d85c96cb1 Cache unchanged files on dry run v2 ()
2023-06-29 09:57:51 +00:00
Tomas Votruba
9c2b8f6963 Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d37
a808debdb2 [MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt ()
2023-06-29 08:17:06 +00:00