Commit Graph

544 Commits

Author SHA1 Message Date
Tomas Votruba 6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba 37587523fc Updated Rector to commit 0270c68855c20ef0a8526d043c4c95a7de1e6156
0270c68855 Regenerate composer docs with new php-config-printer (#3341)
2023-02-06 14:31:06 +00:00
Tomas Votruba 6551c3feef Updated Rector to commit 4c76526033e105cbd3de89368b00c0de7ae535aa
4c76526033 Remove sebastian/diff 5.0 as 4.0.4 requirement (#3339)
2023-02-06 09:25:47 +00:00
Tomas Votruba c280a335b8 Updated Rector to commit e7ac52e9739ee461999d2a1d537f940e377667dd
e7ac52e973 Remove check-markdown command from composer fix-cs and composer docs (#3331)
2023-02-02 12:39:35 +00:00
Tomas Votruba e25df78489 Updated Rector to commit bbc100ce821ca98123ac0996673dbf48fc2b71e8
bbc100ce82 [TypeDeclaration] Add ReturnTypeFromStrictTernaryRector (#3318)
2023-01-29 12:39:10 +00:00
Tomas Votruba 297478ae00 Updated Rector to commit 9e321a11ac21440a33abef87add34945a1490b8f
9e321a11ac [TypeDeclaration] Add PropertyTypeFromStrictSetterGetterRector (#3313)
2023-01-28 16:20:41 +00:00
Tomas Votruba 61ec077d92 Updated Rector to commit d2a553c87255d379f20d9d447701c87abeb0b3e4
d2a553c872 [automated] Re-Generate Nodes/Rectors Documentation (#3299)
2023-01-22 00:34:51 +00:00
Tomas Votruba 3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00
Tomas Votruba 96c131c440 Updated Rector to commit c406c850e227b673b256fef4c9d1a368982f2a2e
c406c850e2 docs
2023-01-10 11:16:07 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba b6297a1113 Updated Rector to commit 384e84a982b8535dc06e49c0ed90b1979029e0e8
384e84a982 refactors Spatie enum method calls to native enums (#3226)
2022-12-28 12:01:35 +00:00
Tomas Votruba 96d8a22628 Updated Rector to commit 70fea54e77ffd186e41540d2b36c5362b073fbc4
70fea54e77 [DeadCode] Add TargetRemoveClassMethodRector (#3240)
2022-12-22 17:06:53 +00:00
Tomas Votruba f4f085ed27 Updated Rector to commit f13207737e25fef30190c1746a314b7e1dec6eb2
f13207737e [CodingStyle] Add NullifyUnionNullableRector (#3231)
2022-12-21 11:07:20 +00:00
Tomas Votruba 6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +00:00
Tomas Votruba 13fa9d478f Updated Rector to commit 394fa70c963bb059acd6aae4b998173bdfc6c80c
394fa70c96 [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
2022-12-20 20:40:25 +00:00
Tomas Votruba 33551cbeec Updated Rector to commit 21c9e59aaaae15e1baac98b80b6d3e3be5c5d88d
21c9e59aaa Adapt PrivateConstantToSelfRector to work on non-final classes, too (#3198)
2022-12-17 08:33:16 +00:00
Tomas Votruba 7924f6944c Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
de008767d9 Replace static with self for private constants (#3178)
2022-12-12 12:29:16 +00:00
Tomas Votruba 228e63ca2e Updated Rector to commit 001fb3fe9252b8f03705caf5bd288a513834a8a8
001fb3fe92 [CodingStyle] Split SplitGroupedConstantsAndPropertiesRector to SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector (#3158)
2022-12-05 15:46:09 +00:00
Tomas Votruba 782f920c5f Updated Rector to commit 3f2a16a0166d301162482c91d2ead5e9125c0d14
3f2a16a016 [Php80] Make configurable INLINE_PUBLIC on ClassPropertyAssignToConstructorPromotionRector (#3126)
2022-11-29 15:48:49 +00:00
Tomas Votruba d192e83312 Updated Rector to commit 325387738852fd1be30b8918910b049967a368e2
3253877388 [TypeDeclaration] Remove and disable breaking ReturnTypeDeclarationRector, use split rules instead (#3120)
2022-11-28 12:49:02 +00:00
Tomas Votruba d27ad935cb Updated Rector to commit 83b13f530c9612a65ff921c994e7fa0cd29a21bf
83b13f530c Remove deprecated ParamTypeDeclarationRector, that treated docs as strict types to keep type declaration set reliable (#3111)
2022-11-27 23:28:48 +00:00
Tomas Votruba 997c77c140 Updated Rector to commit 0d8c29645d2beaf5e0c1b96215628e5bae16c7f5
0d8c29645d [TypeDeclaration] Decouple AddParamTypeFromPropertyTypeRector (#3109)
2022-11-27 23:03:34 +00:00
Tomas Votruba f0d81253f6 Updated Rector to commit 10c76b3d85cc21a8834cd8952ff47a6bbcbf5915
10c76b3d85 [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
2022-11-27 21:07:35 +00:00
Tomas Votruba b492db7306 Updated Rector to commit 48febdb978201ffdd2d62ccb970ede09c3160134
48febdb978 [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
2022-11-27 17:56:33 +00:00
Tomas Votruba 05578e7653 Updated Rector to commit f37a6eb0de44306065b24137a7922190622f5ccc
f37a6eb0de Add ClassOnThisVariableObjectRector to rules docs (#3096)
2022-11-26 10:04:16 +00:00
Tomas Votruba 4c8be8a104 Updated Rector to commit 07941b8f3dd7151db77df19243aed5c03a64cf63
07941b8f3d [SimplifyEmptyCheckOnEmptyArrayRector] Add new rule #7485 (#3069)
2022-11-16 15:33:33 +00:00
Tomas Votruba cf32f86c20 Updated Rector to commit 419c4f8e5268854e234b14e62dfc2d90d904951b
419c4f8e52 [automated] Re-Generate Nodes/Rectors Documentation (#3059)
2022-11-13 00:36:04 +00:00
Tomas Votruba 1724f088d6 Updated Rector to commit 6902b17851f2b7172c0351e72cd1d4263684818f
6902b17851 InlineConstructorDefaultToPropertyRector fix code example (#7465) (#3028)
2022-11-02 00:04:20 +00:00
Tomas Votruba 6afda57164 Updated Rector to commit 9e4a9c0c25fbbd630cac07c9dab074f8dc9c54b8
9e4a9c0c25 [CodeQuality] Add TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3027)
2022-11-01 19:57:56 +00:00
Tomas Votruba ee8ab57a67 Updated Rector to commit f4f758c7431f66bc97a019eb53055d05c15705c6
f4f758c743 Fix missing extra import on NestedAnnotationToAttributeRector (#2989)
2022-10-15 22:31:48 +00:00
Tomas Votruba de1025734c Updated Rector to commit 4f8a0ad5194898f6947276b308c53e391cf524ac
4f8a0ad519 Add new rule to simplify a last useless variable assignment. (#2963)
2022-10-15 15:39:52 +00:00
Tomas Votruba 0c28bef447 Updated Rector to commit 643c444d936e692a8a0224b7e7c81a74be40d398
643c444d93 [automated] Re-Generate Nodes/Rectors Documentation (#2956)
2022-09-25 00:37:30 +00:00
Tomas Votruba 19672d6690 Updated Rector to commit 5f05178587b69ffcd530f1096bd5ed64ca8398d8
5f05178587 [automated] Re-Generate Nodes/Rectors Documentation (#2934)
2022-09-18 00:40:19 +00:00
Tomas Votruba 62e856362b Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
a39844ee53 [misc] Add Expr type to value resolver, remove RemoveFuncCallRector as niche feature, cleanup ClassManipulator from unused methods (#2900)
2022-09-03 08:03:15 +00:00
Tomas Votruba c152c5642c Updated Rector to commit 6db4c0e0ae74867ec12b2a4fa7cf934a4a60a742
6db4c0e0ae [Php74] Add ParenthesizeNestedTernaryRector (#2859)
2022-08-31 07:08:44 +00:00
Tomas Votruba 785f5e3b06 Updated Rector to commit 74f6b181e82f191c1e471d446a029a06dff16619
74f6b181e8 [DX] Remove upgrade RectorConfig set, as last 2 version use only PHP (#2852)
2022-08-29 21:45:23 +00:00
Tomas Votruba 28e29c8294 Updated Rector to commit 58a577c5b3d34cc70ba6ea713e7a6c7bbe66354e
58a577c5b3 [automated] Re-Generate Nodes/Rectors Documentation (#2845)
2022-08-28 00:39:05 +00:00
Tomas Votruba acdbc7be1b Updated Rector to commit 041f41fd4e1d58ffb45d10e2348e62014ce9c0da
041f41fd4e [docs] Remove post Rectors from generated docs (#2833)
2022-08-24 10:32:35 +00:00
Tomas Votruba 87509424bf Updated Rector to commit debe56260b932715c63eacc73c5495c276784a1c
debe56260b simplify rule docs config
2022-08-24 08:53:31 +00:00
Tomas Votruba 0e5ee3dc93 Updated Rector to commit 6c8c40bb746ce70ab8faa7e80ae088edaba771e7
6c8c40bb74 [DeadCode] Merge RemoveDeadConstructorRector, to RemoveEmptyClassMethodRector with same behavior (#2829)
2022-08-24 08:43:17 +00:00
Tomas Votruba ac412ec638 Updated Rector to commit 9018492c75866aacc5a71329f921312d31772987
9018492c75 [CodeQuality] Remove SimplifyIfIssetToNullCoalescingRector, as overly complex and should be handled by manual context (#2828)
2022-08-24 08:28:31 +00:00
Tomas Votruba 1db8339e7c Updated Rector to commit 6306f9e8ecd8e367e7220b02a6613461a34dcc8a
6306f9e8ec [EarlyReturn] Skip ChangeAndIfToEarlyReturnRector in case of simple scalar return (#2826)
2022-08-24 08:11:57 +00:00
Tomas Votruba a6caca2961 Updated Rector to commit 6df313efe5709797e53fe50275da97341ed79295
6df313efe5 [automated] Re-Generate Nodes/Rectors Documentation (#2812)
2022-08-21 00:33:55 +00:00
Tomas Votruba 0e37f464e0 Updated Rector to commit 526091f416e0d9307b5fe1a5977397dc8dfce244
526091f416 [Php71] Code Sample fix on CountOnNullRector (#2761)
2022-08-13 15:42:56 +00:00
Tomas Votruba a67329d33a Updated Rector to commit 3c88742dd13d49ba51c84817d746a9e2b59500e9
3c88742dd1 [CodeQuality][Up_TO_PHP_81] Handle crash indentation on combination LevelSetList::UP_TO_PHP_81 with SetList::CODE_QUALITY (#2760)
2022-08-13 13:45:27 +00:00
Tomas Votruba f6f9dadfe8 Updated Rector to commit 2667f35cc72a6f7da454635a24bdc3ede61082ae
2667f35cc7 Improve ReturnTypeWillChangeRector to handle any method of defined type; move PhpDocFromTypeDeclarationDecorator to Downgrade rules (#2754)
2022-08-11 15:03:59 +00:00
Tomas Votruba ba5b70ed30 Updated Rector to commit ff1ba898a37496e467c64dc6428d0de8f097ef58
ff1ba898a3 [automated] Re-Generate Nodes/Rectors Documentation (#2724)
2022-07-31 00:37:06 +00:00
Tomas Votruba 317c26e88c Updated Rector to commit bd4a7327a566b028c47dfeaa4a88fd153a20bde9
bd4a7327a5 doc: fix visibility should not change (#2711)
2022-07-25 20:31:54 +00:00
Tomas Votruba 8e5d4128e7 Updated Rector to commit b047c81634f8325b94d6e5b39fae6a599f65bca8
b047c81634 [automated] Re-Generate Nodes/Rectors Documentation (#2706)
2022-07-24 00:40:22 +00:00