1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-02-16 22:04:54 +01:00

17467 Commits

Author SHA1 Message Date
Tomas Votruba
da887b253b Updated Rector to commit f85e8c27b3932196d882c70b063f517a48b5aaac
f85e8c27b3 Decouple LongAndDependentComplexRectorRule to cognitive-complexity package ()
2024-01-03 13:09:14 +00:00
Tomas Votruba
33de8c8a05 Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
09c077e258 [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector ()
2024-01-03 11:07:47 +00:00
Tomas Votruba
5c10ef9158 Updated Rector to commit 09c077e25801da58834be284a792c3987ea806ef
09c077e258 [TypeDeclaration] Add false and true in union support on ReturnUnionTypeRector ()
2024-01-03 07:52:06 +00:00
Tomas Votruba
1daa932d00 Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
5c0397910f Add missing rule doc ()
2024-01-02 21:38:33 +00:00
Tomas Votruba
350042dba4 Updated Rector to commit 9144efc05cf4d084d4af69f4df0be9d7a66e5869
9144efc05c Keep called method in RemoveEmptyClassMethodRector ()
2024-01-02 20:43:50 +00:00
Tomas Votruba
3a49fcd8d5 Updated Rector to commit 8724feefea91743e05006cb1329c5cd1675b5003
8724feefea Skip cond with side effect in RemoveDeadConditionAboveReturnRector ()
2024-01-02 20:16:55 +00:00
Tomas Votruba
e37778b4f3 Updated Rector to commit 57292bc31d0a02fbbbedff455185096945fd1914
57292bc31d [Scoper] Remove symfony/deprecation-contracts from "replace" on composer.json ()
2024-01-02 13:53:06 +00:00
Tomas Votruba
c888002735 Updated Rector to commit 4005683997ceadfff65d19328e4eb2d0b5b3bbae
4005683997 [Scoper] Include src/core_namespace_aliases.php on last after project autoload ()
2024-01-02 13:36:58 +00:00
Tomas Votruba
615009f789 Updated Rector to commit fa1a96b7eaa5f178c5701c94999a9aa130cf6255
fa1a96b7ea [Scoped] Using rector/rector:dev-main on e2e scoped ()
2024-01-02 12:53:42 +00:00
Tomas Votruba
35d4ae5ad9 Updated Rector to commit d886cffeded58fb4b5a55182f4b98b796545c18e
d886cffede [build] Try removing scope aliases
2024-01-02 02:50:51 +00:00
Tomas Votruba
0601eaa986 Updated Rector to commit cf0d54eb5996ded864208ee940fb794e7440ea6a
cf0d54eb59 fix Core namespace
2024-01-02 02:42:51 +00:00
Tomas Votruba
1c3ddfdb95 Updated Rector to commit 6971a20db5ea2560c8918e39c8f526563180a5a7
6971a20db5 [tests] Cleanup few obvious issue tests to make rest more robuts and useful ()
2024-01-02 02:41:09 +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
3916887582 Updated Rector to commit 9f937086898498f37d71977895312cbdb7fdbc6a
9f93708689 [Strict] Handle may be unitialized property on DisallowedEmptyRuleFixerRector ()
2024-01-01 13:26:19 +00:00
Tomas Votruba
aff2607559 Updated Rector to commit a64a34407038fab9ba3195d8314c1f550a7d1d40
a64a344070 [cleanup] Decouple changelog generator ()
2024-01-01 13:26:04 +00:00
Tomas Votruba
8e7d3b2d52 Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61
595086559f [psr-4] Update Rector core test reference ()
2024-01-01 09:05:02 +00:00
Tomas Votruba
ac1177eb9c Updated Rector to commit f4257afb3c05217b13513c4708228a6a976bab88
f4257afb3c [CI] Remove phpstan for fixtures job as cumbersome to run ()
2024-01-01 00:22:20 +00:00
Tomas Votruba
7ba32aac1f Updated Rector to commit e12c73eb339a847bcd717025abf5bc43f1cd0e4c
e12c73eb33 [psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 ()
2024-01-01 00:20:45 +00:00
Tomas Votruba
4bfd1e7acf Updated Rector to commit 0d424e1b978cd70d0aafe6e095f19fb67adb8de3
0d424e1b97 [psr-4] Move tests to main namespace, as part of /src and /packages merge ()
2023-12-31 23:42:36 +00:00
Tomas Votruba
1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector ()
2023-12-31 20:56:31 +00:00
Tomas Votruba
6e1ac30f0c Updated Rector to commit 0ba47067e827e46c7fc17b1a53cb4418080551d3
0ba47067e8 [config] Extract RectorConfigValidator and handle config validation there ()
2023-12-31 19:54:42 +00:00
Tomas Votruba
6b98134b54 Updated Rector to commit 9c7842f036e9164616582ea6e8b2ce95f90426e4
9c7842f036 [ecs] tidy up config ()
2023-12-31 19:44:21 +00:00
Tomas Votruba
d46a6b400b Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector ()
2023-12-31 17:36:04 +00:00
Tomas Votruba
67d86f3aa4 Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector ()
2023-12-31 12:20:56 +00:00
Tomas Votruba
b1b95d1c64 Updated Rector to commit e044d50e9b7b04c5ef7454044721dbf16b4b75f8
e044d50e9b [TypeDeclaration] optionally only add types for hard coded return values in `ReturnTypeFromStrictScalarReturnExprRector` ()
2023-12-30 11:58:36 +00:00
Tomas Votruba
ae330c0d87 Updated Rector to commit e8684d461ed996055fb060592267fcdab258e367
e8684d461e Bump phpstan to 1.10.50 ()
2023-12-29 18:31:19 +00:00
Tomas Votruba
37846880cd Updated Rector to commit f54a79b475d1eb73f536cbc07ee108b2dda07a01
f54a79b475 [Parallel] Fix missing --xdebug in WorkerCommand line on WorkerCommandLineFactory when --xdebug provided ()
2023-12-28 12:01:32 +00:00
Tomas Votruba
38b33113ca Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
109d734969 [Php83] Add CombineHostPortLdapUriRector ()
2023-12-27 22:04:09 +00:00
Tomas Votruba
c079729bef Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() ()
2023-12-27 12:46:35 +00:00
Tomas Votruba
5a2b12fcd4 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() ()
2023-12-26 20:37:41 +00:00
Tomas Votruba
5892f5adb9 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() ()
2023-12-26 18:33:36 +00:00
Tomas Votruba
ff860915a2 Updated Rector to commit 9cebe922f18a2fd07311eab528dd59a33ff17ba4
9cebe922f1 [DX] Add RectorConfig::autotagInterfaces() for automated tagging of instances ()
2023-12-26 18:10:37 +00:00
Tomas Votruba
95ed962a15 Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
6646d23fe0 [CodingStyle] Add RemoveUselessAliasInUseStatementRector ()
2023-12-26 17:40:03 +00:00
Tomas Votruba
801e9accb8 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-26 14:45:38 +00:00
Tomas Votruba
a8c5484976 Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-26 12:13:04 +00:00
Tomas Votruba
24ab7232bb Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-25 17:21:11 +00:00
Tomas Votruba
a7607e481d Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided ()
2023-12-25 03:17:16 +00:00
Tomas Votruba
dc7f07a258 Updated Rector to commit 70eace01e543d91beabacd6fbc062b871090a6ac
70eace01e5 [Polyfill] Add test polyfill not configured on php 7.4 env ()
2023-12-25 03:08:53 +00:00
Tomas Votruba
d29c258132 Updated Rector to commit 69983e907a570f9b4f708be81e8cf1eae8a7f1d0
69983e907a [Php] Fix filter cache on PolyfillPackagesProvider ()
2023-12-25 03:00:38 +00:00
Tomas Votruba
3f2b3edab8 Updated Rector to commit 6ebab94b971a930457c8e217dcb699c671ad617b
6ebab94b97 Add related polyfill interface to other PHP 8.0/7.3 rules ()
2023-12-25 00:55:45 +00:00
Tomas Votruba
8775d2e083 Updated Rector to commit ebb2d2df55887c25f74af39b400194039dff78d4
ebb2d2df55 [DX] Add "Related polyfill" feature to upgrade based on used symfony/polyfill-* packages ()
2023-12-24 12:52:27 +00:00
Tomas Votruba
e153ed98e6 Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer ()
2023-12-24 08:15:26 +00:00
Tomas Votruba
462b60a70a Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer ()
2023-12-24 03:11:42 +00:00
Tomas Votruba
06a8e6394a Updated Rector to commit 012e8bb2ed77516c792e3fb9c777066c3776abcc
012e8bb2ed Skip non-final class method with no content in AddVoidReturnTypeWhereNoReturnRector ()
2023-12-24 01:21:59 +00:00
Tomas Votruba
f9f96d6bb9 Updated Rector to commit 00b442f2d79f1536e9dc59c2fa7ff541a0cba1e8
00b442f2d7 Fix variable to property fetch update in ClassPropertyAssignToConstructorPromotionRector ()
2023-12-24 00:51:27 +00:00
Tomas Votruba
3d9b6b2c99 Updated Rector to commit 620321b3833dd450a7de79a620a07c7131342422
620321b383 Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns ()
2023-12-23 21:26:40 +00:00
Tomas Votruba
f77e8b8450 Updated Rector to commit 16f8d19db32108740794a68a011c78328bb69aed
16f8d19db3 Fix StrictArrayParamDimFetchRector for string access ()
2023-12-23 20:44:18 +00:00
Tomas Votruba
80dad1d8c8 Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
a644d0d4a2 [Arguments] Allow no default value on ArgumentAdderRector ()
2023-12-23 19:44:26 +00:00
Tomas Votruba
a4aba10ad7 Updated Rector to commit 3cef752763be750ea221c5c5eb1681d27398a3d5
3cef752763 Skip classes without final and exception as possibly invoke child implement in AddVoidReturnTypeWhereNoReturnRector ()
2023-12-23 15:28:34 +00:00
Tomas Votruba
78b306c557 Updated Rector to commit 5259090faea9e744c79da1115ad299d31b649bb1
5259090fae wording
2023-12-23 15:04:06 +00:00