Commit Graph

4983 Commits

Author SHA1 Message Date
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 (#5417)
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 (#5409)
2024-01-01 13:26:19 +00:00
Tomas Votruba
aff2607559 Updated Rector to commit a64a34407038fab9ba3195d8314c1f550a7d1d40
a64a344070 [cleanup] Decouple changelog generator (#5412)
2024-01-01 13:26:04 +00:00
Tomas Votruba
8e7d3b2d52 Updated Rector to commit 595086559f9ed5196d53c6dbea907043153bda61
595086559f [psr-4] Update Rector core test reference (#5410)
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 (#5408)
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 (#5407)
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 (#5406)
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 (#5405)
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 (#5404)
2023-12-31 19:54:42 +00:00
Tomas Votruba
6b98134b54 Updated Rector to commit 9c7842f036e9164616582ea6e8b2ce95f90426e4
9c7842f036 [ecs] tidy up config (#5403)
2023-12-31 19:44:21 +00:00
Tomas Votruba
67d86f3aa4 Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401)
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` (#5364)
2023-12-30 11:58:36 +00:00
Tomas Votruba
ae330c0d87 Updated Rector to commit e8684d461ed996055fb060592267fcdab258e367
e8684d461e Bump phpstan to 1.10.50 (#5399)
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 (#5398)
2023-12-28 12:01:32 +00:00
Tomas Votruba
38b33113ca Updated Rector to commit 109d734969100cf97bdc820e7c369c90e9e4016a
109d734969 [Php83] Add CombineHostPortLdapUriRector (#5397)
2023-12-27 22:04:09 +00:00
Tomas Votruba
5892f5adb9 Updated Rector to commit ad09d9c37e3e98eff856fcad7c355accad83f6b4
ad09d9c37e make use of autotagInterface() (#5396)
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 (#5395)
2023-12-26 18:10:37 +00:00
Tomas Votruba
95ed962a15 Updated Rector to commit 6646d23fe0cea4b4a871ca1931e33f0cb2a574c7
6646d23fe0 [CodingStyle] Add RemoveUselessAliasInUseStatementRector (#5394)
2023-12-26 17:40:03 +00:00
Tomas Votruba
a7607e481d Updated Rector to commit 6bff51172cf396da8abc062d96f0406fd86ef349
6bff51172c [e2e] Add e2e for polyfill in composer require provided (#5392)
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 (#5391)
2023-12-25 03:08:53 +00:00
Tomas Votruba
d29c258132 Updated Rector to commit 69983e907a570f9b4f708be81e8cf1eae8a7f1d0
69983e907a [Php] Fix filter cache on PolyfillPackagesProvider (#5390)
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 (#5389)
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 (#5388)
2023-12-24 12:52:27 +00:00
Tomas Votruba
462b60a70a Updated Rector to commit c6ca4f1f5ccdf73d9aa0f8f441267725e07aee67
c6ca4f1f5c [Performance][TypeDeclaration] Avoid using AstResolver on class is on same file on AllAssignNodePropertyTypeInferer (#5387)
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 (#5386)
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 (#5385)
2023-12-24 00:51:27 +00:00
Tomas Votruba
3d9b6b2c99 Updated Rector to commit 620321b3833dd450a7de79a620a07c7131342422
620321b383 Add ReturnTypeFromStrictBoolReturnExprRector support for if/else returns (#5384)
2023-12-23 21:26:40 +00:00
Tomas Votruba
f77e8b8450 Updated Rector to commit 16f8d19db32108740794a68a011c78328bb69aed
16f8d19db3 Fix StrictArrayParamDimFetchRector for string access (#5383)
2023-12-23 20:44:18 +00:00
Tomas Votruba
80dad1d8c8 Updated Rector to commit a644d0d4a2f1e457f77cf8e384fd32b78b5ff388
a644d0d4a2 [Arguments] Allow no default value on ArgumentAdderRector (#5382)
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 (#5381)
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
Tomas Votruba
f65671090e Updated Rector to commit ae97b716490cd94d2d7ba5783ab5f5f7e19ad535
ae97b71649 tidy up (#5380)
2023-12-23 14:54:24 +00:00
Tomas Votruba
94baa5fede Updated Rector to commit 8df2120b3f546dd7f0eb89bf199a042dfc9283e7
8df2120b3f Skip void without final keyword in ReturnNeverTypeRector as could be implemented with more precise children (#5379)
2023-12-23 14:51:47 +00:00
Tomas Votruba
0ee99bfbc9 Updated Rector to commit 53ba155ab03ce7717ecef42b311880b314a40fbc
53ba155ab0 [NodeAnalyzer] Use existing VariadicFunctionLikeDetector on VariadicAnalyzer (#5378)
2023-12-23 11:33:51 +00:00
Tomas Votruba
daa774618b Updated Rector to commit 941735ce81d698e7b4c32d71b43595033236226f
941735ce81 [Performance][AstResolver] Avoid parse file on NativeFunctionReflection on AstResolver::resolveFunctionFromFunctionReflection() (#5377)
2023-12-23 10:46:06 +00:00
Tomas Votruba
1ce9a4da5a Updated Rector to commit c2c6558cde8138d5509b306bd499e013ac5da2e9
c2c6558cde [TypeDeclaration] Allow add void return type on magic __invoke() method on AddVoidReturnTypeWhereNoReturnRector (#5376)
2023-12-22 17:39:40 +00:00
Tomas Votruba
949ab12adb Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375)
2023-12-21 15:22:15 +00:00
Tomas Votruba
f8011a76d3 Rector 0.18.13 2023-12-20 16:08:01 +00:00
Tomas Votruba
40ac5bade5 Updated Rector to commit 4283beff2f78d5820f27384826d5d1b75d3ff62a
4283beff2f [CodeQuality] Skip method call on else on TernaryFalseExpressionToIfRector (#5373)
2023-12-18 12:32:23 +00:00
Tomas Votruba
10fd8e5374 Updated Rector to commit 02a30d483fe28abc9315a7e6bf809614750c95ab
02a30d483f [Php55] Handle crash after exit() on GetCalledClassToSelfClassRector (#5372)
2023-12-18 05:38:03 +00:00
Tomas Votruba
5f40a31427 Updated Rector to commit affdec96db31156ab2b05a5801f980e284e291a5
affdec96db [Testing] Remove unnecessary set Parameter Source on TestingParser (#5371)
2023-12-17 15:33:43 +00:00
Tomas Votruba
335a3861f8 Updated Rector to commit 63201f76725831988f1484476f6f84e0976a5742
63201f7672 [CodeQuality] Skip Superglobals variable on SimplifyEmptyCheckOnEmptyArrayRector (#5369)
2023-12-17 09:24:20 +00:00
Tomas Votruba
291e258902 Updated Rector to commit 54491a53f081fd8785269513b1650a524a9077f1
54491a53f0 [BetterphpDocparser] Remove new PrivatesAccessor() on promotion property on BetterPhpDocParser (#5368)
2023-12-17 07:29:57 +00:00
Tomas Votruba
785ac22e33 Updated Rector to commit 89d2c9c4eb2bfddc226136899b1fdb0a99d19a8a
89d2c9c4eb [Php72] Remove usage on PrivatesAccessor on AnonymousFunctionFactory (#5367)
2023-12-17 06:37:00 +00:00
Tomas Votruba
aba5aec25d Updated Rector to commit aa52c4ecedb83773b12c4d3b2906ba36601057ba
aa52c4eced [Reflection] Remove usage on PrivatesAccessor on ClassReflectionAnalyzer (#5366)
2023-12-17 06:07:34 +00:00
Tomas Votruba
d525e926d3 Updated Rector to commit 1dcebfe29713124a43504c9a4bac322fa2f41f59
1dcebfe297 [automated] Apply Coding Standard (#5365)
2023-12-17 00:30:16 +00:00
Tomas Votruba
168d6a72a1 Updated Rector to commit 120e0ccfc40bc696d23a9e1d93b6662ea7dfa682
120e0ccfc4 Bump to php parser 4.18 (#5362)
2023-12-16 15:55:14 +00:00