Commit Graph

2852 Commits

Author SHA1 Message Date
Tomas Votruba
b6b911feb8 Updated Rector to commit 6e2915c8346af65687dcadfe6e1c4f4b9de6fa16
6e2915c834 Cleanup of SmartFileSystem (#2854)
2022-08-29 23:07:20 +00:00
Tomas Votruba
c2b6d2f759 Updated Rector to commit 1a7e63bca3c024b25c99cd0d11f2a1eda2dd8609
1a7e63bca3 [DX] Instead of smart-file-system wrapper, use filesystem helpers directly (#2853)
2022-08-29 22:42:57 +00:00
Tomas Votruba
785f5e3b06 Updated Rector to commit 74f6b181e82f191c1e471d446a029a06dff16619
74f6b181e8 [DX] Remove upgrade RectorConfig set, as last 2 version use only PHP (#2852)
2022-08-29 21:45:23 +00:00
Tomas Votruba
5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba
d29663ff64 Updated Rector to commit ad7cdc74eeb9379091e99bda90e95f1166c81147
ad7cdc74ee [docs] cleanup file processors, only internal logic, to keep PHP scope more narrow (#2850)
2022-08-29 18:23:56 +00:00
Tomas Votruba
3ad817dad5 Updated Rector to commit a6dfb049d7100c6bb5aa93735199f8434381d210
a6dfb049d7 [DX] Make generator only part of core (#2849)
2022-08-29 18:19:15 +00:00
Tomas Votruba
583eacb780 Updated Rector to commit bd6c02a3f8154152f879106c8e77731eb3f4e69c
bd6c02a3f8 [DX] Reduce inner use of SmartFileInfo, and injected SmartFileSystem (#2847)
2022-08-29 17:51:46 +00:00
Tomas Votruba
7823b6a978 Updated Rector to commit 6770dad95ec2b82fa739eb134042589b810e87cd
6770dad95e restore
2022-08-29 16:47:25 +00:00
Tomas Votruba
2b2ae56d65 Updated Rector to commit 4765d5a18552704431a5064a308b73a2414c2190
4765d5a185 [Scoped] Add back SmartFileInfo to bootstrap.php (#2846)
2022-08-29 15:38:21 +00:00
Tomas Votruba
dbb408c5c9 Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c [scoper] unprefix SmartFileInfo
2022-08-29 14:03:46 +00:00
Tomas Votruba
41129d129c Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-29 08:14:50 +00:00
Tomas Votruba
28e29c8294 Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-28 00:39:05 +00:00
Tomas Votruba
8af39d268b Updated Rector to commit 0c0007a75f8e0c873ee51b58a2beef7abe7b28aa
0c0007a75f Update branch alias to 0.14-dev (#2844)
2022-08-26 12:33:35 +00:00
Tomas Votruba
e01c3d5d29 Updated Rector to commit a75e56071aaf22d6751d2501b30272e7185e4873
a75e56071a [DowngradePhp80/72] Handle DowngradeTrailingCommasInParamUseRector+DowngradeParameterTypeWideningRector (#2843)
2022-08-26 08:24:05 +00:00
Tomas Votruba
6795a511a5 Updated Rector to commit 21695e77a8906dbdce7ada865b140ccbf73dca56
21695e77a8 [Php80] Handle single quoted is_granted on AnnotationToAttributeRector (#2842)
2022-08-26 06:47:21 +00:00
Tomas Votruba
dbe8618a4c Updated Rector to commit 7215c28735a3f1b3e56f86b5b57085ec3d8956c3
7215c28735 [CodeQuality] Keep identical false variable compare as is it is in SimplifyBoolIdenticalTrueRector (#2839)
2022-08-25 08:08:26 +00:00
Tomas Votruba
f5e65b1dfa Updated Rector to commit fadb6a4c4978009293099f56f4ed3ae3c0775321
fadb6a4c49 [Php74] Add MoneyFormatToNumberFormatRector (#2727)
2022-08-24 20:17:59 +00:00
Tomas Votruba
9badddc299 Updated Rector to commit d894cccb8535fea0ad8ab93ead4a4383c81d56b8
d894cccb85 [DeadCode] Skip object shape pseudo-type in RemoveNonExistingVarAnnotationRector (#2837)
2022-08-24 20:10:50 +00:00
Tomas Votruba
d94a78124e Updated Rector to commit d894cccb8535fea0ad8ab93ead4a4383c81d56b8
d894cccb85 [DeadCode] Skip object shape pseudo-type in RemoveNonExistingVarAnnotationRector (#2837)
2022-08-24 14:03:58 +00:00
Tomas Votruba
97851f1829 Updated Rector to commit c8e66ae94919163b425add82179c735dea44cd8f
c8e66ae949 [EarlyReturn] Skip indirect return with define variable after parent else on ChangeAndIfToEarlyReturnRector (#2836)
2022-08-24 12:02:12 +00:00
Tomas Votruba
1bb085831c Updated Rector to commit 84691d5a2eb99a8794ac8c02f3fe8daf411361fe
84691d5a2e Remove self-serving FileDiffFileDecorator interface (#2835)
2022-08-24 11:58:09 +00:00
Tomas Votruba
12fa9feb17 Updated Rector to commit 21c4d378a5a054aecff8d114d34a25771a519ebe
21c4d378a5 [PHP 8.0] Add way to adjust specifics attribute arguments (#2834)
2022-08-24 11:51:48 +00:00
Tomas Votruba
acdbc7be1b Updated Rector to commit 041f41fd4e1d58ffb45d10e2348e62014ce9c0da
041f41fd4e [docs] Remove post Rectors from generated docs (#2833)
2022-08-24 10:32:35 +00:00
Tomas Votruba
e1e0f2856e Updated Rector to commit e66447b7087642b54199d462faee81c43129e3e5
e66447b708 [Transform] Remove ServiceGetterToConstructorInjectionRector, only for risky doctrine case, that should be handled manually (#2832)
2022-08-24 09:50:03 +00:00
Tomas Votruba
ca47665500 Updated Rector to commit 776386c90f8337b326ae1f21d998ee64e23a6c53
776386c90f [Restoration] Remove CompleteImportForPartialAnnotationRector, one time custom job, not useful for generic rules (#2831)
2022-08-24 09:36:12 +00:00
Tomas Votruba
eee3c9f849 Updated Rector to commit fd9b21e6dde0f687519449c4c6a042db2e378944
fd9b21e6dd add custom post rector filter
2022-08-24 09:22:36 +00:00
Tomas Votruba
f3516669ab Updated Rector to commit 5010fc7c7a7e5791254f2863f4eac5a3f6eab7ac
5010fc7c7a [DeadCode] Remove RemoveUnusedParamInRequiredAutowireRector, as one time job for private project; not useful for generic (#2830)
2022-08-24 08:53:59 +00:00
Tomas Votruba
87509424bf Updated Rector to commit debe56260b932715c63eacc73c5495c276784a1c
debe56260b simplify rule docs config
2022-08-24 08:53:31 +00:00
Tomas Votruba
0e5ee3dc93 Updated Rector to commit 6c8c40bb746ce70ab8faa7e80ae088edaba771e7
6c8c40bb74 [DeadCode] Merge RemoveDeadConstructorRector, to RemoveEmptyClassMethodRector with same behavior (#2829)
2022-08-24 08:43:17 +00:00
Tomas Votruba
ac412ec638 Updated Rector to commit 9018492c75866aacc5a71329f921312d31772987
9018492c75 [CodeQuality] Remove SimplifyIfIssetToNullCoalescingRector, as overly complex and should be handled by manual context (#2828)
2022-08-24 08:28:31 +00:00
Tomas Votruba
1db8339e7c Updated Rector to commit 6306f9e8ecd8e367e7220b02a6613461a34dcc8a
6306f9e8ec [EarlyReturn] Skip ChangeAndIfToEarlyReturnRector in case of simple scalar return (#2826)
2022-08-24 08:11:57 +00:00
Tomas Votruba
88b118d794 Updated Rector to commit 58edce71bb42b06df87e863ee9bf3df4c7b65e27
58edce71bb [VendorPatch] Register nikic-php-parser-lib-phpparser-node-stmt-namespace-php into vendor-patches list (#2825)
2022-08-24 07:54:32 +00:00
Tomas Votruba
1c32360bbd Updated Rector to commit feda30ad318904b29f342ee1cfe4d81c103d4c40
feda30ad31 [Core][Php80] Register FileWithoutNamespace into StmtsAwareInterface so ChangeSwitchToMatchRector can work without namespace (#2824)
2022-08-24 07:30:05 +00:00
Tomas Votruba
6c1c0cfa19 Updated Rector to commit 54feb0dcfaeaafe177d1268ca2117a7fb1a7da1a
54feb0dcfa [EarlyReturn] Handle crash on assign in if else before on RemoveAlwaysElseRector (#2822)
2022-08-23 20:55:52 +00:00
Tomas Votruba
cc69a886a3 Updated Rector to commit 837c2262f13e5b8faffdb02c5d9fb701d581fa61
837c2262f1 [EarlyReturn] Do not remove previous If_ stmts on ChangeNestedIfsToEarlyReturnRector (#2820)
2022-08-23 16:18:17 +00:00
Tomas Votruba
36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba
eb53b3cce9 Updated Rector to commit 55d788ad2c40ffd8835cead7aaf7f832e35d99b8
55d788ad2c [CodeQuality] Add StaticCall support on OptionalParametersAfterRequiredRector (#2817)
2022-08-22 10:08:19 +00:00
Tomas Votruba
204836d151 Updated Rector to commit a4799d9625cffc65cdc838a59dfbe94e422e3a15
a4799d9625 [Php81] Handle crash backed Enum not implemented on FirstClassCallableRector (#2815)
2022-08-21 15:14:26 +00:00
Tomas Votruba
1bae738926 Updated Rector to commit ffa12215cf407e7d7ebb8b5bcb6a3ea794981b1e
ffa12215cf [Php80] Validate ArrayItem on CurlyListNodeAnnotationToAttributeMapper (#2814)
2022-08-21 14:29:36 +00:00
Tomas Votruba
1df416e942 Updated Rector to commit 837f71e7e8893c4d67d52f2f23bd85cd956a25f4
837f71e7e8 Make AbstractValuesAwareNode getValue() types more strict (#2813)
2022-08-21 10:36:26 +00:00
Tomas Votruba
a6caca2961 Updated Rector to commit 6df313efe5709797e53fe50275da97341ed79295
6df313efe5 [automated] Re-Generate Nodes/Rectors Documentation (#2812)
2022-08-21 00:33:55 +00:00
Tomas Votruba
578f41b414 Updated Rector to commit 790ca8c05779c8ea98b555ef7997b5403d73d89d
790ca8c057 [Php80] Rollback preserve int key defined not start from 0 Fixture on AnnotationToAttributeRector (#2811)
2022-08-20 21:58:41 +00:00
Tomas Votruba
53770fa84f Updated Rector to commit 8e753106800cd314b736e0c54e88be715c63cb25
8e75310680 Little cleanup (#2810)
2022-08-20 20:57:03 +00:00
Tomas Votruba
402dbe5a36 Updated Rector to commit a33b200e615b9451ba091e2724ab707f39198da7
a33b200e61 [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786)
2022-08-20 20:49:07 +00:00
Tomas Votruba
a6435672ab Updated Rector to commit 6f530a1deff42a44f008e7f35c70501fd2635bae
6f530a1def [CodingStyle] Skip translation functions on EncapsedStringsToSprintfRector (#2809)
2022-08-20 13:58:40 +00:00
Tomas Votruba
0be9fe2551 Updated Rector to commit e155e52f090698bf5f313681a23c8a097a0b6774
e155e52f09 [AutoImport] Handle auto import crash on docblock @SuppressWarnings(PHPMD.ElseExpression) inside anonymous class (#2808)
2022-08-20 09:50:50 +00:00
Tomas Votruba
3d2ac73661 Updated Rector to commit 0ecf88aa469af79d7965bfc5efe57888d56cf88e
0ecf88aa46 [PHP 8.0] Keep previously defined default, it might have been used later outside the switch construction (#2807)
2022-08-19 14:05:38 +00:00
Tomas Votruba
25a78da614 Updated Rector to commit 6b5a537b01a23e5a45e2a7dcb205a2b69d1f62eb
6b5a537b01 [CodeQuality] Skip child has typed on ReturnTypeFromStrictScalarReturnExprRector (#2806)
2022-08-19 13:51:54 +00:00
Tomas Votruba
0bc18b2647 Updated Rector to commit 1cc39145a5e35b926f0cf96fb0c3c12321154d7a
1cc39145a5 [PHP 8.0] Extract AssignMatchTransformer (#2805)
2022-08-19 13:40:05 +00:00
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
Tomas Votruba
3d35b64c2e Updated Rector to commit a80b3d359f321c0211d5d1aa36cdc265ec40af93
a80b3d359f add test for -c e2e
2022-08-09 20:37:26 +00:00