1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-15 12:59:42 +01:00

4320 Commits

Author SHA1 Message Date
Tomas Votruba
228cc605b9 Updated Rector to commit 1d012e477d9dd6c93c603656dced2548264db4bf
1d012e477d [DX] Remove container builder extra params ()
2023-06-23 10:49:29 +00:00
Tomas Votruba
fe7f82b7e5 Updated Rector to commit d772b433c19e2c4ff64befed3ac4517f9645c54b
d772b433c1 [DX] Make rectors public/autowired directly, drop redundant compiler passes ()
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 ()
2023-06-23 08:36:32 +00:00
Tomas Votruba
aa8fe10881 Updated Rector to commit e80557a0c438d589759e9bb1c2026ebedaba401e
e80557a0c4  [CodeQuality] Skip not regex on SimplifyRegexPatternRector  ()
2023-06-22 19:58:23 +00:00
Tomas Votruba
6a50917e27 Updated Rector to commit dcca12200e8be5fbe0e136d863a6c7a3c0a354ce
dcca12200e [Performance][NodeNameResolver] Remove autowire on NodeNameResolverInterface instance ()
2023-06-22 19:46:15 +00:00
Tomas Votruba
6d1a7ecf0c Updated Rector to commit 5370b722f8802f82ead12b12b2e3988f40192718
5370b722f8 [Php81] Remove cast check on NullToStrictStringFuncCallArgRector ()
2023-06-22 19:01:05 +00:00
Tomas Votruba
4c49964fc9 Updated Rector to commit 5c1fd4e0e38ad79fa64669ae8ba3ba6fb64cf051
5c1fd4e0e3 [Naming] Remove BreakingVariableRenameGuard::isUsedInIfAndOtherBranches() to remove previous by types ()
2023-06-22 18:08:32 +00:00
Tomas Votruba
485d560704 Updated Rector to commit 1311a715ecdd48ec1fb58b26b3503d164334416b
1311a715ec [Performance] [NodeTypeResolver] Reduce callable traverse usage on ContextNodeVisitor ()
2023-06-22 16:46:33 +00:00
Tomas Votruba
7a6a298311 Updated Rector to commit b6650fa8bebfc08299b4075f4c8d9cce1a4c072d
b6650fa8be [ScopeNestingComparator] Remove ScopeNestingComparator to remove parent lookup ()
2023-06-22 16:15:01 +00:00
Tomas Votruba
53262b6c62 Updated Rector to commit ffce073ffa08eddc334b866ae3bec92afab15e0a
ffce073ffa [NodeNestingScope] Remove parent lookup on ContextAnalyzer ()
2023-06-22 11:51:54 +00:00
Tomas Votruba
737806867e Updated Rector to commit 5438c558066953abc6d800e94e7ffbff4215acff
5438c55806 Fix command to configure rector ()
2023-06-22 10:02:01 +00:00
Tomas Votruba
7f7ffb52f5 Updated Rector to commit 11796980f4d5cc4c2b07d765fdef097697d40708
11796980f4 [TypeDeclaration] Skip once typed and else return array_map() on ReturnTypeFromStrictTypedCallRector ()
2023-06-21 16:13:15 +00:00
Tomas Votruba
13cd8748d7 Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr ()
2023-06-21 12:59:23 +00:00
Tomas Votruba
3236151dbe Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr ()
2023-06-21 12:07:07 +00:00
Tomas Votruba
f41e5dc13b Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr ()
2023-06-21 09:44:12 +00:00
Tomas Votruba
3c275c29fd Updated Rector to commit 3ed219bb2fb0f598e09ecc061655a97f28a77454
3ed219bb2f [Php71] Add Closure support on AssignArrayToStringRector ()
2023-06-20 09:52:55 +00:00
Tomas Votruba
0b8bae3feb Updated Rector to commit f4f9d5c771017ccf1ca99f30efcdb0e71ebcc22c
f4f9d5c771 [Php71] Remove parent lookup on AssignArrayToStringRector ()
2023-06-20 08:50:04 +00:00
Tomas Votruba
577f0343f5 Updated Rector to commit 57e2712bd04d491826cc60afa9e003c54e8add96
57e2712bd0 Move AddMethodParentCallRector to Symfony Rector ()
2023-06-20 08:35:19 +00:00
Tomas Votruba
ba7a1a55c4 Updated Rector to commit c20828965125f2afbde8367f68dab0f9ae983cf1
c208289651 add sin float fixture ()
2023-06-20 08:30:39 +00:00
Tomas Votruba
6dd50a6e2f Updated Rector to commit 9b9321c27ebda491718fbc6a857f01128368f054
9b9321c27e Add bitwise or to NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-20 08:04:52 +00:00
Tomas Votruba
435aa06229 Updated Rector to commit 41184e16830061a819fbdcaaac89a8312805e124
41184e1683 Skip divide in NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-20 07:23:02 +00:00
Tomas Votruba
93731bf2a6 Updated Rector to commit 41184e16830061a819fbdcaaac89a8312805e124
41184e1683 Skip divide in NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-19 22:12:23 +00:00
Tomas Votruba
6ea944db62 Updated Rector to commit cc70ba969346bcf459d4105cf5f2da5be8bc247c
cc70ba9693 [TypeDeclaration] Extend NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-19 21:48:46 +00:00
Tomas Votruba
a32e799655 Updated Rector to commit eaf68d45ead20912a9658dc5006f463e1063334a
eaf68d45ea [TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector ()
2023-06-19 21:00:27 +00:00
Tomas Votruba
a9747ba209 Updated Rector to commit 78475f89ad4c6e06ad1ed1a7c94858e52cfa63b3
78475f89ad  [CodeQuality] Remove parent lookup on LocalPropertyAnalyzer  ()
2023-06-19 20:14:17 +00:00
Tomas Votruba
81bbd7dc72 Updated Rector to commit 9e3849f2260a0072f9427cd314db2c276c461ce2
9e3849f226 [Naming] Remove parent lookup on VariableAndCallAssignMatcher ()
2023-06-19 19:54:45 +00:00
Tomas Votruba
296985db95 Updated Rector to commit 70287f1c96f3814ceb544491d03baae3c03f8d65
70287f1c96 [Naming] Remove parent lookup on ForeachMatcher ()
2023-06-19 19:32:10 +00:00
Tomas Votruba
8bb866241c Updated Rector to commit 253b4f6e866fbdcd7381d22ea84f17005b233bfb
253b4f6e86 [CodeQuality] Remove parent lookup on ForeachItemsAssignToEmptyArrayToAssignRector ()
2023-06-19 18:40:02 +00:00
Tomas Votruba
ad66803559 Updated Rector to commit ecdfd969a95b35b9157ade06b4c32fd35c6e1370
ecdfd969a9 [NodeCollector] Remove parent lookup on ArrayCallableMethodMatcher ()
2023-06-19 17:49:54 +00:00
Tomas Votruba
f9aed43e7b Updated Rector to commit 9e8925edfd766a78d2cc20684863899d64df9586
9e8925edfd [TypeDeclaration] Remove parent attribute on ObjectTypeSpecifier ()
2023-06-19 17:26:32 +00:00
Tomas Votruba
2db1132a3e Updated Rector to commit 94cbadbac6df528e9061bdb68d56cf7f91295584
94cbadbac6 [ReadWrite] Reduce parent attribute on JustReadExprAnalyzer ()
2023-06-19 17:07:59 +00:00
Tomas Votruba
95bf4b7111 Updated Rector to commit dfe3e6c75a43b4f9a08862bae3e90fd233270728
dfe3e6c75a [NodeManipulator] Reduce parent attribute on AssignManipulator ()
2023-06-19 16:30:01 +00:00
Tomas Votruba
e064418688 Updated Rector to commit 5e1601086d921c549fc28f69ac32ec127c2c47b0
5e1601086d [Performance] Use direct BetterNodeFinder::find() on LocalMethodCallFinder::match() ()
2023-06-19 16:09:00 +00:00
Tomas Votruba
7c4692b3bb Updated Rector to commit 1afeeb91592de9e2738f179c5d7ad82533bf5042
1afeeb9159 [Performance] Use SimpleCallableNodeTraverser instead of find instanceof then filter in PropertyFetchFinder::findLocalPropertyArrayDimFetchesAssignsByName() ()
2023-06-19 15:58:11 +00:00
Tomas Votruba
7312de58c0 Updated Rector to commit 6bbeaa2ac32afb454605e7cb14a935fce8019658
6bbeaa2ac3 [Performance] Direct use BetterNodeFinder->find() in PropertyFetchFinder::findPropertyFetchesInClassLike() ()
2023-06-19 15:47:03 +00:00
Tomas Votruba
6ea61fb33b Updated Rector to commit d9f02cadebe0cb3b9ec43be05e000805f31bcb18
d9f02cadeb [Php55] Clean up FullyQualified assigned to FullyQualified on StringClassNameToClassConstantRector ()
2023-06-19 15:33:20 +00:00
Tomas Votruba
30d2bb9a83 Updated Rector to commit 4b05faa06d30e8d3f47fb3c3b37dad8548ae5230
4b05faa06d [Php55][NodeTypeResolver] Handle crash on dynamic variable concat assign on StringClassNameToClassConstantRector ()
2023-06-19 14:17:25 +00:00
Tomas Votruba
4d62037b71 Updated Rector to commit 0893df020e01529a72933efee0c085752e24c4d2
0893df020e Skip rewindable generator ()
2023-06-19 11:00:56 +00:00
Tomas Votruba
8bf7af2ff0 Updated Rector to commit 0d6800eea6b74352bd2dd16d7a2254c9398e4e98
0d6800eea6 Add sleep after processPool->quitAll() to give time for all child processes to terminate ()
2023-06-19 07:27:13 +00:00
Tomas Votruba
852d73ba40 Updated Rector to commit ad41e8a6cf9c319bc25ef3d6b6b47643edc76499
ad41e8a6cf [CodeQuality][Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster ()
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 ()
2023-06-18 14:04:18 +00:00
Tomas Votruba
07222965c2 Updated Rector to commit 33cfa4f7164c7b0d2c2922d4cd9f0ebdac43a5d9
33cfa4f716 [ReadWrite] Reduce parent lookup on ReadWritePropertyAnalyzer ()
2023-06-18 13:46:29 +00:00
Tomas Votruba
fe68d59192 Updated Rector to commit 6f1b98ef3bf17f9b0d8df592e8605479c628b2c8
6f1b98ef3b [NodeCollector] Reduce parent lookup on ArrayCallableMethodMatcher on detect array in Attribute ()
2023-06-18 13:16:21 +00:00
Tomas Votruba
ad1bdeeb0f Updated Rector to commit 18436f1f44262a6dcc0dcb6d5bb88eb439a53045
18436f1f44 [NodeManipulator] Remove parent lookup on PropertyManipulator ()
2023-06-18 10:49:07 +00:00
Tomas Votruba
ed58f0fcb1 Updated Rector to commit 3806bb8f05a822d081a69f735745ae2f14caf657
3806bb8f05 [NodeManipulator] Reduce parent lookup on PropertyManipulator under Unset_ ()
2023-06-18 09:44:52 +00:00
Tomas Votruba
b326a57561 Updated Rector to commit 805b7b7d39fcd989873452ddbbd57e2a76150022
805b7b7d39 [Performance] Do not traverse current and children on context check Break_ and If_ ()
2023-06-18 06:22:16 +00:00
Tomas Votruba
10dcb93b50 Updated Rector to commit fc423fd69f9a96932ae62d09c6f01812678651cc
fc423fd69f [NodeTypeResolver] Add ContextNodeVisitor to remove parent lookup on inside loop detection ()
2023-06-18 06:01:13 +00:00
Tomas Votruba
a80b7eaeaf Updated Rector to commit 3d07c26d3efc4c0c16cbbe1fb347114e0178cc5e
3d07c26d3e [Php70] Remove parent lookup for Break_ inside Switch_ on BreakNotInLoopOrSwitchToReturnRector ()
2023-06-18 05:21:33 +00:00
Tomas Votruba
950bd50ad1 Updated Rector to commit 392898c5de7e25ceeb83072eb951939ddf1c7150
392898c5de [Performance] Remove NODES_TO_MATCH constant on RemoveNonExistingVarAnnotationRector ()
2023-06-18 03:50:55 +00:00
Tomas Votruba
071632b237 Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
0d9828f9d9 [automated] Apply Coding Standard ()
2023-06-18 02:32:09 +00:00