Commit Graph

27 Commits

Author SHA1 Message Date
Tomas Votruba
5dfd1c664c Updated Rector to commit 7182e19c4b0696ee48ff8c828afe47fd34d36d1c
7182e19c4b [TypeDeclaration] Skip array by doc with different assign on ReturnTypeFromStrictNewArrayRector (#5875)
2024-05-14 13:14:40 +00:00
Tomas Votruba
59f9eb1491 Updated Rector to commit 715103cdf1ecad0b4668f3b9e38582b3e5b55fbe
715103cdf1 Add support for YieldFrom into places where Yield_ is checked (#5499)
2024-02-03 22:50:20 +00:00
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
4b8fc3fb05 Updated Rector to commit e698133cad1a85f2384a6cf450d66c54df1876a2
e698133cad [DX] Make ValueResolver explicitly required in Rector rules constructor if needed (#5053)
2023-09-20 12:55:35 +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
030adf9f7d Updated Rector to commit eebc3ce703e0d57794c1dd1823457b272e02403d
eebc3ce703 [TypeDeclaration] Ensure ArrayType on ReturnTypeFromStrictNewArrayRector::shouldAddReturnArrayDocType() (#4932)
2023-09-07 04:43:51 +00:00
Tomas Votruba
087ff4d5eb Updated Rector to commit e47f63176a7913ff040bfbce75a260a4ec47ceab
e47f63176a [TypeDeclaration] Add init assign method call support on ReturnTypeFromStrictNewArrayRector (#4929)
2023-09-07 01:50:05 +00:00
Tomas Votruba
73ca9074e0 Updated Rector to commit 2a697f79ecd82e4b59091f59927d8b9315113c18
2a697f79ec [TypeDeclaration] Add fallback return direct array support on ReturnTypeFromStrictNewArrayRector (#4928)
2023-09-06 19:40:05 +00:00
Tomas Votruba
01bdd5bff5 Updated Rector to commit c17181453c5493f1ef2e43206759f12d715c18df
c17181453c [TypeDeclaration] Add append in loop support on ReturnTypeFromStrictNewArrayRector (#4922)
2023-09-06 12:12:53 +00:00
Tomas Votruba
fbd33e5f98 Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
45aababfbc [TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825)
2023-08-21 09:37:33 +00:00
Tomas Votruba
a3856d782f Updated Rector to commit 4a869b9b104dc81adef4441025787c0c3411d4d6
4a869b9b10 bump PHPUnit printer to optional (#4826)
2023-08-21 09:28:35 +00:00
Tomas Votruba
def86c6e48 Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
45aababfbc [TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825)
2023-08-21 09:28:31 +00:00
Tomas Votruba
e785af2045 Updated Rector to commit cf1d254200cd2d456b701e201c625c8245e123d7
cf1d254200 Make use of toPhpDocNode() - take #11 (#4574)
2023-07-21 21:26:11 +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
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
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
a48c21e135 Updated Rector to commit ebfe96b4e08b26439c2341cd45e87a7bc5f314fb
ebfe96b4e0 Drop AttributeKey::SCOPE in ClassMethodReturnTypeOverrideGuard (#4144)
2023-06-09 17:30:44 +00:00
Tomas Votruba
cbd1da8466 Updated Rector to commit 2b35d2e75ea03ffe643c012485952ec6df3ea2ba
2b35d2e75e [TypeDeclaration] Move Rector Enterprise TypeDeclaration rules here (#3125)
2022-11-28 20:42:41 +00:00
Tomas Votruba
b0ce719527 Updated Rector to commit 04257d3c76ee23722447433f07c8e5678ac9a07b
04257d3c76 Utilize Type->isArray() (#3065)
2022-11-15 15:22:43 +00:00
Tomas Votruba
967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba
5741d7a8f3 Updated Rector to commit 5debc09c986ee0d92de270d4cd170f6285c430e8
5debc09c98 [TypeDeclaration] Skip modififed type between assign and return on ReturnTypeFromStrictNewArrayRector (#2651)
2022-07-10 17:47:25 +00:00
Tomas Votruba
336a52b5de Updated Rector to commit 22f2acadf73bc00a350b6b457db51eb5e0353d89
22f2acadf7 [TypeDeclaration] Do not change more detailed return doc on ReturnTypeFromStrictNewArrayRector (#2638)
2022-07-07 09:00:19 +00:00
Tomas Votruba
69f0d6887b Updated Rector to commit 0a644b148b
0a644b148b [TypeDeclaration] Measure complexity by array shape nesting (#2576)
2022-06-26 15:09:52 +00:00
Tomas Votruba
34a79bec5d Updated Rector to commit 59ed8480e4
59ed8480e4 [TypeDeclaration] Add more precise array type doc (#2575)
2022-06-26 14:43:06 +00:00
Tomas Votruba
b2e913a042 Updated Rector to commit a11dd6a534
a11dd6a534 [TypeDeclaration] Add more precise array type doc (#2574)
2022-06-26 14:05:53 +00:00
Tomas Votruba
2e275ef1ff Updated Rector to commit 78d110af4c
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00