4674 Commits

Author SHA1 Message Date
Tomas Votruba
4cf14d6438 Updated Rector to commit 493e4f89c9f9a033668301cd4eee4df7e77df0cb
493e4f89c9 Skip code changes on unresolvable/unknown classes (#4619)
2023-08-07 10:55:35 +00:00
Tomas Votruba
ec1aef0b55 Updated Rector to commit bb2e1e5fc0d15c83cd9df52d7fe6da22c1bb169d
bb2e1e5fc0 [NodeAnalyzer] Pass ReflectionProvider to __construct() on CallAnalyzer (#4699)
2023-08-07 09:47:53 +00:00
Tomas Votruba
197a05c117 Updated Rector to commit 97214e0856d96bdc8e4536746fcaca0b5bc27be1
97214e0856 [NodeAnalyzer] Remove #[Required] on CallAnalyzer (#4697)
2023-08-07 05:31:14 +00:00
Tomas Votruba
08df49faa5 Updated Rector to commit 033289a3b207c6a1cd9cba0cd027a16c45356aa8
033289a3b2 [CodingStyle] Remove #[Required] on ShortNameResolver (#4691)
2023-08-07 04:08:22 +00:00
Tomas Votruba
9fac241be1 Updated Rector to commit e9a97469558e5e154a185bae388f214e1f0d5c56
e9a9746955 [PhpParser] Remove #[Required] on ClassLikeAstResolver (#4688)
2023-08-07 03:26:51 +00:00
Tomas Votruba
e1ddea3c17 Updated Rector to commit 1eee3a5f8727d3385d210222ab8e1f512a4fea19
1eee3a5f87 Remove RemoveParentRector as never used and only for demo purposes, handle custom way where needed (#4679)
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 #1 (#4672)
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 (#4667)
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 (#4670)
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 (#4668)
2023-08-06 09:54:10 +00:00
Tomas Votruba
6299c365a0 Updated Rector to commit e98e9e7e1a92265d4ee6a41bf9298f1d606f4a5b
e98e9e7e1a [TypeDeclaration] Allow return anonymous class on ReturnTypeFromReturnNewRector (#4669)
2023-08-06 09:53:37 +00:00
Tomas Votruba
57bd04e032 Updated Rector to commit f45662a829357b0c98532611fce4c250459f54b7
f45662a829 [Privatization] Skip parent class unknown on PrivatizeFinalClassMethodRector (#4671)
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 (#4657)
2023-08-06 02:01:31 +00:00
Tomas Votruba
35a2f175ea Updated Rector to commit 7a486532b23a9fd39d74ac16f45c27849d91870b
7a486532b2 [DX] Move FlipNegatedTernaryInstanceofRector to instanceof rules category (#4663)
2023-08-05 23:50:25 +00:00
Tomas Votruba
da5c8d8544 Updated Rector to commit 637d48cd42527577e5c8fc65d8683b47129afa1a
637d48cd42 Remove deprecated ArrayShapeFromConstantArrayReturnRector (#4662)
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 (#4661)
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 (#4660)
2023-08-05 17:58:26 +00:00
Tomas Votruba
2e58adbe3b Updated Rector to commit 8c04f656b32d8d95a5139e59cbfbc508647dd3b1
8c04f656b3 [TypeDeclaration] Skip public method on AddMethodCallBasedStrictParamTypeRector (#4659)
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 (#4656)
2023-08-05 12:14:07 +00:00
Tomas Votruba
9ccb6367c0 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
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 (#4650)
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 (#4653)
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba
81777836bc Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
cbc026e324 [DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651)
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 (#4649)
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 (#4648)
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 (#4647)
2023-08-04 12:23:25 +00:00
Tomas Votruba
673d423883 Updated Rector to commit 3b9c2f1b533fc9b8c600c6fcbd2f152eb9403a72
3b9c2f1b53 [TypeDeclaration] Refactor AddPropertyTypeDeclarationRector to use AbstractScopeAwareRector (#4644)
2023-08-04 06:11:54 +00:00
Tomas Votruba
cbd8887f11 Updated Rector to commit dff1e4b90b06c4e47273276b6462febbea325779
dff1e4b90b [TypeDeclaration] Skip Docblock on AddArrowFunctionReturnTypeRector (#4643)
2023-08-04 05:57:31 +00:00
Tomas Votruba
cd5f986bfb Updated Rector to commit 8ffacac3b77f7539e5bef55a462ed0451c752469
8ffacac3b7 [Strict] Skip docblock on BooleanInBooleanNotRuleFixerRector (#4640)
2023-08-03 17:14:16 +00:00
Tomas Votruba
ed1dba1541 Updated Rector to commit 8f6b3660d0aeee1c44fd9726c97429900863d460
8f6b3660d0 [Strict] Skip docblock on DisallowedShortTernaryRuleFixerRector (#4639)
2023-08-03 17:04:00 +00:00
Tomas Votruba
32ea38b2ab Updated Rector to commit 3c2fab22122dbab967154f433c93c61ec5532de5
3c2fab2212 [Strict] Skip docblock on BooleanInTernaryOperatorRuleFixerRector (#4638)
2023-08-03 16:56:43 +00:00
Tomas Votruba
84ff789c67 Updated Rector to commit 5ee441f4443d574788a34a849b0772d863bc6200
5ee441f444 [TypeDeclaration] Remove AddClosureReturnTypeRector (#4637)
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 (#4636)
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 (#4635)
2023-08-03 14:28:47 +00:00
Tomas Votruba
d25543c727 Updated Rector to commit 90f871403d153509ddef0acffb1726532a44ae62
90f871403d [TypeDeclaration] Add Closure support on StrictStringParamConcatRector (#4634)
2023-08-03 14:19:22 +00:00
Tomas Votruba
8e45114f90 Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
5965ddd37b [TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#4633)
2023-08-03 14:19:00 +00:00
Tomas Votruba
3619383db1 Updated Rector to commit 79953f61e341fdb7263316b34eeaa2be737d12ef
79953f61e3 [TypeDeclaration] Add Closure support on StrictArrayParamDimFetchRector (#4632)
2023-08-03 14:04:39 +00:00
Tomas Votruba
59b728d5fa Updated Rector to commit 36e88e13e5d41db048494b497d59ae0e96c877f0
36e88e13e5 [TypeDeclaration] Add Closure support on NumericReturnTypeFromStrictScalarReturnsRector (#4631)
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 (#4627)
2023-08-02 08:12:09 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
64fc640e30 Updated Rector to commit 00edfa77a0dcfabb55daca82e7e0b51063ad68e6
00edfa77a0 [TypeDeclaration] Add StrictStringParamConcatRector (#4624)
2023-07-31 11:10:36 +00:00
Tomas Votruba
d9fb45c92e Updated Rector to commit e8bba86e071c527045951c0ed5edd852d80776af
e8bba86e07 Fix string type on StrictArrayParamDimFetchRector (#4623)
2023-07-30 17:06:57 +00:00
Tomas Votruba
3598a7608a Updated Rector to commit 8c623868b748427ce186a1b3b892a7bca9860483
8c623868b7 [automated] Apply Coding Standard (#4621)
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 (#4618)
2023-07-29 09:44:46 +00:00
Tomas Votruba
1d52a6cf83 Updated Rector to commit 682df75fc015d0f267780ec5363aa74f82dba58b
682df75fc0 [CodingStyle][Namespace_] Support constant imports (#4612)
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 (#4614)
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 (#4611)
2023-07-27 07:54:50 +00:00
Tomas Votruba
07dd65650f Updated Rector to commit 3a95b1436575815cfc442baf137a2a6a24100cdd
3a95b14365 [TypeDeclaration] Add Closure support on BoolReturnTypeFromStrictScalarReturnsRector (#4610)
2023-07-27 04:15:19 +00:00
Tomas Votruba
279fea6a57 Updated Rector to commit b5f973f768f2bb55ca4b224a58a05eb5817b2cae
b5f973f768 [Strict] Skip @return docblock on BooleanInIfConditionRuleFixerRector (#4609)
2023-07-26 15:22:33 +00:00