16837 Commits

Author SHA1 Message Date
Tomas Votruba
060f298712 Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:48:05 +00:00
Tomas Votruba
814e26534d Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:12:44 +00:00
Tomas Votruba
cc7b0cd56f Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 15:23:24 +00:00
Tomas Votruba
8848b01ee3 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:46:57 +00:00
Tomas Votruba
68f1807515 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:44:12 +00:00
Tomas Votruba
933f88178b Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 13:46:47 +00:00
Tomas Votruba
ed860db4e7 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 13:35:19 +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
eeab658669 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:21:20 +00:00
Tomas Votruba
8be31113be Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:02:42 +00:00
Tomas Votruba
3d97937140 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 16:33:28 +00:00
Tomas Votruba
62fe44207e Updated Rector to commit 56c84ba714b135a36e7e95fdf53f406b1411461e
56c84ba714 [TypeDeclaration] Do not add default value when assigned in __construct() on TypedPropertyFromStrictGetterMethodReturnTypeRector (#4886)
2023-08-31 11:38:41 +00:00
Tomas Votruba
a3ea8375c9 Updated Rector to commit 4b0a688b8117689c243adc1c8dd18e9512673428
4b0a688b81 [TypeDeclaration] skip variadic constructor param of mixed type on AddParamTypeFromPropertyTypeRector (#4887)
2023-08-31 10:36:02 +00:00
Tomas Votruba
25e5fba435 Updated Rector to commit cf69407e2ff3402abb8a939d79f326f59121b2b4
cf69407e2f Fix missing default string in TypedPropertyFromStrictGetterMethodReturnTypeRector (#4885)
2023-08-31 08:41:20 +00:00
Tomas Votruba
92fc179e0d Updated Rector to commit 5f52c69ae04c708be50552b165104b4a919a3ff0
5f52c69ae0 [e2e] $rectorConfig->skip() should not skip inside different path over config (#4882)
2023-08-30 11:40:52 +00:00
Tomas Votruba
5c920d9487 Updated Rector to commit 8b07c8e7de96a3b304b5409f1ef3415a513fee91
8b07c8e7de Add test for merge ruleWithConfiguration() after sets on $isBound usage (#4881)
2023-08-29 18:08:49 +00:00
Tomas Votruba
d7c5dcb785 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 17:02:15 +00:00
Tomas Votruba
89778f7171 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 16:56:41 +00:00
Tomas Votruba
97f92edab1 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 16:52:48 +00:00
Tomas Votruba
fc984ac23b Updated Rector to commit ea2252a374c5ce46f6a19f93649aef43634ff997
ea2252a374 [Config] Remove $isBound usage as cause empty configuration on RectorConfig (#4880)
2023-08-29 16:39:24 +00:00
Tomas Votruba
dd35feba0b Updated Rector to commit beffd07acd0f131b0bad64461ae901fd9bb4e03c
beffd07acd ReturnTypeFromStrictParamRector: Fix typo in test-fixture (#4879)
2023-08-29 15:55:26 +00:00
Tomas Votruba
4650cf5c21 Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
7841dc5824 Clean up usused filePath instance check on ApplicationFileProcessor (#4877)
2023-08-29 07:31:50 +00:00
Tomas Votruba
9e31017a92 Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
7841dc5824 Clean up usused filePath instance check on ApplicationFileProcessor (#4877)
2023-08-29 07:20:21 +00:00
Tomas Votruba
ee72ef5426 Rector 0.18.1 0.18.1 2023-08-28 18:01:58 +00:00
Tomas Votruba
cd424deff6 Updated Rector to commit 5d0dd480a6f4d9ec46c7639c20f9e6345f7aa92d
5d0dd480a6 skip Removing category from outside any set rule
2023-08-28 17:54:38 +00:00
Tomas Votruba
73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba
de9ddf6e5d Updated Rector to commit c03fd2ad2625f1a0cf6a02d9875078b7114381ad
c03fd2ad26 [Performance] Avoid spl_object_hash() when has origNode attribute on AbstractRector::leaveNode() (#4875)
2023-08-28 14:25:05 +00:00
Tomas Votruba
dd562a4b59 Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
9e8ed6c33f Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874)
2023-08-28 12:45:54 +00:00
Tomas Votruba
1b7113d724 Updated Rector to commit 2f38105001867c15fb1b2001767b37566428719f
2f38105001 fix cs
2023-08-28 12:02:21 +00:00
Tomas Votruba
e17db30c80 Updated Rector to commit eac3d467a9ff5ce778bb79b214c39487a6f928f4
eac3d467a9 [ProcessAnalyzer] Remove unnecessary hasAttribute(origNode) on RectifiedAnalyzer (#4873)
2023-08-28 06:24:32 +00:00
Tomas Votruba
dcd7f106fc Updated Rector to commit 7fc7034ddd58ff23d19bd2ed956ab93fdacfd153
7fc7034ddd Add additional comment for future reference on RectifiedAnalyzer on above node directly use DONT_TRAVERSE_CHILDREN, only on current rule (#4872)
2023-08-28 05:47:55 +00:00
Tomas Votruba
4844c51a8d Updated Rector to commit 00e267682a1faf3f8eab4208271f508b813ce4d3
00e267682a Clean up double set attribute on AbstractRector (#4871)
2023-08-28 05:43:22 +00:00
Tomas Votruba
025bdb2a5f Updated Rector to commit 9be0ac335782f52be36535eb29f30df87bee42c2
9be0ac3357 [Performance] No need to traverseNodesWithCallable() when only single node types on decorateCurrentAndChildren (#4870)
2023-08-28 05:35:05 +00:00
Tomas Votruba
edd0b488c3 Updated Rector to commit 684a317c5116bf60d43080ad62af7ae73c221894
684a317c51 [Php55][Renaming] Handle rename string on combination StringClassNameToClassConstantRector+RenameStringRector (#4869)
2023-08-28 05:28:50 +00:00
Tomas Votruba
08c1a94075 Updated Rector to commit 1c56aa9bdad38af386edd67f45405d641da37ed5
1c56aa9bda [ProcessAnalyzer] Remove phpstan_cache_printer tweak check on RectifiedAnalyzer (#4868)
2023-08-28 04:06:37 +00:00
Tomas Votruba
6e87ca12f5 Updated Rector to commit 87344c79fd4d367462cf7cb9cc0953f30b3cf684
87344c79fd Clean up compare null on $toBeRemovedNodeHash on AbtractRector (#4867)
2023-08-27 17:05:13 +00:00
Tomas Votruba
476b7f9e08 Updated Rector to commit c435754bd2447a4048742a1c1f7a7df8a4cdd51b
c435754bd2 clean up docblock on $nodesToReturn property on AbstractRector (#4866)
2023-08-27 17:00:25 +00:00
Tomas Votruba
d47a3cb197 Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
7e4a920a8a [Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865)
2023-08-27 15:41:04 +00:00
Tomas Votruba
b1fc9b0f15 Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
7e4a920a8a [Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865)
2023-08-27 15:31:02 +00:00
Tomas Votruba
2048db3e08 Updated Rector to commit 3f5ff9ec439f0b6b5a4c8a02748aac8b19ac17a4
3f5ff9ec43 Revert "Better approach leaveNode() check Stmt to non Stmt handling on AbstractRector (#4863)" (#4864)
2023-08-27 15:05:22 +00:00
Tomas Votruba
89f1ce8f10 Updated Rector to commit 4e75e84f92608d7bd8db99d13a1494da6e424090
4e75e84f92 Add test for change Stmt to different Stmt (#4862)
2023-08-27 14:19:02 +00:00
Tomas Votruba
421b970b76 Updated Rector to commit 3199e0a00c19bbdbd4ac59f10b4368657b70cfd1
3199e0a00c [ProcessAnalyzer] Skip process when origNode class is not equal with target node class (#4861)
2023-08-27 13:26:22 +00:00
Tomas Votruba
2473beec4a Updated Rector to commit 7d9c9111eb140283f77aa7ddeb57066e035de614
7d9c9111eb [automated] Apply Coding Standard (#4860)
2023-08-27 00:28:44 +00:00
Tomas Votruba
35b66505ec Updated Rector to commit 857e7a5604df3c36f85ea2702c066744a17728f7
857e7a5604 [Scoped] Do not downgrade vendor/rector-*/config (#4859)
2023-08-26 13:52:10 +00:00
Tomas Votruba
3982c504e9 Updated Rector to commit f64cb7b3f8467fe5e6509f0651017a6dabc1fd47
f64cb7b3f8 Revert "Pin react/socket to 1.13 (#4855)" (#4856)
2023-08-26 09:10:09 +00:00
Tomas Votruba
0728ba3ce0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 06:01:40 +00:00
Tomas Votruba
3be5dc788b Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 03:10:37 +00:00
Tomas Votruba
5fdba3c8f0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 02:10:45 +00:00
Tomas Votruba
33326d3cb4 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 01:30:33 +00:00
Tomas Votruba
909b93c7f2 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-25 17:57:39 +00:00