Commit Graph

1386 Commits

Author SHA1 Message Date
Tomas Votruba
8dfd47b5cc Updated Rector to commit 418821236de4fe723114d95846a22741d14fc7f8
418821236d make PhpDocInfo::findByAnnotationClass() public to use in Symfony rules
2023-10-01 11:44:36 +00:00
Tomas Votruba
fd3e7ba154 Updated Rector to commit 15bc1157be538b34bf81428997ef2aab5b974336
15bc1157be [phpstan] cleanup fixed errors
2023-10-01 11:35:14 +00:00
Tomas Votruba
671f50c702 Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
ee71539694 [NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099)
2023-10-01 01:36:35 +00:00
Tomas Votruba
83a14c92a0 Updated Rector to commit 8a3fddfbcc083b526a5365e241f6c5ab37541fc9
8a3fddfbcc [NodeTypeResolver] Reduce AstResolver usage on ArrayTypeAnalyzer (#5096)
2023-09-30 22:31:51 +00:00
Tomas Votruba
beb21d1b36 Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
3c1035bb6d [DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094)
2023-09-30 19:57:09 +00:00
Tomas Votruba
a8fc4e6c01 Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
41235b8c7c [Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091)
2023-09-29 13:32:48 +00:00
Tomas Votruba
838756b543 Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
41235b8c7c [Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091)
2023-09-29 13:22:46 +00:00
Tomas Votruba
d6df3c22c9 Updated Rector to commit 4f7822014a9a14bccbddf707aa446869dd5c6411
4f7822014a [DX] Remove CurrentFileProvider dependency on ChangedNodeScopeRefresher (#5087)
2023-09-27 23:27:41 +00:00
Tomas Votruba
d0476ce55a Updated Rector to commit 16ba249bcee39137ba27b687bbfc6f15761c99c5
16ba249bce remove --dry-run to pass
2023-09-27 19:07:29 +00:00
Tomas Votruba
941ed47703 Updated Rector to commit 7a87774b97c52dba78556810b984720935ded53a
1e683dcaf1 move up
7a87774b97 [build] fix to existing dirs
2023-09-27 14:03:07 +00:00
Tomas Votruba
000dcd9b3b Updated Rector to commit 50e589ca482e73daea8d2d4949c9ec9869fa59a3
50e589ca48 Feature/fix class annotation bad print (#5081)
2023-09-26 20:43:15 +00:00
Tomas Votruba
718b62bf2c Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
defd57b99b Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071)
2023-09-23 12:32:25 +00:00
Tomas Votruba
fa675a27fa Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
defd57b99b Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071)
2023-09-23 12:16:30 +00:00
Tomas Votruba
4ee58b2d9a Updated Rector to commit ecc0a2889157f7da9de1adee1a3f3f581844d2e2
ecc0a28891 fix UT
2023-09-22 12:18:58 +00:00
Tomas Votruba
0e33c04f76 Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
85a407a1b7 Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064)
2023-09-22 10:40:02 +00:00
Tomas Votruba
4f42274ab7 Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
85a407a1b7 Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064)
2023-09-22 09:56:10 +00:00
Tomas Votruba
82fb004302 Updated Rector to commit ad96b1f8c56f4b0f7abd04b049ffbdb6d4e1d0e2
ad96b1f8c5 [NodeTypeResolver] pull getType() on ArrayDimFetch when not mixed type from its variable native definition (#5056)
2023-09-21 11:31:13 +00:00
Tomas Votruba
b2b3a0f5cc Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
33fa626297 [DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051)
2023-09-20 12:41:26 +00:00
Tomas Votruba
42058c255b Updated Rector to commit 535ef5909272fe83d43f5bcf997d74222ac25cdc
535ef59092 Revert "[Performance][NodeTypeResolver] Remove $mutatingScope->enterCatchType() usage on PHPStanNodeScopeResolver (#5045)" (#5046)
2023-09-19 09:12:48 +00:00
Tomas Votruba
edaa1076ee Updated Rector to commit a3d2fcda640abe4af03822e415c5fbe757c2f88c
a3d2fcda64 [NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037)
2023-09-19 07:09:37 +00:00
Tomas Votruba
d7b6d352e5 Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
308178a058 Adding collectors - step 3 (#5043)
2023-09-18 17:12:03 +00:00
Tomas Votruba
a7266f01f8 Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
7e55eaa7bf Bump to newer phpstan-extensions (#5041)
2023-09-18 15:27:40 +00:00
Tomas Votruba
caa99019bf Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
7e55eaa7bf Bump to newer phpstan-extensions (#5041)
2023-09-18 13:55:57 +00:00
Tomas Votruba
af93ed53e4 Updated Rector to commit 0678674828c37813873d3bd4612c86d0a405948c
0678674828 [AutoImport] Fix conflict current namespace auto import (#5024)
2023-09-15 19:07:43 +00:00
Tomas Votruba
810ae4c396 Updated Rector to commit f6063588c0107450e51333934308f71434722f68
f6063588c0 [DX] Lower current node dependency - pass it directly to doc node parsing (#5023)
2023-09-15 11:53:42 +00:00
Tomas Votruba
2331f6b39c Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
74df7741a7 [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
2023-09-13 15:10:03 +00:00
Tomas Votruba
66134953c2 Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
74df7741a7 [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
2023-09-13 14:39:32 +00:00
Tomas Votruba
3c6c1c03f8 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
a2f70054a7 [DocBlock] Update docblock contents right in the rule (#4999)
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
596bbc98a2 [tests] Replace wildcard e2e test with unit one (#5000)
2023-09-11 18:33:42 +00:00
Tomas Votruba
67ef720476 Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
780ef4010d Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987)
2023-09-11 14:54:44 +00:00
Tomas Votruba
ec1242d290 Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
8b8a0d1a5d Prevent unnecessary calls to spl_object_id() (#4992)
2023-09-11 14:36:30 +00:00
Tomas Votruba
8b577a6b5e Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
8b8a0d1a5d Prevent unnecessary calls to spl_object_id() (#4992)
2023-09-11 14:30:03 +00:00
Tomas Votruba
4c20b79d3c Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:47:14 +00:00
Tomas Votruba
282e5517d7 Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:08:21 +00:00
Tomas Votruba
553b67b890 Updated Rector to commit 57ec646b63b0c7804df44fd67990b41d83d56c40
57ec646b63 Make PhpDocINfo::removeByType() return bool to inform about changed node (#4979)
2023-09-11 07:37:02 +00:00
Tomas Votruba
973097e0b8 Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
ead7a25b38 Remove regex and fnmatch again on NodeNameResolver (#4968)
2023-09-10 13:55:50 +00:00
Tomas Votruba
8a3c738dcd Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
7433ffeb07 [Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957)
2023-09-10 03:16:33 +00:00
Tomas Votruba
96a2988a43 Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
7433ffeb07 [Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957)
2023-09-10 01:19:24 +00:00
Tomas Votruba
f73bcd4ef8 Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
c97e4ffb05 [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954)
2023-09-09 22:49:40 +00:00
Tomas Votruba
6adcb19ec9 Updated Rector to commit 474b3a222684b9c343ba6b43ea5bd39b78fbef2a
474b3a2226 Faster name resolving (#4955)
2023-09-09 18:18:18 +00:00
Tomas Votruba
7540a5e283 Updated Rector to commit 9a322af593a3ed9de20a535f613ed25e12ecc823
9a322af593 BC: Separated regex matching in NodeNameResolver->isName() (#4951)
2023-09-09 14:08:25 +00:00
Tomas Votruba
c77e927087 Updated Rector to commit b82ad4ca58ebb42307093858a1c3dd60ecee13aa
b82ad4ca58 [DX] Move PostFileProcessor to FileProcessor, as always should run together (#4952)
2023-09-09 13:58:57 +00:00
Tomas Votruba
8e8434e575 Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
b8485c6c17 Fix Rector extension config loading (#4946)
2023-09-09 10:50:11 +00:00
Tomas Votruba
2c9f64e0d6 Updated Rector to commit 41870cb493cbae9725b8fdb682d53d9deaa33eae
41870cb493 Add comment for macOS empty string on WorkerCommandLineFactoryTest (#4945)
2023-09-09 10:38:56 +00:00
Tomas Votruba
fedb3edc8a Updated Rector to commit e4f1f1bab4d008108bf537ba3877dc2c4e64fa25
e4f1f1bab4 [NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#4936)
2023-09-07 18:43:32 +00:00
Tomas Votruba
06e012f8b4 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:52:32 +00:00
Tomas Votruba
306ecbf7e3 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:28:29 +00:00
Tomas Votruba
e7578a4299 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:09:24 +00:00
Tomas Votruba
e31a8c2782 Updated Rector to commit 1812281273ff14f76b8b81ab5321ee4b7e656684
1812281273 [Performance][Testing] Remove $nodeScopeResolver->setAnalysedFiles() on AbstractRectorTestCase (#4911)
2023-09-04 19:46:53 +00:00
Tomas Votruba
2f2e7aff34 Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
d5f399eee5 [DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894)
2023-09-02 19:48:22 +00:00
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
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
d7c5dcb785 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 17:02:15 +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
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
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
Tomas Votruba
f5e2367b07 Updated Rector to commit 20133824b6589f2259982d75d052cf7be3be8182
20133824b6 [DX] Remove double call $configuration->getFileExtensions() on FileFactory (#4851)
2023-08-25 16:24:26 +00:00
Tomas Votruba
b19f667a5b Updated Rector to commit 21f33de2b90c0e63d42c3ebebef7cf4415191a21
21f33de2b9 Recreate to exact Expr node instead of printing when possible on AddParamBasedOnParentClassMethodRector take 2 (#4842)
2023-08-24 10:28:16 +00:00
Tomas Votruba
6da4ac4e2a Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
295156cba1 [Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841)
2023-08-24 07:18:13 +00:00
Tomas Votruba
98e671cd4d Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
bdad8bd4a5 [Experiment] Try running doc node traverser just once (#4822)
2023-08-20 12:44:53 +00:00
Tomas Votruba
c9318c9c37 Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
74d9188326 Fix downgrade build (#4820)
2023-08-20 10:35:10 +00:00
Tomas Votruba
8c53c7470b Updated Rector to commit 216108b6d9e24cf4f3f829fe5a67133c8564d23d
216108b6d9 [DX] Merge PhpRectorInterface to RectorInterface as identical contract and separation no longer needed (#4812)
2023-08-18 12:27:46 +00:00
Tomas Votruba
9d3486b554 Updated Rector to commit b7d8787a257e94da73348cace71d2384bcc97930
b7d8787a25 remove fixture
2023-08-17 14:07:55 +00:00
Tomas Votruba
97db597ce6 Updated Rector to commit 78e491aae512e1b354427621a3171c506477aabe
78e491aae5 load devs commands
2023-08-15 22:36:34 +00:00
Tomas Votruba
e57e1c363e Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
6d0f7da6e3 fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
5b1b83ed61 Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
685fe90cb8 Make SimplifyUselessVariableRector run without scope (#4791)
2023-08-14 14:31:01 +00:00
Tomas Votruba
9891ab5633 Updated Rector to commit 092b6115b0e0642d0c20836673415ece4a3d0084
092b6115b0 Bump nikic/php-parser to 4.17 (#4781)
2023-08-13 16:46:42 +00:00
Tomas Votruba
7bb4bad572 Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
1659ca2928 [DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761)
2023-08-10 19:26:52 +00:00
Tomas Votruba
50e22e8613 Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
bcb51e81bc [Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755)
2023-08-10 11:47:33 +00:00
Tomas Votruba
dde9963adf Updated Rector to commit f294e6df400814dbd8125ba141b16d96930716c5
f294e6df40 Cleanup test fixture (#4753)
2023-08-10 10:13:56 +00:00
Tomas Votruba
80654c23af Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
8ae33c5f7c [Php70] Remove appendArgs() usage on CallUserMethodRector (#4731)
2023-08-09 12:42:27 +00:00
Tomas Votruba
c122d338d1 Updated Rector to commit 56195b368e89f7fc7d92fe96703286f9c4985f18
56195b368e Fix external patch path (#4677)
2023-08-06 15:55:08 +00:00
Tomas Votruba
6f8ff0f9d5 Updated Rector to commit 2ffa009e08d06c7522a1f3b066f90e8edbee8210
2ffa009e08 [DX] Make use of Laravel container in few tests - step #1 (#4672)
2023-08-06 15:14:10 +00:00
Tomas Votruba
9165e88cea Updated Rector to commit 3dbaeb0cadbc3a31d21849fab5494a1a828d792b
3dbaeb0cad [TypeDeclaration] Handle anonymous class in union on AddArrowFunctionReturnTypeRector (#4676)
2023-08-06 14:47:16 +00:00
Tomas Votruba
ce69ade1ae Updated Rector to commit 22e423dc79a8e4677198c8b260fb24243db0ea45
22e423dc79 [NodeTypeResolver] Clean up anonymous class detection on NodeTypeResolver::getNativeType() (#4673)
2023-08-06 10:56:52 +00:00
Tomas Votruba
9ee8cf74ba Updated Rector to commit f10821b43226affce9e7f3b0085b231ff39940f1
f10821b432 [DX] Remove deprecated RectorConfigProvider, use SimpleParameterProvider instead (#4658)
2023-08-06 00:09:08 +00:00
Tomas Votruba
7503c1fb60 Updated Rector to commit 395b215707a867cb11d625ee5f2653589e45bed7
395b215707 Resolve encapsed values as strings (#4622)
2023-08-06 00:06:35 +00:00
Tomas Votruba
2e58adbe3b Updated Rector to commit 8c04f656b32d8d95a5139e59cbfbc508647dd3b1
8c04f656b3 [TypeDeclaration] Skip public method on AddMethodCallBasedStrictParamTypeRector (#4659)
2023-08-05 16:29:56 +00:00
Tomas Votruba
0a93085a9e Updated Rector to commit ae896432a906ca02a97c326295a29ced3c689998
ae896432a9 Move ArrayManipulator to rector-symfony, where only used (#4656)
2023-08-05 12:14:07 +00:00
Tomas Votruba
15f46b1693 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
2023-08-05 11:03:19 +00:00
Tomas Votruba
1814d573d8 Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
e380cf8fdb [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653)
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba
81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
2023-08-04 17:15:45 +00:00
Tomas Votruba
d79728bb9f Updated Rector to commit 58273de24474dee2a5463949ad127a86526c4e3a
58273de244 [CodingStyle][Php80][Privatization] Handle SeparateMultiUseImportsRector+ClassPropertyAssignToConstructorPromotionRector+FinalizeClassesWithoutChildrenRector cause invalid removal (#4649)
2023-08-04 16:26:53 +00:00
Tomas Votruba
b2fa3fba80 Updated Rector to commit 529defd2de2b8ea122d0d7326ca0b054a22a030d
529defd2de [TypeDeclaration] Using native type scope get on ReturnTypeInferer (#4648)
2023-08-04 14:11:13 +00:00
Tomas Votruba
5ed75de032 Updated Rector to commit ae767eb1fe01f65c9d5a1e5c2a4c067e95b5386e
ae767eb1fe [TypeDeclaration] Set minimum php version for AddReturnTypeDeclarationBasedOnParentClassMethodRector to php 7.0 (#4647)
2023-08-04 13:42:14 +00:00
Tomas Votruba
8e45114f90 Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
5965ddd37b [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#4633)
2023-08-03 14:19:00 +00:00
Tomas Votruba
a41439c736 Rector 0.17.8 2023-08-03 13:06:37 +00:00
Tomas Votruba
c0798d5cca Updated Rector to commit a63ad695ca6b86b460c425a65762778329ca577f
a63ad695ca [TypeDeclaration] Skip has parent class method on AddParamTypeFromPropertyTypeRector (#4627)
2023-08-02 08:12:09 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
e8f8e6a94d Updated Rector to commit c01925aad05a9baf0a44701a069a989ca3c0edc8
c01925aad0 Resolve native return-type from native union-type in short ternary (#4606)
2023-07-26 13:22:32 +00:00
Tomas Votruba
56035a3c99 Updated Rector to commit a04101c5089e5043b7962316e3a1bb0802e453fc
a04101c508  [Php81] Skip re-assign with AssignOp on ReadOnlyPropertyRector  (#4600)
2023-07-25 10:07:19 +00:00
Tomas Votruba
f265ebd38b Updated Rector to commit 3c82c6e9ac05760468a1b21f710da553efba70ad
3c82c6e9ac [PHPStanStaticTypeMapper] Fix IntersectionTypeMapper to make ObjectType have FQCN (#4598)
2023-07-25 09:44:39 +00:00
Tomas Votruba
f2d74dd860 Updated Rector to commit 578d6372a2e2028f52e4635f6e321b690c1e383b
578d6372a2 [PHPStanStaticTypeMapper] FQCN for Closure type mapper  (#4584)
2023-07-23 23:31:30 +00:00
Tomas Votruba
0e76101aa3 Rector 0.17.7 2023-07-23 20:44:23 +00:00
Tomas Votruba
2d8f90877a Updated Rector to commit 4a5616878c580138a26e1eedf63c15fa8e0dcda8
4a5616878c Make ReturnTypeFromStrictNewArrayRector handle only single level arrays (#4575)
2023-07-21 21:08:31 +00:00
Tomas Votruba
62fb16f0e0 Updated Rector to commit 2e0ce286cb84cc202d17b293de3d59f89b9c4112
2e0ce286cb Make use of toPhpDocNode() - take #5 (#4567)
2023-07-21 11:06:18 +00:00
Tomas Votruba
ad6f93a19d Updated Rector to commit 1411c048b31beeb040986e1c553d3508b17b4a31
1411c048b3 [CodeQuality] Skip pull property from inner class on CompleteDynamicPropertiesRector (#4561)
2023-07-20 23:57:52 +00:00
Tomas Votruba
2b435e3666 Updated Rector to commit bbe6ed0e1471c4f5394f524c477dfa2ada52d7e5
bbe6ed0e14 Fix space in paths (#4553)
2023-07-20 15:05:47 +00:00
Tomas Votruba
5a211089b1 Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
8c5507f3e8 [Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550)
2023-07-20 11:36:45 +00:00
Tomas Votruba
51b2bd7a2e Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
8c5507f3e8 [Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550)
2023-07-20 11:22:15 +00:00
Tomas Votruba
bff94f9200 Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
ceab6d71bb Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437)
2023-07-19 11:08:33 +00:00
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
f7109e0cbd Updated Rector to commit 490bd72c85d61feaf426d51d61bf9d04d40a418e
490bd72c85 [Performance][NodeManipulator] Avoid loop on search first variable named on next sliced next stmts on StmtsManipulator (#4537)
2023-07-19 10:36:07 +00:00
Tomas Votruba
34b2975e47 Updated Rector to commit cebcea0a9aae472a64f80608d88e79a91797a67d
cebcea0a9a Support class-const-fetch in ReturnTypeFromStrictTypedCallRector (#4520)
2023-07-17 03:49:59 +00:00
Tomas Votruba
3e8e67ac99 Updated Rector to commit 4e016abd43fa853c69b1454d378a32a1bb0fa0ae
4e016abd43 coding standard
2023-07-14 10:37:52 +00:00
Tomas Votruba
a09f711e9b Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
a12242df2a [AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508)
2023-07-13 20:32:24 +00:00
Tomas Votruba
6f18436957 Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
8537bbd52a [DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506)
2023-07-13 16:05:50 +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
ef7c42a7c7 Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
398baa2c6a [CI] Add doctrine rules in set check (#4505)
2023-07-13 14:15:29 +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
5cbdbd7d21 Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
295a01c49f [NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504)
2023-07-13 12:53:07 +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
77dec4163c Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
a10ddea5d1 let phpunit handle its own empty method rule
2023-07-13 11:09:22 +00:00
Tomas Votruba
98ae4430e1 Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
a10ddea5d1 let phpunit handle its own empty method rule
2023-07-13 10:52:04 +00:00
Tomas Votruba
ccf7bb9270 Updated Rector to commit 5d942a0f7ee68dee11b4fb6dd72a78f6bbe938a0
5d942a0f7e Add PHPUnit to sets (#4495)
2023-07-13 10:23:36 +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
400669639f Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
77167c7a10 [Php52] Use instanceof check instead of compare object $newStmt === $caseStmt  on ContinueToBreakInSwitchRector (#4494)
2023-07-12 16:02:47 +00:00
Tomas Votruba
31e06fa816 Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
293913662e [Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493)
2023-07-12 15:02:18 +00:00
Tomas Votruba
0ac904fa27 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:49:54 +00:00
Tomas Votruba
a10e49e22a 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:29:41 +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
d4bf4ea4ff Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
706be908c5 lock react/promise to avoid process leaking
2023-07-12 13:11:50 +00:00
Tomas Votruba
75f2fdd3e2 Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
706be908c5 lock react/promise to avoid process leaking
2023-07-12 12:45:07 +00:00
Tomas Votruba
72beb9bc2e Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
c0983f1000 Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491)
2023-07-12 10:10:58 +00:00
Tomas Votruba
03be03391c Updated Rector to commit d514a5ad79c530cf236308d4f7ab9254e2340996
d514a5ad79 Fix StrictArrayParamDimFetchRector on same named property (#4488)
2023-07-12 08:37:36 +00:00
Tomas Votruba
100d1e2fc8 Updated Rector to commit d4a432e7e490695a11daa32bce6bf20ab0d075f6
d4a432e7e4 Fix StrictArrayParamDimFetchRector on `is_*` calls (#4486)
2023-07-12 08:02:53 +00:00
Tomas Votruba
a552423177 Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
aac0f2a909 Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473)
2023-07-10 23:27:24 +00:00
Tomas Votruba
5f68d82340 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:49:37 +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
9bef88551a Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
a771c56219 [DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable (#4466)
2023-07-09 17:30:30 +00:00
Tomas Votruba
2d4dfa7604 Updated Rector to commit ce03029084e1d8c860de15ee6fcfef8f6f35dbdb
ce03029084 [DeadCode] Remove RemoveJustVariableAssignRector as often done on purpose or with side effect (#4450)
2023-07-09 10:36:52 +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
0ae22238e2 Updated Rector to commit 3c90b2d0ec9aef15c1d869ceadf1dfeaea8235ce
3c90b2d0ec [DX] Remove parent node fixture, to avoid false positive on node discovery (#4440)
2023-07-08 21:47:47 +00:00
Tomas Votruba
e3e96f6f96 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall (#4428)
2023-07-06 20:17:30 +00:00
Tomas Votruba
7f5bbceea9 Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall (#4428)
2023-07-06 18:53:30 +00:00
Tomas Votruba
ef629ad2ed Updated Rector to commit 3962227709fda9312f07d6a516a1ee405b392489
3962227709 [NodeTypeResolver] Reduce duplicated Scope fill on FuncCall (#4428)
2023-07-06 15:20:15 +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
ecece488c5 Updated Rector to commit 011f7e5e7d5390b456d3bb91848c12f94baf7b71
011f7e5e7d [DX] Make use of SimpleParameterProvider (#4406)
2023-07-03 14:46:51 +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
5db0586b82 Updated Rector to commit 205df9013af5e05034441aa6088599532f5fef05
205df9013a [TypeDeclaration] Add Encapsed string support to AlwaysStrictScalarExprAnalyzer (#4382)
2023-06-30 11:59:36 +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
8264d403d3 Updated Rector to commit b408d9e7cdec8dadcee766681b8bd8185da55097
b408d9e7cd Skip argument if value equals default value (#4368)
2023-06-27 15:24:30 +00:00
Tomas Votruba
4bb7391372 Updated Rector to commit 715561ce71380357545db851fd44ad8b55948b6d
715561ce71 Introduces AddSensitiveParameterAttributeRector rule (#4342)
2023-06-26 18:55:49 +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
e5f365df87 Updated Rector to commit 0afc961f2b1e7d3d1f86250fe795e3176e6527b3
0afc961f2b Update actions/checkout v2 to v3 (#4348)
2023-06-26 07:17:54 +00:00
Tomas Votruba
9bda775f8d Updated Rector to commit 3f8c7e9fb52ba2356912ce938c6b7183c5fbcc07
3f8c7e9fb5  [PhpParser] Remove parent lookup on ValueResolver  (#4337)
2023-06-24 16:09:30 +00:00
Tomas Votruba
e2e3e333e5 Updated Rector to commit fe0f45e10f1127571424f35ec57dec52c3154a10
fe0f45e10f add symfony sets to check in missing-in-set
2023-06-24 14:33:20 +00:00
Tomas Votruba
1ed51827b0 Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 13:18:21 +00:00
Tomas Votruba
7bb62202c8 Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 09:35:12 +00:00
Tomas Votruba
9ce469b35c Updated Rector to commit f5a5780031301ae8678d92c28ca537bf70951498
f5a5780031 [CodeQuality] Use AbstractRector on ForeachItemsAssignToEmptyArrayToAssignRector (#4336)
2023-06-24 09:24:54 +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
53262b6c62 Updated Rector to commit ffce073ffa08eddc334b866ae3bec92afab15e0a
ffce073ffa [NodeNestingScope] Remove parent lookup on ContextAnalyzer (#4315)
2023-06-22 11:51:54 +00:00
Tomas Votruba
13cd8748d7 Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr (#4310)
2023-06-21 12:59:23 +00:00
Tomas Votruba
3236151dbe Updated Rector to commit df459e711ae5bd8f359df40fbef863cc386bf107
df459e711a Handle AlwaysRememberedExpr in deep Expr (#4310)
2023-06-21 12:07:07 +00:00
Tomas Votruba
ba7a1a55c4 Updated Rector to commit c20828965125f2afbde8367f68dab0f9ae983cf1
c208289651 add sin float fixture (#4300)
2023-06-20 08:30:39 +00:00
Tomas Votruba
6dd50a6e2f Updated Rector to commit 9b9321c27ebda491718fbc6a857f01128368f054
9b9321c27e Add bitwise or to NumericReturnTypeFromStrictScalarReturnsRector (#4299)
2023-06-20 08:04:52 +00:00
Tomas Votruba
435aa06229 Updated Rector to commit 41184e16830061a819fbdcaaac89a8312805e124
41184e1683 Skip divide in NumericReturnTypeFromStrictScalarReturnsRector (#4298)
2023-06-20 07:23:02 +00:00
Tomas Votruba
071632b237 Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
0d9828f9d9 [automated] Apply Coding Standard (#4265)
2023-06-18 02:32:09 +00:00
Tomas Votruba
73e6cf210e Updated Rector to commit 3d4a86c31511bda1ded00a70ed36c72849d19824
3d4a86c315 [ReadWrite] Remove parent lookup on ArrayDimFetchParentNodeReadAnalyzer (#4239)
2023-06-16 13:31:36 +00:00
Tomas Votruba
af06891b34 Updated Rector to commit 6488506a36f117e947056eff9f27157a82bf102b
6488506a36 [DeadCode] Remove parent lookup on DeadReturnTagValueNodeAnalyzer (#4235)
2023-06-16 03:57:17 +00:00
Tomas Votruba
d793888f8a Updated Rector to commit 53c6c5fcaf92b3ff40b6f45e476ff981b9028e95
53c6c5fcaf Remove Kind from doc mapper, as used just once (#4234)
2023-06-16 03:34:15 +00:00
Tomas Votruba
cc9d836205 Updated Rector to commit 72f772294bc816daa7cba09fb512306fffda2ee3
72f772294b Use REMOVE_NODE constant from NodeTraverser (#4219)
2023-06-14 05:01:18 +00:00
Tomas Votruba
4c28e357ca Updated Rector to commit 20ec11e73d8998f9ad7533c8f179ee7be8e2abdf
20ec11e73d [Docblock] Move DocBlockUpdater service usage from AbstractRector to PhpDocTypeChanger (#4215)
2023-06-14 04:39:10 +00:00
Tomas Votruba
73448ff21c Updated Rector to commit 883608be8a7fcade8b0cc78d74b26f17b690c189
883608be8a Remove tests/Issue/Downgrade* (#4216)
2023-06-13 17:29:47 +00:00
Tomas Votruba
594af984b5 Updated Rector to commit 5431047ba10053a1204866e9d33b3061f39a1b7d
5431047ba1 Remove tests/IssuesIssueDowngrade* as moved to rector-downgrade-php (#4214)
2023-06-13 16:40:06 +00:00
Tomas Votruba
5712e3dd40 Updated Rector to commit b4eb417407360b419e71eaa7609209a1597441e2
b4eb417407 Remove ReturnArrayClassMethodToYieldRector, add to PHPUnit Rector (#4213)
2023-06-13 16:24:24 +00:00
Tomas Votruba
1890d4835a Updated Rector to commit 91cf7cc721c70ec8914c1bc4855a810bb85b640c
91cf7cc721 Remove CachedContainerBuilder (#4211)
2023-06-13 13:29:32 +00:00
Tomas Votruba
c7c077acb5 Updated Rector to commit d295fe5b4408ef1e3e3be152f3e04c53699cadb5
d295fe5b44 Increase kernel cache key (#4210)
2023-06-13 09:26:14 +00:00
Tomas Votruba
c1782af768 Updated Rector to commit 0a36378788fcf58a41deecab7fb9b3228f077264
0a36378788 [DeadCode] Remove parent lookup on ControllerClassMethodManipulator (#4204)
2023-06-12 20:11:25 +00:00
Tomas Votruba
65638434b2 Updated Rector to commit b56b0c2febafe7ab07b187faa9b315f810cac0ae
b56b0c2feb [TypeDeclaration] Remove findParentType() on SilentVoidResolver (#4203)
2023-06-12 19:14:15 +00:00
Tomas Votruba
7210e20035 Updated Rector to commit b56b0c2febafe7ab07b187faa9b315f810cac0ae
b56b0c2feb [TypeDeclaration] Remove findParentType() on SilentVoidResolver (#4203)
2023-06-12 19:05:59 +00:00
Tomas Votruba
e7a63a8730 Updated Rector to commit b56b0c2febafe7ab07b187faa9b315f810cac0ae
b56b0c2feb [TypeDeclaration] Remove findParentType() on SilentVoidResolver (#4203)
2023-06-12 18:55:06 +00:00
Tomas Votruba
887ce448ac Updated Rector to commit a86eb69c59af5dd1e3ea3b7ab994b017dcccd6b4
a86eb69c59 Move PreferThisOrSelfMethodCallRector to PHPUnit rector package, to handle exact cases (#4194)
2023-06-12 11:51:15 +00:00
Tomas Votruba
c3f48d13e3 Updated Rector to commit ca08d86e3900556b2f389e4d983489535c21fdd7
ca08d86e39 Make use of Class_, Interface_ (#4193)
2023-06-12 11:13:09 +00:00
Tomas Votruba
ff28aaca4c Updated Rector to commit 21f8014b30f4a4230f787ca1698a2c53d6d5f18a
21f8014b30 [DI] Autowire annotation to attribute mapper via tags (#4190)
2023-06-12 10:45:32 +00:00
Tomas Votruba
1b3ee4f289 Updated Rector to commit 7a61135453ff9fa595966f0265cb2a3c28c13656
7a61135453 [CodeQuality] Remove direct return STOP_TRAVERSAL on SetTypeToCastRector (#4187)
2023-06-12 10:13:36 +00:00
Tomas Votruba
57b6546504 Updated Rector to commit 4e02f78d6b8352fd24afc670f285453468742c3f
4e02f78d6b temporarily exclude autowire, to skip throws
2023-06-11 23:42:32 +00:00
Tomas Votruba
4ec7e4865b Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:26:00 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
5db0609ffa Updated Rector to commit 3bc82de4d5b27b2852e6a1ecbc68607cf4d000ce
3bc82de4d5 Increase kernel cache key (#4159)
2023-06-10 11:32:05 +00:00
Tomas Votruba
fb2569f52c Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 13:02:17 +00:00
Tomas Votruba
5518ca1f6b Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 12:23:12 +00:00
Tomas Votruba
d95266b60b Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 12:03:39 +00:00
Tomas Votruba
68277cb660 Updated Rector to commit 390730a9c40cfad8ca6a089e2dee1b7e158e076e
390730a9c4 Remove propperty to add collector, add them directly or as a constructor dependency (#4131)
2023-06-09 11:28:50 +00:00