Commit Graph

14779 Commits

Author SHA1 Message Date
Tomas Votruba
95f1eab654 Updated Rector to commit 7f7bb193c5f16dec72e4a9a15f9e1a9eae902985
7f7bb193c5 [PHP 8.0] Create match right from next Throws (#2803)
2022-08-19 13:25:59 +00:00
Tomas Votruba
6b02618a3b Updated Rector to commit 4bc378bb1846b292946f8c241092a79e863268f7
4bc378bb18 [PHP 8.0] Move more logic to MatchFactory (#2802)
2022-08-19 13:01:36 +00:00
Tomas Votruba
8629ef2977 Updated Rector to commit 6712529d24205b4b08e86f8da79876fb0d122c49
6712529d24 [PHP 8.0] Refactor ChangeSwitchToMatchRector to StmstAwareInterface (#2801)
2022-08-19 12:43:13 +00:00
Tomas Votruba
237f7bb846 Updated Rector to commit 236b0ffe16821d82446dffd3603e5ccb8cba8621
236b0ffe16 Fix generics and intersection in TypedPropertyRector (#7392) (#2800)
2022-08-19 11:18:45 +00:00
Tomas Votruba
f18c132b74 Updated Rector to commit d92936bb26a63a2d7df1086cebb2ddae42396f50
d92936bb26 [PHP 8.0] Fix ChangeSwitchToMatchRector for next new variable re-use (#2798)
2022-08-19 10:35:08 +00:00
Tomas Votruba
1d66c96acf Updated Rector to commit 66d273e403467bb99ceae30c157fbc4a08baf59f
66d273e403 [PhpDoc] Kick of ArrayItemNode (#2795)
2022-08-19 08:10:42 +00:00
Tomas Votruba
0f3727793c Updated Rector to commit b57d0c31a1d3899f6ac41e65e60b33ec51f9e99a
b57d0c31a1 simplify test call (#2794)
2022-08-19 07:58:55 +00:00
Tomas Votruba
b6d3530be8 Updated Rector to commit 2651872aa6cd3a4031abb3c9702856ec0dd70e82
2651872aa6 [DX] [PHP 8.0] Remove already covered annotaiton to attribute fixture to narrow test scope (#2793)
2022-08-19 07:57:12 +00:00
Tomas Votruba
f177e0c3dd Updated Rector to commit 76dc886f7a7f13fbed51e102ce4b616106f42702
76dc886f7a Cleanup, re-use AttributeName enums (#2792)
2022-08-19 07:49:30 +00:00
Tomas Votruba
5150f80d61 Updated Rector to commit fc8efa0fe446dd648d5d4d393e32ee06a8876837
fc8efa0fe4 fix typos in contributing.md (#2790)
2022-08-19 07:22:29 +00:00
Tomas Votruba
100b519996 Updated Rector to commit 67b0d0be7189576af6b74ade6011bdad6a230cb0
67b0d0be71 Fixes Typo in how_to_add_test_for_rector_rule.md (#2788)
2022-08-19 06:45:19 +00:00
Tomas Votruba
b3c5fe1dcc Updated Rector to commit 7a609a6f2ee04d55907de7a3e09b1242a176a85a
7a609a6f2e [PHP 8.0] Keep quoted string with doublecolon in AnnotationToAttributeRector (#2784)
2022-08-18 20:44:00 +00:00
Tomas Votruba
3aae40faed Updated Rector to commit b9f83c87dacd1aa09ea343a4996683ebc424c630
b9f83c87da add fixture with FQN name (#2783)
2022-08-18 19:53:39 +00:00
Tomas Votruba
ff9b7f9000 Updated Rector to commit b9f83c87dacd1aa09ea343a4996683ebc424c630
b9f83c87da add fixture with FQN name (#2783)
2022-08-18 19:04:04 +00:00
Tomas Votruba
54af055c16 Updated Rector to commit 69b625cd33c1e5b7c8ba7bcda19450ea71cbdda0
69b625cd33 [PHP 8.0] Add class support to NestedAnnotationToAttributeRector (#2782)
2022-08-18 18:39:25 +00:00
Tomas Votruba
cdbe494753 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 18:02:46 +00:00
Tomas Votruba
d2c2df7ac2 Updated Rector to commit b8549f547ab72234078416e53f62ba16ab8582c6
b8549f547a [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
2022-08-18 17:55:50 +00:00
Tomas Votruba
ffd02c6255 Updated Rector to commit f41acb3fc880f7553f2c058fb35d69b3d5a18642
f41acb3fc8 [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
2022-08-18 13:19:33 +00:00
Tomas Votruba
c3373be53b Updated Rector to commit f41acb3fc880f7553f2c058fb35d69b3d5a18642
f41acb3fc8 [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
2022-08-18 12:50:16 +00:00
Tomas Votruba
e82274c2bf Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 11:58:01 +00:00
Tomas Votruba
5b360ddf1d Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978
f936077f5f Fix performance issue (#2774)
2022-08-18 09:32:38 +00:00
Tomas Votruba
f252a73f68 Updated Rector to commit fd5ec9120fef2ac270a6b9f60b3656f6a9895192
fd5ec9120f Support for ConstFetch (true, false, null) in NodeFactory::createArrayItem (#2778)
2022-08-17 22:04:50 +00:00
Tomas Votruba
a9aac8f275 Updated Rector to commit 2762c508eb2fb40b1ef0f7c07c9e970839e5196c
2762c508eb Handle crash on RenameFunctionRector+ForRepeatedCountToOwnVariableRector+CountOnNullRector+NullToStrictStringFuncCallArgRector (#2777)
2022-08-17 21:51:24 +00:00
Tomas Votruba
fbb3acc7ba Rector 0.14.0 2022-08-17 16:10:11 +00:00
Tomas Votruba
616efdc680 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 13:56:19 +00:00
Tomas Votruba
050ff0c044 Updated Rector to commit 27b891b219cc9bfed6540a6abfbfa762e1cc2aaf
27b891b219 Make ServiceGetterToConstructorInjectionRector report only if node has changed, retarget to Class_ node with higher priority (#2772)
2022-08-17 09:48:06 +00:00
Tomas Votruba
d790bd4192 Updated Rector to commit d86e5992e8d07d92e1278dcc03373432c79814e5
d86e5992e8 [Php55] Handle no quote in backslash on PregReplaceEModifierRector (#2771)
2022-08-17 09:14:07 +00:00
Tomas Votruba
ca700ccb3b Updated Rector to commit ba423e225f6ea54b58ea157a6dde4f8f7eae9e70
ba423e225f cleanup fixed phpstan errors
2022-08-17 08:55:24 +00:00
Tomas Votruba
1539934554 Updated Rector to commit 244fb1cebce834698e9d6f5a67a3d3552addf49d
244fb1cebc [DeadCode] Fix RemoveUnusedPrivateMethodParameterRector args keys re-order (#2770)
2022-08-17 08:52:30 +00:00
Tomas Votruba
88ec8c80e3 Updated Rector to commit 03ed0369d06db544927966ec97b5f380a11e0751
03ed0369d0 [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY - take 2 (#2763)
2022-08-15 18:41:26 +00:00
Tomas Votruba
3b5a7181ba Updated Rector to commit 1f6cea323ef7a3125c8fe56958e71ad4dd9944c7
1f6cea323e [Php80] Handle trailing comma on AnnotationToAttributeRector on Doctrine JoinColumn (#2766)
2022-08-15 18:36:53 +00:00
Tomas Votruba
d771949a24 Updated Rector to commit 2977d091b2a7dfcddf855c376534a835876e3ffd
2977d091b2 [Doc] Register Troubleshoot Parallel Issues documentation in Readme (#2764)
2022-08-15 18:36:26 +00:00
Tomas Votruba
9fdeacaeee Updated Rector to commit 933eb1353d193ca90bdb02265039469c620ad46f
933eb1353d [Php81] Handle crash on Crypt() single arg on NullToStrictStringFuncCallArgRector (#2767)
2022-08-15 18:34:46 +00:00
Tomas Votruba
6c0394fa59 Updated Rector to commit 128cc91038c48bb5a10901447820bcf9676512ba
128cc91038 [Doc] Update count rules 500+ -> 400+ in readme (#2765)
2022-08-14 12:43:17 +00:00
Tomas Votruba
a9ba01293d Updated Rector to commit 96fce06e55bc33f941041735100418fd53fe09e2
96fce06e55 [Php73] Add Method Call support on on IsCountableRector (#2762)
2022-08-13 18:43:10 +00:00
Tomas Votruba
0e37f464e0 Updated Rector to commit 526091f416e0d9307b5fe1a5977397dc8dfce244
526091f416 [Php71] Code Sample fix on CountOnNullRector (#2761)
2022-08-13 15:42:56 +00:00
Tomas Votruba
a67329d33a Updated Rector to commit 3c88742dd13d49ba51c84817d746a9e2b59500e9
3c88742dd1 [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY (#2760)
2022-08-13 13:45:27 +00:00
Tomas Votruba
19738615bc Updated Rector to commit bb68d8aa18c2b0ab3f5000c175fd6b81e9c0610a
bb68d8aa18 [CodingStyle] Fix re-print of self in PreferThisOrSelfMethodCallRector (#2759)
2022-08-12 18:46:57 +00:00
Tomas Votruba
9fa71a8e1f Updated Rector to commit 858f055584ac2f4108469104d6b6a27f0de9132d
858f055584 [Core] Move Scope Resolver to ScopeAnalyzer (#2757)
2022-08-12 17:30:03 +00:00
Tomas Votruba
4100d6e660 Updated Rector to commit 47d25befa5ca7aa348e9a27125edebc6e62eaf68
47d25befa5 [Php73] Skip escaped Dash on RegexDashEscapeRector (#2753)
2022-08-12 17:18:44 +00:00
Tomas Votruba
d30de9efe0 Updated Rector to commit da9fab1810dd4985b2071b3ffc34c88f665856cb
da9fab1810 [Naming] Remove single- prefix from RenameForeachValueVariableToMatchExprVariableRector, creates weird names (#2756)
2022-08-12 12:42:27 +00:00
Tomas Votruba
5ff40fa637 Updated Rector to commit 8c07d677b46caf2ea84c174669d2b416e577fc67
8c07d677b4 AddReturnTypeDeclarationBasedOnParentClassMethodRector fix mixed return type by parent interface (#2755)
2022-08-11 15:41:34 +00:00
Tomas Votruba
f6f9dadfe8 Updated Rector to commit 2667f35cc72a6f7da454635a24bdc3ede61082ae
2667f35cc7 Improve ReturnTypeWillChangeRector to handle any method of defined type; move PhpDocFromTypeDeclarationDecorator to Downgrade rules (#2754)
2022-08-11 15:03:59 +00:00
Tomas Votruba
26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +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
f2acdcf5da Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-10 11:13:19 +00:00
Tomas Votruba
80619f80aa Updated Rector to commit 77a0b343042509c010ea740be8293c250286a853
77a0b34304 misc
2022-08-10 10:06:27 +00:00
Tomas Votruba
298437e8e3 Updated Rector to commit 52f995120d438da90205b83ec10a7cab6960117f
52f995120d [readme] add rector extensions (#2751)
2022-08-10 09:53:54 +00:00
Tomas Votruba
1d9b00a194 Updated Rector to commit d7be25882209a65d05c9b41e7bcd4f198ac6478f
d7be258822 [Php81] Skip Encapsed on NullToStrictStringFuncCallArgRector (#2744)
2022-08-09 20:47:13 +00:00
Tomas Votruba
dce47c75f3 Updated Rector to commit 93b63b0a86e26cb9d15bcc61c3d840f703a1472c
93b63b0a86 [Php54][Php80] Handle no scope on LongArrayToShortArrayRector+AnnotationToAttributeRector (#2749)
2022-08-09 20:46:41 +00:00