Commit Graph

3789 Commits

Author SHA1 Message Date
Tomas Votruba
9d01c06e33 Updated Rector to commit bdee76597b93b0c75a70d767caed6f16cd8ae403
bdee76597b [Php55] Handle pre-slash string on StringClassNameToClassConstantRector (#2905)
2022-09-04 15:49:49 +00:00
Tomas Votruba
5a0a2376f8 Updated Rector to commit d3cab63bcb44b27446a6224eb9d511f2d52e97ba
d3cab63bcb [Php74] Skip Nested ternary parenthesized multiline on ParenthesizeNestedTernaryRector (#2902)
2022-09-03 09:39:07 +00:00
Tomas Votruba
62e856362b Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
a39844ee53 [misc] Add Expr type to value resolver, remove RemoveFuncCallRector as niche feature, cleanup ClassManipulator from unused methods (#2900)
2022-09-03 08:03:15 +00:00
Tomas Votruba
2532428013 Updated Rector to commit a911c0898e3bbee10a08bc9f62c36edb99d8310b
a911c0898e [Transform] Skip transitional interface in AddInterfaceByTraitRector (#2898)
2022-09-02 21:04:18 +00:00
Tomas Votruba
ba23046ced Updated Rector to commit e9bcacc6c287d385c00dec783e1be8dafb680d99
e9bcacc6c2 [Php55] Skip StringClassNameToClassConstantRector on case insensitive (#2896)
2022-09-02 18:49:13 +00:00
Tomas Votruba
bc0f1fa350 Updated Rector to commit 5a9cb5081596ba3242f4260e5d89b9943fc0f49a
5a9cb50815 [Naming] Skip old value used in next foreach on RenameForeachValueVariableToMatchExprVariableRector (#2897)
2022-09-02 18:47:27 +00:00
Tomas Votruba
e84e1d4a08 Updated Rector to commit efc31c044beef561349e7b0ac9f8b4fbb112fa71
efc31c044b [PHP 8.0] Add custom JMS AccesorOrder explicit key (#2895)
2022-09-02 13:59:35 +00:00
Tomas Votruba
6d11119b51 Updated Rector to commit 2c454d292b8af3a8e8eb61f813efe6b12c66ae81
2c454d292b [PHP 5.5] Make StringClassNameToClassConstantRector skip lcfirst (#2888)
2022-09-01 21:06:09 +00:00
Tomas Votruba
4e3847e1bc Updated Rector to commit 3c07468691132d0246e55627495a1e7d4cd76a8d
3c07468691 [DX] Localize few PackageBuilder classes (#2884)
2022-09-01 19:50:06 +00:00
Tomas Votruba
28c719d1fb Updated Rector to commit 8961d20f56fa4b39bb21feec1f24422398f13dba
8961d20f56 [DX] Localize multi instance checker and privates accessor from Symplify + bump to PHPStan 1.8.3 (#2883)
2022-09-01 19:30:48 +00:00
Tomas Votruba
d82c31f345 Updated Rector to commit 36ac5305f1b7b1007e4cbf6260695d2ae16fef5f
36ac5305f1 [DX] Use own path normalizer (#2881)
2022-09-01 11:48:21 +00:00
Tomas Votruba
c2d3d4a3b4 Updated Rector to commit 55227be6c338823f47f3fe6d4b1e48a4d8291740
55227be6c3 Removing SmartFileInfo (#2879)
2022-09-01 11:24:29 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
9662cd48ba Updated Rector to commit 4b6d1147546caf401b772b5bc7ab9002979c6cd5
4b6d114754 [CodingStyle] Handle multiple assigns on SplitDoubleAssignRector (#2873)
2022-08-31 10:37:14 +00:00
Tomas Votruba
c6aab80b28 Updated Rector to commit 3addb8f8783cb5efbbbc80ef2a7c143487d19398
3addb8f878 [EarlyReturn] Skip else has inline html on RemoveAlwaysElseRector (#2870)
2022-08-31 10:15:08 +00:00
Tomas Votruba
afd984fc4e Updated Rector to commit b8c70125cda3a0fbdff216dfccaf065d8fe1aa2b
b8c70125cd [phpstan] Resolve duplicated methods (#2869)
2022-08-31 09:31:19 +00:00
Tomas Votruba
7b90cd54eb Updated Rector to commit 08ccd5a1a4f8757ff8f392c0e823a02bc95c14c1
08ccd5a1a4 [DX] Remove the composer upgrade as unused to narrow focus back to PHP (#2865)
2022-08-31 09:02:41 +00:00
Tomas Votruba
c152c5642c Updated Rector to commit 6db4c0e0ae74867ec12b2a4fa7cf934a4a60a742
6db4c0e0ae [Php74] Add ParenthesizeNestedTernaryRector (#2859)
2022-08-31 07:08:44 +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
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
dbb408c5c9 Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c [scoper] unprefix SmartFileInfo
2022-08-29 14:03:46 +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
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
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
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
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
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
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
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
f177e0c3dd Updated Rector to commit 76dc886f7a7f13fbed51e102ce4b616106f42702
76dc886f7a Cleanup, re-use AttributeName enums (#2792)
2022-08-19 07:49:30 +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