Commit Graph

14779 Commits

Author SHA1 Message Date
Tomas Votruba
60253e1f76 Updated Rector to commit 3921c84a8f5c8cbfe1b1d00cdddf7f4cdfabfdcf
3921c84a8f cs
2022-08-29 23:08:22 +00:00
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