Commit Graph

1126 Commits

Author SHA1 Message Date
Tomas Votruba 270692ae54 Updated Rector to commit 0a7be603fcc467ac3956081bf83db9c0d5350eee
0a7be603fc Remove MakeTypedPropertyNullableIfCheckedRector as old fix of TypedPropertyRector rule, removed months ago (#3851)
2023-05-14 16:14:48 +00:00
Tomas Votruba e02a2a45af Updated Rector to commit 33e59eeadf3da67db8dcdebfc8bef3701a17592a
33e59eeadf Remove UpdateFileNameByClassNameFileSystemRector niche rule that was added just for example sake (#3849)
2023-05-14 16:07:53 +00:00
Tomas Votruba 83531b9b9d Updated Rector to commit 4ac2cf87c569ec8ebea4d631d684439c16dd296d
4ac2cf87c5 [Restoration] Remove RemoveFinalFromEntityRector as used only to revert very old Rector bug (#3847)
2023-05-14 15:50:50 +00:00
Tomas Votruba 33a05b3e73 Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
07a7876d8a [CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838)
2023-05-14 13:22:44 +00:00
Tomas Votruba aceca9ea6e Updated Rector to commit 6322d7c7c5bf262524b254cb329644cd051f94b2
6322d7c7c5 [automated] Re-Generate Nodes/Rectors Documentation (#3832)
2023-05-14 00:32:54 +00:00
Tomas Votruba e241ac1961 Updated Rector to commit 4db20ca6d5c2106a71d6c7113889f263aa379904
4db20ca6d5 [Console] Allow https url instead of git:// on SetupCICommand (#3799)
2023-05-11 15:16:47 +00:00
Tomas Votruba 8afa5f961e Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
074b1781b3 Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793)
2023-05-11 07:56:32 +00:00
Tomas Votruba 2cb797e1b1 Updated Rector to commit 11b278ca27f23ba4a2c55df877664fc23413a81d
11b278ca27 [CodeQuality] Remove SimplifyUselessLastVariableAssignRector as overly complex and should be handled individually (#3784)
2023-05-10 07:10:45 +00:00
Tomas Votruba 2cad3fa15d Updated Rector to commit 76da9489fe16c5854d5fed29b81197940025e975
76da9489fe Make ConsecutiveNullCompareReturnsToNullCoalesceQueueRector use of StmtsAwareInterface (#3783)
2023-05-10 06:07:59 +00:00
Tomas Votruba 6105d98780 Updated Rector to commit cb30fd90e2fafe2b0bc7f6bd3f3ec2e6c09a4b09
cb30fd90e2 [Transform] Remove MethodCallToAnotherMethodCallWithArgumentsRector as unused (#3777)
2023-05-08 21:19:03 +00:00
Tomas Votruba dffd0b0f29 Updated Rector to commit 26550ca939279bf296f72b2457545c1a0ade3f8e
26550ca939 [Transform] Remove DimFetchAssignToMethodCallRector as unused (#3775)
2023-05-08 20:52:46 +00:00
Tomas Votruba fc5810aace Updated Rector to commit 18770166ed5ac0c0c02a4de87d789182bbb36a76
18770166ed [Transform] Remove ArgumentFuncCallToMethodCallRector as never used (#3774)
2023-05-08 20:37:13 +00:00
Tomas Votruba 39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba 4bf474e653 Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
be53013ca3 [CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764)
2023-05-07 19:35:01 +00:00
Tomas Votruba e7d9598446 Updated Rector to commit 3c592b05dc0aa78702a4b38d39711d78c404e279
3c592b05dc [CodeQuality] Remove ForToForeachRector, as overly deatiled and not reliable (#3747)
2023-05-06 21:47:33 +00:00
Tomas Votruba 67b4d9bb93 Updated Rector to commit 575e799aa59bc375fae671f469cb5b1574a96381
575e799aa5 Add SwapMethodCallArgumentsRector (#3726)
2023-05-06 18:21:26 +00:00
Tomas Votruba 442ebde599 Updated Rector to commit a39913ec9e3216b61fea7c90b634bc5a404323cf
a39913ec9e [automated] Re-Generate Nodes/Rectors Documentation (#3712)
2023-04-30 00:41:21 +00:00
Tomas Votruba a93a36635a Updated Rector to commit fb89e317c52fb8a16e2db18edb80172adb17014e
fb89e317c5 [TypeDeclaration] Add WhileNullableToInstanceofRector (#3680)
2023-04-24 11:18:26 +00:00
Tomas Votruba 37ad4fbc43 Updated Rector to commit a4c1d7e481d426cb82d5a5bf89bfcac21deb3764
a4c1d7e481 [TypeDeclaration] Add BinaryOpNullableToInstanceofRector (#3631)
2023-04-19 11:05:06 +00:00
Tomas Votruba 4980a45b0b Updated Rector to commit 581fba01dfcc247be5dcec00903b72739b7eca6d
581fba01df [Php55] Add StaticToSelfOnFinalClassRector (#3629)
2023-04-19 07:12:58 +00:00
Tomas Votruba c1432a728e Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
eb34dee894 [automated] Re-Generate Nodes/Rectors Documentation (#3617)
2023-04-16 00:32:04 +00:00
Tomas Votruba ab279ddabc Updated Rector to commit edf54c85b6aadaecf064b797d340953697e0ca74
edf54c85b6 [Instanceof] Add FlipNegatedTernaryInstanceofRector (#3610)
2023-04-13 10:40:34 +00:00
Tomas Votruba da7c61a9a9 Updated Rector to commit ebc2e7efa17d9871cc5d9b90a81c41d504a214db
ebc2e7efa1 Add new rule to remove function calls (#3524)
2023-04-10 08:19:12 +00:00
Tomas Votruba c04c8097dc Updated Rector to commit 1f8d359d731ec0ecd4f92320626e74d2e1b41d05
1f8d359d73 [automated] Re-Generate Nodes/Rectors Documentation (#3549)
2023-04-02 00:33:26 +00:00
Tomas Votruba 093f3c0641 Updated Rector to commit ad9b5973ebff338b17452fb0240c1834126f388e
ad9b5973eb [automated] Re-Generate Nodes/Rectors Documentation (#3521)
2023-03-26 00:33:56 +00:00
Tomas Votruba e27f3e5b0b Updated Rector to commit f87827ca264302c24015bc9d2a27a4a288a05682
f87827ca26 Implement  (#3430)
2023-03-09 22:50:19 +00:00
Tomas Votruba 9d9213d70c Updated Rector to commit 658e48f31fcb26a0e56740a49a994dbab3c1e6b5
658e48f31f Handle ->getDefaultValueExpression() return null (#3446)
2023-03-03 10:07:09 +00:00
Tomas Votruba 44595ed746 Updated Rector to commit 937bf3e28b7868d79c4679d8e1e03cfb2e366a42
937bf3e28b [Transform] Add MethodCallToFuncCallRector (#3391)
2023-02-19 13:39:22 +00:00
Tomas Votruba 13aa217ffa Updated Rector to commit 208d52e2a160e8563ef94e2afc53239f8ecf55cf
208d52e2a1 [CodeQuality] Remove DoWhileBreakFalseToIfElseRector, rather manual static spot and refactoring (#3367)
2023-02-08 17:44:29 +00:00
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 82eda1fecd Updated Rector to commit d670b4e50deb738f15d77c6a4f7fe773791c871f
d670b4e50d [docs] cleanup, add links to the official docs
2022-12-03 11:10:19 +00:00
Tomas Votruba 70b85c0532 Updated Rector to commit 36e9b6cf74173091196fd91c858f663e65bb9af1
36e9b6cf74 [build] remove docs from remote, to allow updates
2022-11-30 12:08:14 +00:00
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