Commit Graph

1126 Commits

Author SHA1 Message Date
Tomas Votruba b84808cfa7 Updated Rector to commit 7a65218f2442c2ad4e6d7ecbc55560408522fe08
7a65218f24 Remove auto import on changed files only to avoid too detailed setup and making ambiguous code (#3132)
2022-11-30 07:38:26 +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 25d0f35ef8 Updated Rector to commit 1bf154701ccf924896e9a318947d731ea865d273
1bf154701c Improve docs on auto import short classes (#2983)
2022-10-13 23:39:22 +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 429fb126bc Updated Rector to commit 76ee84cedfe4dedd612ee3c478d9ece4191a01cb
76ee84cedf CI-docs: Apply TitleCase Consistently, add to Root README, Test link lower as well (#2907)
2022-09-04 19:04:24 +00:00
Tomas Votruba 7030aef611 Updated Rector to commit 87d8ac84d83e29f2d1d7479cdde69272bdf8a9e9
87d8ac84d8 Explain how to persist Rector caches between CI runs (#2906)
2022-09-04 15:50:34 +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 1c52f96f29 cleanup 2022-08-30 02:18:14 +02: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 d29663ff64 Updated Rector to commit ad7cdc74eeb9379091e99bda90e95f1166c81147
ad7cdc74ee [docs] cleanup file processors, only internal logic, to keep PHP scope more narrow (#2850)
2022-08-29 18:23:56 +00:00
Tomas Votruba 3ad817dad5 Updated Rector to commit a6dfb049d7100c6bb5aa93735199f8434381d210
a6dfb049d7 [DX] Make generator only part of core (#2849)
2022-08-29 18:19:15 +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 100b519996 Updated Rector to commit 67b0d0be7189576af6b74ade6011bdad6a230cb0
67b0d0be71 Fixes Typo in how_to_add_test_for_rector_rule.md (#2788)
2022-08-19 06:45:19 +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 a6d8dc9700 Updated Rector to commit 34cdbb73b4ba988dc143cc70eec766efa81f3345
34cdbb73b4 [Doc] Add documentation for parallel troubleshooting (#2722)
2022-07-30 05:43: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
Tomas Votruba e67795209e Updated Rector to commit f74bdede72ab3a95dfa5f8670b369c2d4cd2e4db
f74bdede72 [CodingStyle] Deprecate PHPStormVarAnnotationRector, rather tokens responsibility (#2677)
2022-07-18 15:33:08 +00:00
Tomas Votruba 9d2c3a2853 Updated Rector to commit ae7648ed92396d39b4d364328312250b2c66f40e
ae7648ed92 [CodingStyle] Add StaticClosureRector (#2658)
2022-07-13 20:35:23 +00:00
Tomas Votruba 8b3c974a42 Updated Rector to commit fba410bf6ed6da0657cb8ec939a22ad3988fc4ad
fba410bf6e [StrictTypes] Add MethodCall/StaticCall to ExclusiveNativeCallLikeReturnMatcher (#2646)
2022-07-09 14:14:37 +00:00
Tomas Votruba 81662109e0 Updated Rector to commit 649e5119376355e4d009f5db569b3785d10aaa37
649e511937 [TypeDeclaration] Add TypedPropertyFromStrictSetUpRector (#2636)
2022-07-06 11:56:20 +00:00
Tomas Votruba b050f5de99 Updated Rector to commit a70d0e5518260479d055a0d5a90e28e43cad58f7
a70d0e5518 [Php54] Rename ArrayToShortArrayRector to LongArrayToShortArrayRector (#2628)
2022-07-03 23:03:40 +00:00
Tomas Votruba 68e1f45251 Updated Rector to commit 4d01db5c10372f2a0a7cf63ec51fa7e2913ee2a3
4d01db5c10 [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
2022-07-03 21:09:19 +00:00
Tomas Votruba b682e0bcdf Updated Rector to commit 646d1888a42854bfa2af3b7537b0e1efbeccaf0a
646d1888a4 [Transform] Remove CallableInMethodCallToVariableRector as very narrow use case and sensitive to wrong change (#2625)
2022-07-03 20:35:15 +00:00
Tomas Votruba 4153a8246a Updated Rector to commit 45c91eb8ba874853d5717d7267c85776b2502f9d
45c91eb8ba [DeadCode] Add RemoveJustVariableAssignRector (#2618)
2022-07-03 12:43:42 +00:00
Tomas Votruba 189f399cf2 Updated Rector to commit 0660b21ecec553393226003c16432a626e20f8ec
0660b21ece [Php54] Add ArrayToShortArrayRector (#2615)
2022-07-03 11:40:45 +00:00
Tomas Votruba 8c06162529 Updated Rector to commit f608461e44c6a4008a2bff6c603ba9d52d3ffacf
f608461e44 Remove RemoveOverriddenValuesRector as flow of control is not reliable and could cause invalid removal (#2614)
2022-07-03 08:06:08 +00:00
Tomas Votruba a4cb18fa00 Updated Rector to commit 153c037739a0154195b52d74217d5b025b3936ac
153c037739 [automated] Re-Generate Nodes/Rectors Documentation (#2611)
2022-07-03 00:35:39 +00:00
Tomas Votruba 9a39eb02a3
remove old docs file 2022-07-02 09:35:21 +02:00
Tomas Votruba 824b5c7f9b
remove old docs 2022-07-02 09:34:43 +02:00
Tomas Votruba 9b93bb7c42 Updated Rector to commit ed8e26eb3bb471b93c20b3b10c431f13a543cbaa
ed8e26eb3b rebuild docs
2022-07-01 07:44:56 +00:00
Tomas Votruba d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba 846aa2b4c2 Updated Rector to commit e97dd8f360
e97dd8f360 Use rector downgrade php (#2582)
2022-06-28 12:42:29 +00:00
Tomas Votruba 2e275ef1ff Updated Rector to commit 78d110af4c
78d110af4c [TypeDeclaration] Add ReturnTypeFromStrictNewArrayRector (#2572)
2022-06-26 11:48:44 +00:00
Tomas Votruba 68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +00:00
Tomas Votruba 65284cc98a Updated Rector to commit 237f255023
237f255023 [TypeDeclaration] Add ReturnTypeFromStrictNativeFuncCallRector (#2570)
2022-06-26 10:02:03 +00:00
Tomas Votruba dcc41f4563 Updated Rector to commit 7391b856dd
7391b856dd rebuild docs
2022-06-25 15:02:55 +00:00
Tomas Votruba c10f29b7bb Updated Rector to commit 42707709f7
42707709f7 [TypeDeclaration] Kick off ReturnTypeFromStrictReturnExprRector (#2563)
2022-06-25 14:38:11 +00:00
Tomas Votruba f638f7a12a Updated Rector to commit fe88fbb630
fe88fbb630 [PHP 8.1] Add FirstClassCallableRector (#2544)
2022-06-21 07:39:15 +00:00
Tomas Votruba 1ca568d18c Updated Rector to commit 332aad337e
332aad337e fix casing of enums
2022-06-13 09:09:58 +00:00
Tomas Votruba 7a181db4ce Updated Rector to commit 28ed5cf916
28ed5cf916 [automated] Re-Generate Nodes/Rectors Documentation (#2479)
2022-06-12 00:34:46 +00:00
Tomas Votruba 91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba cc91bd4f07 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 15:55:14 +00:00
Tomas Votruba 3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba 9537927564 Updated Rector to commit c5f35e4a1d
c5f35e4a1d [DeadCode] Add RemoveJustPropertyFetchForAssignRector (#2423)
2022-06-03 10:11:45 +00:00
Tomas Votruba dae285bc0d Updated Rector to commit e368dabaed
e368dabaed [Downgrade] Add class method param to DowngradeEnumToConstantListClassRector (#2417)
2022-06-02 13:14:04 +00:00
Tomas Votruba 9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba 2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba 1bc7ee9334 Updated Rector to commit e33bcf19be
e33bcf19be [Core] Override pModifiers() method to set final and abstract modifiers early on BetterStandardPrinter (#2328)
2022-05-18 10:48:11 +00:00
Tomas Votruba ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba bca89e29da Updated Rector to commit 33cd52e703
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba a48a02b46d Updated Rector to commit 9163864800
9163864800 Remove DowngradeGeneratedScalarTypesRector as way hacky to particular string solution, better use patching (#2289)
2022-05-11 16:29:59 +00:00
Tomas Votruba 5a70fb04b1 Updated Rector to commit 27476c0909
27476c0909 add few fixtures (#2279)
2022-05-10 16:31:36 +00:00
Tomas Votruba 9306ff041a Updated Rector to commit fa073d4408
fa073d4408 [CodeQuality] Add SimplifyIfExactValueReturnValueRector (#2278)
2022-05-10 16:14:43 +00:00
Tomas Votruba 0070cfd0cc Updated Rector to commit 4468743419
4468743419 [FEAT] refacto OrderAttributesRector (#2243)
2022-05-09 10:52:19 +00:00
Tomas Votruba 992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba 4b7ca796b9 Updated Rector to commit 039181ac6c
039181ac6c [DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199)
2022-05-01 05:55:37 +00:00
Tomas Votruba e6d9de7fba Updated Rector to commit 08bb10de6b
08bb10de6b [CodeQuality] Add InlineArrayReturnAssignRector (#2183)
2022-04-28 14:55:01 +00:00
Tomas Votruba 11667e7491 Updated Rector to commit 2f5a525e65
2f5a525e65 Revert adding RemoveNamespaceRector (#2133)
2022-04-23 10:11:50 +00:00
Tomas Votruba 5a655d625d Updated Rector to commit 11fdd74f8a
11fdd74f8a build docs (#2090)
2022-04-17 19:22:30 +00:00
Tomas Votruba 4b9139b523 Updated Rector to commit b8d0606305
b8d0606305 [Doc] Typo fix; autoimportNames -> importNames (#2086)
2022-04-17 06:12:37 +00:00
Tomas Votruba 5f10b8092d Updated Rector to commit 46d2c00038
46d2c00038 [automated] Re-Generate Nodes/Rectors Documentation (#2085)
2022-04-17 00:35:02 +00:00
Tomas Votruba 840e8ecb40 Updated Rector to commit 6cb95c1be3
6cb95c1be3 Update rector_rules_overview.md (#2082)
2022-04-16 16:37:14 +00:00
Tomas Votruba 1f0de4d2de Updated Rector to commit d30a86313f
d30a86313f [Feature] Add configurable InlineSimplePropertyAnnotationRector for inlining of simple annotations (#2070)
2022-04-14 08:14:01 +00:00
Tomas Votruba 446b0a8f86 Updated Rector to commit c509923516
c509923516 [Feature] Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @param (#2069)
2022-04-14 08:12:26 +00:00
Tomas Votruba 863e58bc5e Updated Rector to commit 363f4083d5
363f4083d5 [TypeDeclaration] Make TypedPropertyFromAssignsRector configurable with INLINE_PUBLIC (#2052)
2022-04-13 16:35:59 +00:00
Tomas Votruba 071d7cb788 Updated Rector to commit c35cc97d38
c35cc97d38 [DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs (#2065)
2022-04-12 14:41:09 +00:00
Tomas Votruba 0dc28df936 Updated Rector to commit 8d92c466fd
8d92c466fd [DX] Use RectorConfig in configs (#2063)
2022-04-12 11:52:08 +00:00
Tomas Votruba 66a823a2fb Updated Rector to commit 51e89c3f32
51e89c3f32 [docs] Improve first-time contributors docs (#2061)
2022-04-12 08:58:57 +00:00
Tomas Votruba 6c73983fe9 Updated Rector to commit a1ac1b6fdf
a1ac1b6fdf [Feature] Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @return (#2060)
2022-04-12 06:58:51 +00:00
Tomas Votruba cf05c72543 Updated Rector to commit d4c5ec6dfa
d4c5ec6dfa [Feature] Add VarAnnotationIncorrectNullableRector for fixing incorrect null type in @var (#2053)
2022-04-11 13:09:08 +00:00
Tomas Votruba 05005b8a89 Updated Rector to commit 0c69df8c24
0c69df8c24 rebuild docs
2022-04-10 20:12:42 +00:00
Tomas Votruba 931bfb66df Updated Rector to commit 0227d24e36
0227d24e36 Merge InArrayAndArrayKeysToArrayKeyExistsRector to ArrayKeysAndInArrayToArrayKeyExistsRector with almost identical behavior (#2047)
2022-04-10 19:50:50 +00:00
Tomas Votruba d76ed237fa Updated Rector to commit a2ee46d16e
a2ee46d16e Refactor SymplifyUselessVariableRector to avoid using PREVIOUS_NODE, use current scope instead (#2045)
2022-04-10 18:18:46 +00:00
Tomas Votruba 33ba60faee Updated Rector to commit 9b46906e39
9b46906e39 [Strict] Add support string|null|false on BooleanInBooleanNotRuleFixerRector (#2035)
2022-04-10 06:08:51 +00:00
Tomas Votruba c4650c159a Updated Rector to commit 76667332cf
76667332cf [automated] Re-Generate Nodes/Rectors Documentation (#2041)
2022-04-10 00:31:45 +00:00
Tomas Votruba 1c3a355583 Updated Rector to commit be530c5e2f
be530c5e2f [Removing] Add RemoveNamespaceRector (#2013)
2022-04-06 12:39:03 +00:00
Tomas Votruba d7c212ece1 Updated Rector to commit 9f9b29c741
9f9b29c741 [DowngradePhp54] Add DowngradeThisInClosureRector (#1995)
2022-04-02 15:46:27 +00:00
Tomas Votruba 22e128cb20 Updated Rector to commit aedfc65a48
aedfc65a48 [DeadCode] Remove RemoveUnusedAssignVariableRector in favor of RemoveUnusedVariableAssignRector (#1988)
2022-04-01 07:19:38 +00:00
Tomas Votruba 2d8fcc1394 Updated Rector to commit a20320d8ca
a20320d8ca [Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972)
2022-03-28 09:17:08 +00:00
Tomas Votruba a641d86cfa Updated Rector to commit 90bbd4e1a0
90bbd4e1a0 [Php74] Add GetCalledClassToSelfClassRector (#1971)
2022-03-27 18:45:00 +00:00
Tomas Votruba bb3ebe7fed Updated Rector to commit 900eca0ce5
900eca0ce5 [Doc] Fix composer docs generation ConfiguredCodeSample in RemoveUnusedPrivatePropertyRector (#1963)
2022-03-26 19:22:15 +00:00
Tomas Votruba 0fe0835184 Updated Rector to commit 7202782f50
7202782f50 [CodeQuality] Add InlineConstructorDefaultToPropertyRector (#1935)
2022-03-15 17:33:16 +00:00
Tomas Votruba 7572ce6925 Updated Rector to commit a2422d7937
a2422d7937 [Transform] Remove AddInterfaceByParentRector as never used (#1934)
2022-03-15 16:04:34 +00:00
Tomas Votruba 8f8963b6ba Updated Rector to commit 81c2492118
81c2492118 [automated] Re-Generate Nodes/Rectors Documentation (#1925)
2022-03-13 00:30:25 +00:00
Tomas Votruba 41d47ce22b Updated Rector to commit 3948d8b1d4
3948d8b1d4 [Arguments] Add RemoveMethodCallParamRector (#1906)
2022-03-05 11:39:32 +00:00
Tomas Votruba fe55b1f78a Updated Rector to commit 4296dd5559
c60362fd41 typo 4296dd5559 update docs
2022-03-04 11:12:01 +00:00
Tomas Votruba d7bd6b98d4 Updated Rector to commit e2cc867255
e2cc867255 [PhpSpecToPHPUnit] Deprecate historical set, mostly for experimental in early days (#1901)
2022-03-03 19:57:16 +00:00
Tomas Votruba be1a72534c Updated Rector to commit 320cdcd8de
320cdcd8de [MockeryToProphecy] Deprecate micro set as not practical (#1899)
2022-03-03 16:37:48 +00:00
Tomas Votruba ca31c3958d Updated Rector to commit eec25fff0d
eec25fff0d [automated] Re-Generate Nodes/Rectors Documentation (#1876)
2022-02-27 00:40:38 +00:00
Tomas Votruba b77988232c Updated Rector to commit c44bfcc00e
c44bfcc00e [automated] Re-Generate Nodes/Rectors Documentation (#1838)
2022-02-20 00:35:49 +00:00
Tomas Votruba 4fc4ec3c13 Updated Rector to commit 0fa82f0755
0fa82f0755 bump docs
2022-02-18 10:45:47 +00:00
Tomas Votruba 22a76df7b3 Updated Rector to commit 8027c7fd8c
8027c7fd8c [DX] Remove MoveInterfacesToContractNamespaceDirectoryRector as breaky, use PHPStan rule instead (#1835)
2022-02-18 10:00:13 +00:00
Tomas Votruba 2493da671a Updated Rector to commit a4eff1e0ad
a4eff1e0ad [DX] Remove MoveServicesBySuffixToDirectoryRector, better handle by PHPStan + PHPStorm refacor (#1834)
2022-02-18 09:30:35 +00:00
Tomas Votruba fafdb75d53 Updated Rector to commit 3fe7723e55
3fe7723e55 docs
2022-02-18 01:47:01 +00:00
Tomas Votruba 7964c1b773 Updated Rector to commit 1ed8242e44
1ed8242e44 [DX] Remove MoveValueObjectsToValueObjectDirectoryRector, should be handled by PHPStorm refactoring and PHPStan rule checks (#1832)
2022-02-18 01:07:03 +00:00
Tomas Votruba 9b0ea31152 Updated Rector to commit cab8299093
cab8299093 [DX] Remove SingleToManyMethodRector, rather one time job useful for PHPStorm (#1831)
2022-02-18 00:56:23 +00:00
Tomas Votruba ede8f558b7 Updated Rector to commit f022c20446
f022c20446 [DX] Remove GenericClassMethodParamRector, rather PHPStorm one-time refactoring job (#1830)
2022-02-18 00:42:23 +00:00
Tomas Votruba d0d361080e Updated Rector to commit 92d04a5547
92d04a5547 Deprecate RemovingStatic rules as very narrow use case in generic rules (#1819)
2022-02-15 22:46:36 +00:00
Tomas Votruba faf3d546ae Updated Rector to commit d670c93519
d670c93519 [DX] Deprecate disabling of import options to keep configuration simpler (#1817)
2022-02-15 21:06:14 +00:00
Tomas Votruba 617d8d5718 Updated Rector to commit 0db5ce6f6d
0db5ce6f6d [automated] Re-Generate Nodes/Rectors Documentation (#1809)
2022-02-13 00:29:38 +00:00
Tomas Votruba 6b7bb4ae18 Updated Rector to commit aa4f45484a
aa4f45484a [automated] Re-Generate Nodes/Rectors Documentation (#1772)
2022-02-06 08:25:55 +00:00
Tomas Votruba 6695b021a0 Updated Rector to commit 29c634ff65
29c634ff65 [Php74] Add inlinePublic configurable for TypedPropertyRector (#1745)
2022-02-02 21:14:38 +00:00
Tomas Votruba c88e1fc601 Updated Rector to commit e44222bd5c
e44222bd5c [automated] Re-Generate Nodes/Rectors Documentation (#1743)
2022-01-30 00:27:52 +00:00
Tomas Votruba 890cd8f422 Updated Rector to commit 15e28c6de8
15e28c6de8 [RemoveFinalFromConstRector] (#1732)
2022-01-26 18:39:23 +00:00
Tomas Votruba 20964885f0 Updated Rector to commit 64d76cd11e
64d76cd11e [FinalizePublicClassConstantRector] Ignore final classes (#1730)
2022-01-26 10:10:51 +00:00
Tomas Votruba 42a0272cc5 Updated Rector to commit e5ed2372b9
e5ed2372b9 possible solution for global execution (#1692)
2022-01-18 16:24:12 +00:00
Tomas Votruba 436942b929 Updated Rector to commit a66d1fbb9f
a66d1fbb9f Fix wrong typos rebase (#1686)
2022-01-16 09:58:52 +00:00
Tomas Votruba 77fe375a0b Updated Rector to commit 6b965fe744
6b965fe744 Revert load vendor/autoload from getcwd and add documentation for using globally (not recommended) (#1685)
2022-01-16 02:24:23 +00:00
Tomas Votruba ad4d6a6ed5 Updated Rector to commit 4ac5dd6420
4ac5dd6420 [automated] Re-Generate Nodes/Rectors Documentation (#1682)
2022-01-16 01:52:41 +00:00
Tomas Votruba 8fd8d0affb Updated Rector to commit 90cb1ad36f
90cb1ad36f Typos (#1684)
2022-01-16 01:44:56 +00:00
Tomas Votruba 3df670f627 Updated Rector to commit 4ab2ab5850
ea2ea17385 [automated] Re-Generate Nodes/Rectors Documentation 4ab2ab5850 Merge pull request #1650 from rectorphp/automated-regenerated-nodes-rectors-documentation
2022-01-09 10:54:09 +00:00
Tomas Votruba ffcf6171ac Updated Rector to commit 9c6a6b0422
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba 12ae680f84 Updated Rector to commit 1ac835fca7
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba 9ca383a82e Updated Rector to commit 0cc56b0a0b
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba 0b00c0b487 Updated Rector to commit 3417ff434b
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +00:00
Tomas Votruba b54d1ce71e Updated Rector to commit 790889c4c7
790889c4c7 [TypedPropertyRector] Remove private property only, to keep other rules work separately (#1496)
2021-12-14 17:04:36 +00:00
Tomas Votruba 79317e0a0f Updated Rector to commit f6c3e95d7b
f6c3e95d7b [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
2021-12-14 15:31:59 +00:00
Tomas Votruba 01c66cf875 Updated Rector to commit d9b36c6241
d9b36c6241 [Doc] Update documentation for Class was not found on autoload (#1472)
2021-12-12 16:22:35 +00:00
Tomas Votruba e14a9194ef Updated Rector to commit e4f3f5c831
e4f3f5c831 [automated] Re-Generate Nodes/Rectors Documentation (#1469)
2021-12-12 00:35:48 +00:00
Tomas Votruba 891d788ac2 Updated Rector to commit f36390d8df
f36390d8df Correct link in docs (#1465)
2021-12-11 14:32:07 +00:00
Tomas Votruba 408e36b706 Updated Rector to commit b4fabbdeba
b4fabbdeba [Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead (#1449)
2021-12-10 14:05:16 +00:00
Tomas Votruba a774c0815a Updated Rector to commit 9f8b48003f
9f8b48003f [Php55] Use AllowEmptyConfigurableRectorInterface on StringClassNameToClassConstantRector (#1445)
2021-12-10 07:56:16 +00:00
Tomas Votruba 3c3c64edbd Updated Rector to commit 9d8e5c9011
9d8e5c9011 [CodingStyle] Remove UseMessageVariableForSprintfInSymfonyStyleRector as local custom rule (#1419)
2021-12-07 22:31:51 +00:00
Tomas Votruba 0c19dc8049 Updated Rector to commit 327144efdf
327144efdf [DowngradePhp80] Add return property downgrade case (#1415)
2021-12-07 19:04:47 +00:00
Tomas Votruba f3d9b9c31c Updated Rector to commit 5493b6dc13
5493b6dc13 [DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410)
2021-12-06 21:12:03 +00:00
Tomas Votruba 8eada0bd4b Updated Rector to commit 079b20c894
079b20c894 [PHP 7.4] Skip dependency on native ReflectionProperty->getType() (#1409)
2021-12-06 19:42:49 +00:00
Tomas Votruba f63516d9b4 Updated Rector to commit 27a78d96ed
27a78d96ed [Cleanup] merge duplicated SplitStringClassConstantToClassConstFetchRector to UseClassKeywordForClassNameResolutionRector (#1401)
2021-12-06 07:48:16 +00:00
Tomas Votruba ea32bebe15 Updated Rector to commit 29562a6545
29562a6545 [CodingStyle] Remove custom code rule ManualJsonStringToJsonEncodeArrayRector, not much generic (#1398)
2021-12-05 21:47:27 +00:00
Tomas Votruba 560c118ef7 Updated Rector to commit 2d24210c3f
2d24210c3f [automated] Re-Generate Nodes/Rectors Documentation (#1394)
2021-12-05 00:35:40 +00:00
Tomas Votruba ccce5491a7 Updated Rector to commit 58c8a93698
58c8a93698 [DX] Make use of configure() method (#1344)
2021-11-30 13:55:08 +00:00
Tomas Votruba 22732248fc Updated Rector to commit a30b2ef8d1
a30b2ef8d1 [Renaming] Add generic rename annotation to RenameAnnotationRector (#1341)
2021-11-29 10:27:24 +00:00
Tomas Votruba 97eb75a93d Updated Rector to commit 21c4a84cd6
21c4a84cd6 [DX] Add strict PHPStan rules - step #5 (#1334)
2021-11-28 19:07:44 +00:00
Tomas Votruba 8573f613c5 Updated Rector to commit fa9b4ef615
fa9b4ef615 [Transform] Remove unused ClassConstFetchToValueRector (#1332)
2021-11-28 17:29:16 +00:00
Tomas Votruba 40882e2c8b Updated Rector to commit a8a2577c40
a8a2577c40 [automated] Re-Generate Nodes/Rectors Documentation (#1325)
2021-11-28 00:36:13 +00:00
Tomas Votruba 4c91ed1b0a Updated Rector to commit 99a337285a
99a337285a [TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317)
2021-11-26 20:07:54 +00:00
Tomas Votruba 2f9d13bd92 Updated Rector to commit aa72166505
aa72166505 [DeadCode] Remove RemoveAssignOfVoidReturnFunctionRector as unreliable, let PHPStan report and use handle various cases (#1313)
2021-11-25 19:16:58 +00:00
Tomas Votruba cf2bb9a656 Updated Rector to commit dc07c1f9a8
dc07c1f9a8 [CodingStyle] Remove PreslashSimpleFunctionRector, let php-cs-fixer doing good work handle that (#1310)
2021-11-25 18:41:12 +00:00
Tomas Votruba cdff1edc5d Updated Rector to commit dd7bc52135
dd7bc52135 Move ChangeGlobalVariablesToPropertiesRector from ClassMethod to Class_ node, to keep the minimal changed scope in active nodes (#1307)
2021-11-25 13:07:04 +00:00
Tomas Votruba 4dc2c773aa Updated Rector to commit 14f67de7e9
14f67de7e9 [League] Remove only League upgrade set from core, give space for community package with whole vendor (#1305)
2021-11-25 12:53:25 +00:00
Tomas Votruba 786528284b Updated Rector to commit f8e8efa728
f8e8efa728 Update how_it_works.md (#1293)
2021-11-24 00:11:27 +00:00
Tomas Votruba cae65c2537 Updated Rector to commit 63ed131c3f
63ed131c3f [automated] Re-Generate Nodes/Rectors Documentation (#1284)
2021-11-21 00:34:01 +00:00
Tomas Votruba a16c61358a Updated Rector to commit 9c52c95848
9c52c95848 [automated] Re-Generate Nodes/Rectors Documentation (#1228)
2021-11-14 00:36:15 +00:00
Tomas Votruba 46f79a7750 Updated Rector to commit 85c3848e8b
85c3848e8b [DowngradePhp80/81] Refactor Downgrade Resource Return to Object to use BooleanOr check (#1193)
2021-11-08 20:33:54 +00:00
Tomas Votruba 59fbea4817 Updated Rector to commit 4815cd9643
4815cd9643 [DowngradePhp81/80] Skip combine check with is_resource and instanceof Object (#1192)
2021-11-08 19:40:36 +00:00
Tomas Votruba 7f56f8ae35 Updated Rector to commit 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba a42ac7439f Updated Rector to commit c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba 4286dd4a43 Updated Rector to commit b218e334ca
b218e334ca [DowngradePhp74] Add DowngradePreviouslyImplementedInterfaceRector (#1159)
2021-11-05 22:37:42 +00:00
Tomas Votruba c76f97bfb2 Updated Rector to commit 49aa15dbfb
49aa15dbfb [CodingStyle] Deprecate RemoveUnusedAliasRector, job rather for coding standard tool and opinonated (#1157)
2021-11-05 14:38:48 +00:00
Tomas Votruba 3203dd5529 Updated Rector to commit 4c507636dc
4c507636dc Skip too wide union types on AddMethodCallBasedStrictParamTypeRector (#1097)
2021-10-28 22:22:07 +00:00
Tomas Votruba f4b82f4b45 Updated Rector to commit 7f73cf0172
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00
Tomas Votruba 427b9ce357 Updated Rector to commit 8bb31f2556
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba f19d6bb9aa Updated Rector to commit ef253094f0
ef253094f0 bump docs
2021-10-14 15:36:34 +00:00
Tomas Votruba 9056c6c3a5 Updated Rector to commit 3c0cb22a58
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +00:00
Tomas Votruba 61389a9b2c Updated Rector to commit f6f7431ce7
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +00:00
Tomas Votruba 8203945744 Updated Rector to commit ed80bec474
ed80bec474 [Strict] Add parameter to require non-empty values opt-in (#956)
2021-10-05 15:59:39 +00:00
Tomas Votruba 0bb5807237 Updated Rector to commit d4cb2395dc
d4cb2395dc fix BooleanInBooleanNotRuleFixerRector docs
2021-10-05 11:12:46 +00:00
Tomas Votruba 0b0fa02f46 Updated Rector to commit c4de350289
c4de350289 [Strict] Add rules to resolve PHPStan Strict rule set (#955)
2021-10-05 08:51:30 +00:00
Tomas Votruba 028a05a8ab Updated Rector to commit 7607da6751
7607da6751 bump docs
2021-10-02 14:09:09 +00:00
Tomas Votruba e8aece2bf2 Updated Rector to commit 466c9e1b1a
466c9e1b1a docs: add downgrade set list to docs (#924)
2021-09-26 09:24:43 +00:00
Tomas Votruba 4e6d051524 Updated Rector to commit f2132237d6
f2132237d6 [automated] Apply Coding Standard (#922)
2021-09-26 00:28:25 +00:00
Tomas Votruba eeaf265fd8 Updated Rector to commit a8a79d0b98
a8a79d0b98 [Arguments] Use native types over weak string to define types (#903)
2021-09-19 11:08:13 +00:00
Tomas Votruba 9bcdf99a5a Updated Rector to commit ab182ff80b
ab182ff80b [PHP 8.0] Remove NullsafeOperatorRector, as often breaking and promoting non-early returns and losen types (#900)
2021-09-19 10:24:30 +00:00
Tomas Votruba 6672a6759e Updated Rector to commit b5516368d4
b5516368d4 [Php74] Add privatePropertyOnly config to TypedPropertyRector (#898)
2021-09-19 10:18:03 +00:00
Tomas Votruba 4728cc7a69 Updated Rector to commit 0315a82d57
0315a82d57 Add new option for auto importing names (#764)
2021-09-16 21:56:43 +00:00
Tomas Votruba 96d71cf14e Updated Rector to commit be1cdc059d
be1cdc059d Documenting a solution for missing classes (#889)
2021-09-15 18:23:02 +00:00
Tomas Votruba 46d03714d0 Updated Rector to commit 95bf5aa61f
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +00:00
Tomas Votruba b2f416d234 Updated Rector to commit 0c36bf8769
0c36bf8769 [Doc] Autoload Troubleshooting (#860)
2021-09-10 09:39:55 +00:00
Tomas Votruba dfbd1733c6 Updated Rector to commit a10212419c
a10212419c [automated] Re-Generate preload.php (#831)
2021-09-05 00:37:33 +00:00
Tomas Votruba e2b36a29b3 Updated Rector to commit 5b3b527a51
5b3b527a51 [automated] Apply Coding Standard (#833)
2021-09-05 00:28:26 +00:00
Tomas Votruba 8303b46898 Updated Rector to commit 0779c402c3
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation (#832)
2021-09-05 00:27:40 +00:00
Tomas Votruba 9ba6923f97 Updated Rector to commit 541e40b48f
541e40b48f [IDE-refactoring cleanup] Remove rather custom PassFactoryToEntityRector and NewUniqueObjectToEntityFactoryRector rules, better use PHPStorm there (#783)
2021-08-27 14:31:16 +00:00
Tomas Votruba 536a2b5d5d Updated Rector to commit fff52c329a
fff52c329a [RuleDefinition] Fix Sample Code docs generation (#768)
2021-08-26 04:53:55 +00:00
Tomas Votruba 6e9b486a68
Remove leftover config for Docer 2021-08-20 16:51:02 +02:00
Tomas Votruba dc5c5507e9 Updated Rector to commit e9d1172717
e9d1172717 [automated] Re-Generate Nodes/Rectors Documentation (#683)
2021-08-15 00:30:09 +00:00
Tomas Votruba 4c5b41a7fe Updated Rector to commit 5f4653c9f6
5f4653c9f6 Move DowngradeSelfTypeDeclarationRector to downgrade-php70 (#623)
2021-08-08 20:04:42 +00:00
Tomas Votruba e9e85a1300 Updated Rector to commit a8b01f217b
a8b01f217b [automated] Re-Generate Nodes/Rectors Documentation (#619)
2021-08-08 00:26:40 +00:00