4684 Commits

Author SHA1 Message Date
Tomas Votruba
80654c23af Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
8ae33c5f7c [Php70] Remove appendArgs() usage on CallUserMethodRector (#4731)
2023-08-09 12:42:27 +00:00
Tomas Votruba
e7097335cd Updated Rector to commit b93e285a4a72ef12d4892852118d5ab7b1b48bdd
b93e285a4a [DX] Remove AddDefaultValueForUndefinedVariableRector as can generate broken code and depends on context (#4729)
2023-08-09 10:56:45 +00:00
Tomas Votruba
e0af8c24c9 Updated Rector to commit b98df68ebb65cc05b7faba113e8e81a56d501c08
b98df68ebb [TypeDeclaration] Allow change multiple methods on AddParamTypeDeclarationRector (#4727)
2023-08-09 06:40:30 +00:00
Tomas Votruba
6703dc85ab Updated Rector to commit ea91c99695a8a8108bad4428c7febcf4222a363d
ea91c99695 Reduce private accessor usage on get parent class name not autoload (#4726)
2023-08-09 02:16:25 +00:00
Tomas Votruba
135fa91a30 Updated Rector to commit 88112d208bafbe266d5b0e5ec7fcb84058280ce2
88112d208b [TypeDeclaration] Skip non void or never already return typed on ReturnNeverTypeRector (#4723)
2023-08-08 15:44:06 +00:00
Tomas Votruba
ee45a5a26e Updated Rector to commit 17fe187769dba735386f3afbad705e27de46b887
17fe187769 [TypeDeclaration] Skip param setter method intersection docblock not autoload on ReturnNeverTypeRector (#4721)
2023-08-08 15:26:09 +00:00
Tomas Votruba
dc504e2a35 Updated Rector to commit 0a8ffe3ac8f42a93fb2853cc7ee93a1acced8a89
0a8ffe3ac8 [Types] Make AddVoidReturnTypeWhereNoReturnRector work only with type-declaration, as reliable (#4720)
2023-08-08 14:29:00 +00:00
Tomas Votruba
5602ee85cd Updated Rector to commit 3de7c697f5adc910481ff5873674284b2836dc50
3de7c697f5 [DX] Remove *AnnotationIncorrectNullableRector rules as works with unreliable docblocks and can have 2 solutions (#4719)
2023-08-08 13:25:26 +00:00
Tomas Votruba
f4aa905f07 Updated Rector to commit 92b6e3a6d1e9a4289b5347e52f1cf379a68d74b4
92b6e3a6d1 [TypeDeclaration] Use return bool for ParentClassMethodTypeOverrideGuard::hasParentClassMethod(), return ?MethodReflection for ParentClassMethodTypeOverrideGuard::getParentClassMethod() (#4703)
2023-08-07 13:20:45 +00:00
Tomas Votruba
ad2ad2a097 Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
77258018af Trigger Rectify (#4701)
2023-08-07 11:02:42 +00:00
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