Commit Graph

17642 Commits

Author SHA1 Message Date
Tomas Votruba
cc3c45157f Updated Rector to commit 5a156bea4f702a08d45928c783daf3153c6bd2de
5a156bea4f [Php80] Handle NestedAnnotationToAttributeRector with empty new line (#5448)
2024-01-09 08:51:33 +00:00
Tomas Votruba
503f4ead06 Rector 0.19.0 2024-01-09 00:49:06 +00:00
Tomas Votruba
b911b341f7 Updated Rector to commit 32d5fce356ebe91267278ee8d3b574c928cf15d6
32d5fce356 add release notes generator dep
2024-01-09 00:19:58 +00:00
Tomas Votruba
0a2b185bda Updated Rector to commit 08ac19c956c2608188bca81044034bc2590a8d55
08ac19c956 [cs] Make use of new ECS config (#5445)
2024-01-08 15:17:51 +00:00
Tomas Votruba
f775017f74 Updated Rector to commit e3ccf175943f4b44c521029c090c6907b83d4a6c
e3ccf17594 Fix scoped e2e to load rector/rector:dev-main (#5447)
2024-01-08 13:55:32 +00:00
Tomas Votruba
911e446bd5 Updated Rector to commit 7e566722a08a546858fa67d73915c9dff9a0c018
7e566722a0 [Php80][CodeQuality] Handle crash on ChangeSwitchToMatchRector + TernaryFalseExpressionToIfRector on under if else (#5446)
2024-01-08 13:46:06 +00:00
Tomas Votruba
bddc91bccd Updated Rector to commit b71c3265d5f90745d52b081a1201e3d97617e14a
b71c3265d5 fix: RenameMethodRector should handle NullsafeMethodCall (#5444)
2024-01-07 16:56:38 +00:00
Tomas Votruba
2a79360f1b Updated Rector to commit 7f2155d5c0058a002790c05cae54b49405e154ac
7f2155d5c0 [DX] add RectorConfig::command() to ease external command registration (#5443)
2024-01-07 12:14:43 +00:00
Tomas Votruba
33f8d9f054 Updated Rector to commit 3751c94d26dc1bd8a7a1699f64d0c983dfd11a9f
3751c94d26 Revert "[DX] Make command default autotag" (#5442)
2024-01-07 12:07:05 +00:00
Tomas Votruba
816ddfc830 Updated Rector to commit 2f5a252ea9bac10994e08623e9371ec132045880
2f5a252ea9 [DX] Make command default autotag (#5441)
2024-01-07 12:05:03 +00:00
Tomas Votruba
dd2b386e30 Updated Rector to commit c9608a0f11d8a58224b33c8d2695f210a81816bc
c9608a0f11 [automated] Re-Generate preload.php (#5439)
2024-01-07 00:33:25 +00:00
Tomas Votruba
29eada363c Updated Rector to commit d3791938add9fe1faddfd404ab76183235c1df2f
d3791938ad [automated] Apply Coding Standard (#5440)
2024-01-07 00:31:04 +00:00
Tomas Votruba
1142f3d356 Updated Rector to commit 86e740248314edf23ef3307ac2a804a54c898282
86e7402483 Allows to convert Spatie enum names to snake upper case (#5435)
2024-01-06 13:17:15 +00:00
Tomas Votruba
22304be44f Updated Rector to commit a8cc19a3c0387f082fd432e04afce363a90ba5b0
a8cc19a3c0 [NodeTypeResolver] Handle crash PHPStan\File\CouldNotReadFileException: Could not read file on IntermediateSourceLocator (#5438)
2024-01-06 11:06:34 +00:00
Tomas Votruba
3c0a61462c Updated Rector to commit 9a794f4ac4a100c1bffbf6af5a0c15f9628f3b90
9a794f4ac4 [TypeDeclaration] Handle with default null on ParamTypeByMethodCallTypeRector (#5437)
2024-01-06 06:01:40 +00:00
Tomas Votruba
8728d93e41 Updated Rector to commit 55a787b9a2a18d7b131e74f0bc0d244989f6c92e
55a787b9a2 [CodeQuality] Handle crash with call inside loop on SimplifyForeachToCoalescingRector (#5436)
2024-01-06 05:25:58 +00:00
Tomas Votruba
2b45fbe814 Updated Rector to commit 3d71ae36b00e22fb5430e1812af95182c0e58904
3d71ae36b0 [TypeDeclaration] Skip re-assign with call and use as arg on StrictArrayParamDimFetchRector (#5434)
2024-01-05 13:43:19 +00:00
Tomas Votruba
b433dedda4 Updated Rector to commit d4f6b91f922bd52289d923aff07691d07e455cb1
d4f6b91f92 [TypeDeclaration] Allow both integer and string index array on StrictArrayParamDimFetchRector (#5433)
2024-01-05 13:13:40 +00:00
Tomas Votruba
feacfd524a Updated Rector to commit 971571be0cbcc21f1d6c7861c17423aef053b499
971571be0c [TypeDeclaration] Skip with empty() check on StrictArrayParamDimFetchRector (#5432)
2024-01-05 12:46:00 +00:00
Tomas Votruba
19374b3218 Updated Rector to commit 7654e2b720e0cfbefa663c009267a1f381661953
7654e2b720 Bump to phpstan 1.10.52 (#5431)
2024-01-05 10:41:41 +00:00
Tomas Votruba
9fc4d17470 Updated Rector to commit 0aecff4b07e3b70f792c6d5bec0fd103d0597de8
0aecff4b07 [dx] Remove extra phpstan-config job as already part of main phpstan run (#5430)
2024-01-05 10:33:26 +00:00
Tomas Votruba
87dbb8aa94 Updated Rector to commit 4480697a0acd8ee8fb3dd3f7fc4e6390d0d51d82
4480697a0a cs
2024-01-04 22:11:29 +00:00
Tomas Votruba
f8c73cea6c Updated Rector to commit a326b8504d37093f639245da0b283f588f954890
a326b8504d remove array spread from coding style, as often part of personal preference
2024-01-04 22:10:51 +00:00
Tomas Votruba
41a86add1d Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
b007a8bd11 [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
2024-01-04 19:14:21 +00:00
Tomas Votruba
5457aea4e0 Updated Rector to commit 1f9829d2a3820f39fe0601b996c5cba71ffb42b0
1f9829d2a3 [Strict] Add StaticProperty supporton may be unitialized static property on DisallowedEmptyRuleFixerRector (#5428)
2024-01-04 15:49:28 +00:00
Tomas Votruba
da887b253b Updated Rector to commit f85e8c27b3932196d882c70b063f517a48b5aaac
f85e8c27b3 Decouple LongAndDependentComplexRectorRule to cognitive-complexity package (#5427)
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 (#5355)
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 (#5355)
2024-01-03 07:52:06 +00:00
Tomas Votruba
1daa932d00 Updated Rector to commit 5c0397910fbd9735c375c4632ec116ebe8609f25
5c0397910f Add missing rule doc (#5426)
2024-01-02 21:38:33 +00:00
Tomas Votruba
350042dba4 Updated Rector to commit 9144efc05cf4d084d4af69f4df0be9d7a66e5869
9144efc05c Keep called method in RemoveEmptyClassMethodRector (#5425)
2024-01-02 20:43:50 +00:00
Tomas Votruba
3a49fcd8d5 Updated Rector to commit 8724feefea91743e05006cb1329c5cd1675b5003
8724feefea Skip cond with side effect in RemoveDeadConditionAboveReturnRector (#5424)
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 (#5421)
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 (#5420)
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 (#5419)
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 (#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
d46a6b400b Updated Rector to commit fff370b2c0f029203b7c53b96e4a7b8e9217af76
fff370b2c0 [Php83] Handle dynamic host and port values on CombineHostPortLdapUriRector (#5401)
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 (#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