1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-03-26 10:12:30 +01:00

4669 Commits

Author SHA1 Message Date
Tomas Votruba
e1ddea3c17 Updated Rector to commit 1eee3a5f8727d3385d210222ab8e1f512a4fea19
1eee3a5f87 Remove RemoveParentRector as never used and only for demo purposes, handle custom way where needed ()
2023-08-06 16:40:47 +00:00
Tomas Votruba
6f8ff0f9d5 Updated Rector to commit 2ffa009e08d06c7522a1f3b066f90e8edbee8210
2ffa009e08 [DX] Make use of Laravel container in few tests - step  ()
2023-08-06 15:14:10 +00:00
Tomas Votruba
e3116ffed3 Updated Rector to commit 097785424d7239bf0166d1fddb3e2079ce4787c8
097785424d [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard ()
2023-08-06 09:54:45 +00:00
Tomas Votruba
2a286e21bd Updated Rector to commit 6110a50ed0aaa58281e3b9de0a195f18bb782ba4
6110a50ed0 [TypeDeclaration] Skip anonymous class and other object on ReturnUnionTypeRector ()
2023-08-06 09:54:38 +00:00
Tomas Votruba
b390109355 Updated Rector to commit 4e3be87945bf57a1f4c7aaf51696c55ae7617054
4e3be87945 [TypeDeclaration][CodeQuality] Move ReturnTypeFromStrictScalarReturnExprRector from CodeQuality to TypeDeclaration set ()
2023-08-06 09:54:10 +00:00
Tomas Votruba
6299c365a0 Updated Rector to commit e98e9e7e1a92265d4ee6a41bf9298f1d606f4a5b
e98e9e7e1a [TypeDeclaration] Allow return anonymous class on ReturnTypeFromReturnNewRector ()
2023-08-06 09:53:37 +00:00
Tomas Votruba
57bd04e032 Updated Rector to commit f45662a829357b0c98532611fce4c250459f54b7
f45662a829 [Privatization] Skip parent class unknown on PrivatizeFinalClassMethodRector ()
2023-08-06 09:53:01 +00:00
Tomas Votruba
890e81ed62 Updated Rector to commit 625fcccc475c8a6b3bde49e5e64e66354ed4299a
625fcccc47 [CodeQuality][TypeDeclaration] Add string append support on ReturnTypeFromStrictScalarReturnExprRector ()
2023-08-06 02:01:31 +00:00
Tomas Votruba
35a2f175ea Updated Rector to commit 7a486532b23a9fd39d74ac16f45c27849d91870b
7a486532b2 [DX] Move FlipNegatedTernaryInstanceofRector to instanceof rules category ()
2023-08-05 23:50:25 +00:00
Tomas Votruba
da5c8d8544 Updated Rector to commit 637d48cd42527577e5c8fc65d8683b47129afa1a
637d48cd42 Remove deprecated ArrayShapeFromConstantArrayReturnRector ()
2023-08-05 23:37:13 +00:00
Tomas Votruba
813a09001a Updated Rector to commit 0013604ebd8bf101ca9bd013a56d7e831bcdf51e
0013604ebd [DX] Remove RemoveJustPropertyFetchRector as used for one time job, not practical for general use ()
2023-08-05 23:36:26 +00:00
Tomas Votruba
aef03f3b69 Updated Rector to commit f76d034bf8eb60e7a7a2d73b2239aebf81b1ac51
f76d034bf8 [DX] Remove NullifyUnionNullableRector, let cs tools handle it ()
2023-08-05 17:58:26 +00:00
Tomas Votruba
2e58adbe3b Updated Rector to commit 8c04f656b32d8d95a5139e59cbfbc508647dd3b1
8c04f656b3 [TypeDeclaration] Skip public method on AddMethodCallBasedStrictParamTypeRector ()
2023-08-05 16:29:56 +00:00
Tomas Votruba
0a93085a9e Updated Rector to commit ae896432a906ca02a97c326295a29ced3c689998
ae896432a9 Move ArrayManipulator to rector-symfony, where only used ()
2023-08-05 12:14:07 +00:00
Tomas Votruba
9ccb6367c0 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector ()
2023-08-05 10:29:33 +00:00
Tomas Votruba
93ce3c4606 Updated Rector to commit ef35a4957b1afbede20679d94529393f4e6d1286
ef35a4957b [DX] Cleanup few dev dependencies to lower dependency-tree load ()
2023-08-04 17:51:05 +00:00
Tomas Votruba
1814d573d8 Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
e380cf8fdb [DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple ()
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused ()
2023-08-04 17:28:42 +00:00
Tomas Votruba
81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter ()
2023-08-04 17:15:45 +00:00
Tomas Votruba
420f332cf3 Updated Rector to commit 58273de24474dee2a5463949ad127a86526c4e3a
58273de244 [CodingStyle][Php80][Privatization] Handle SeparateMultiUseImportsRector+ClassPropertyAssignToConstructorPromotionRector+FinalizeClassesWithoutChildrenRector cause invalid removal ()
2023-08-04 15:26:33 +00:00
Tomas Votruba
b2fa3fba80 Updated Rector to commit 529defd2de2b8ea122d0d7326ca0b054a22a030d
529defd2de [TypeDeclaration] Using native type scope get on ReturnTypeInferer ()
2023-08-04 14:11:13 +00:00
Tomas Votruba
1ead4b33f1 Updated Rector to commit ae767eb1fe01f65c9d5a1e5c2a4c067e95b5386e
ae767eb1fe [TypeDeclaration] Set minimum php version for AddReturnTypeDeclarationBasedOnParentClassMethodRector to php 7.0 ()
2023-08-04 12:23:25 +00:00
Tomas Votruba
673d423883 Updated Rector to commit 3b9c2f1b533fc9b8c600c6fcbd2f152eb9403a72
3b9c2f1b53 [TypeDeclaration] Refactor AddPropertyTypeDeclarationRector to use AbstractScopeAwareRector ()
2023-08-04 06:11:54 +00:00
Tomas Votruba
cbd8887f11 Updated Rector to commit dff1e4b90b06c4e47273276b6462febbea325779
dff1e4b90b [TypeDeclaration] Skip Docblock on AddArrowFunctionReturnTypeRector ()
2023-08-04 05:57:31 +00:00
Tomas Votruba
cd5f986bfb Updated Rector to commit 8ffacac3b77f7539e5bef55a462ed0451c752469
8ffacac3b7 [Strict] Skip docblock on BooleanInBooleanNotRuleFixerRector ()
2023-08-03 17:14:16 +00:00
Tomas Votruba
ed1dba1541 Updated Rector to commit 8f6b3660d0aeee1c44fd9726c97429900863d460
8f6b3660d0 [Strict] Skip docblock on DisallowedShortTernaryRuleFixerRector ()
2023-08-03 17:04:00 +00:00
Tomas Votruba
32ea38b2ab Updated Rector to commit 3c2fab22122dbab967154f433c93c61ec5532de5
3c2fab2212 [Strict] Skip docblock on BooleanInTernaryOperatorRuleFixerRector ()
2023-08-03 16:56:43 +00:00
Tomas Votruba
84ff789c67 Updated Rector to commit 5ee441f4443d574788a34a849b0772d863bc6200
5ee441f444 [TypeDeclaration] Remove AddClosureReturnTypeRector ()
2023-08-03 16:38:29 +00:00
Tomas Votruba
5454cfa6b9 Updated Rector to commit 527f2140e38fba2f9419686552402e41d9893d81
527f2140e3 [TypeDeclaration] Add nullable param from null compare on StrictStringParamConcatRector ()
2023-08-03 15:09:44 +00:00
Tomas Votruba
10fc685b85 Updated Rector to commit 25b6142f69577a83fc86fd4a3ddad57af470ba26
25b6142f69 [TypeDeclaration] Do not change different type defualt value on  StrictStringParamConcatRector ()
2023-08-03 14:28:47 +00:00
Tomas Votruba
d25543c727 Updated Rector to commit 90f871403d153509ddef0acffb1726532a44ae62
90f871403d [TypeDeclaration] Add Closure support on StrictStringParamConcatRector ()
2023-08-03 14:19:22 +00:00
Tomas Votruba
8e45114f90 Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
5965ddd37b [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector ()
2023-08-03 14:19:00 +00:00
Tomas Votruba
3619383db1 Updated Rector to commit 79953f61e341fdb7263316b34eeaa2be737d12ef
79953f61e3 [TypeDeclaration] Add Closure support on StrictArrayParamDimFetchRector ()
2023-08-03 14:04:39 +00:00
Tomas Votruba
59b728d5fa Updated Rector to commit 36e88e13e5d41db048494b497d59ae0e96c877f0
36e88e13e5 [TypeDeclaration] Add Closure support on NumericReturnTypeFromStrictScalarReturnsRector ()
2023-08-03 13:56:06 +00:00
Tomas Votruba
c0798d5cca Updated Rector to commit a63ad695ca6b86b460c425a65762778329ca577f
a63ad695ca [TypeDeclaration] Skip has parent class method on AddParamTypeFromPropertyTypeRector ()
2023-08-02 08:12:09 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector ()
2023-08-01 10:55:14 +00:00
Tomas Votruba
64fc640e30 Updated Rector to commit 00edfa77a0dcfabb55daca82e7e0b51063ad68e6
00edfa77a0 [TypeDeclaration] Add StrictStringParamConcatRector ()
2023-07-31 11:10:36 +00:00
Tomas Votruba
d9fb45c92e Updated Rector to commit e8bba86e071c527045951c0ed5edd852d80776af
e8bba86e07 Fix string type on StrictArrayParamDimFetchRector ()
2023-07-30 17:06:57 +00:00
Tomas Votruba
3598a7608a Updated Rector to commit 8c623868b748427ce186a1b3b892a7bca9860483
8c623868b7 [automated] Apply Coding Standard ()
2023-07-30 00:32:15 +00:00
Tomas Votruba
87451f1fce Updated Rector to commit 784894e8ed4260ae3c8d45a28e007f4b6fe98f4d
784894e8ed [CodingStyle] Handle crash on empty cases on BinarySwitchToIfElseRector ()
2023-07-29 09:44:46 +00:00
Tomas Votruba
1d52a6cf83 Updated Rector to commit 682df75fc015d0f267780ec5363aa74f82dba58b
682df75fc0 [CodingStyle][Namespace_] Support constant imports ()
2023-07-28 13:10:47 +00:00
Tomas Votruba
4082c75546 Updated Rector to commit db03c60a5725e8f82d6b800c4745bc259ee470ac
db03c60a57 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method ()
2023-07-27 09:43:37 +00:00
Tomas Votruba
8424a957a3 Updated Rector to commit 0b96adb72c8ddded52c34dc0ea8a6d2bb7327511
0b96adb72c AddMethodCallBasedStrictParamTypeRector: Support changing protected methods in final classes ()
2023-07-27 07:54:50 +00:00
Tomas Votruba
07dd65650f Updated Rector to commit 3a95b1436575815cfc442baf137a2a6a24100cdd
3a95b14365 [TypeDeclaration] Add Closure support on BoolReturnTypeFromStrictScalarReturnsRector ()
2023-07-27 04:15:19 +00:00
Tomas Votruba
279fea6a57 Updated Rector to commit b5f973f768f2bb55ca4b224a58a05eb5817b2cae
b5f973f768 [Strict] Skip @return docblock on BooleanInIfConditionRuleFixerRector ()
2023-07-26 15:22:33 +00:00
Tomas Votruba
1df6d4abb3 Updated Rector to commit 65e6caedb37c1d447a4da1992a14b82c5aa41871
65e6caedb3 [Strict] Skip from docblock @return on DisallowedEmptyRuleFixerRector ()
2023-07-26 14:44:50 +00:00
Tomas Votruba
abd2958b1c Updated Rector to commit c01925aad05a9baf0a44701a069a989ca3c0edc8
c01925aad0 Resolve native return-type from native union-type in short ternary ()
2023-07-26 12:30:52 +00:00
Tomas Votruba
5a842dbce3 Updated Rector to commit c1e03db126ca74dc518aa4a0c9a04715e7f1cd44
c1e03db126 [cs] Re-run ECS dev version to try out regression ()
2023-07-25 08:52:39 +00:00
Tomas Votruba
f083e0de01 Updated Rector to commit 031f2de2b8043a972f1a19f07f06ad2fc9793df3
031f2de2b8 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector ()
2023-07-25 04:02:12 +00:00
Tomas Votruba
b99d5e2373 Updated Rector to commit 6231beb886440a08b381ba85cb834f9ebedec752
6231beb886  [TypeDeclaration] Skip override string on StrictArrayParamDimFetchRector  ()
2023-07-25 01:42:12 +00:00