5702 Commits

Author SHA1 Message Date
Tomas Votruba
1de0a37261 Updated Rector to commit e7800e9eb89bae4e585f66c26d1f70d83c2a3f4a
e7800e9eb8 Fix RemoveDoubleAssignRector in case of method call (#6442)
2024-11-16 12:49:07 +00:00
Tomas Votruba
4173b9e215 Updated Rector to commit 418423d0d6444419d64c00a4559a868c2c8d8ec0
418423d0d6 [dx] Allow external rules without getRuleDefinition() to make them easier to write (#6438)
2024-11-15 10:55:38 +00:00
Tomas Votruba
c4fafc51d3 Updated Rector to commit fb18cc7970063c5a08351767e3af3a7461e34b5b
fb18cc7970 [dx] Show loaded composer based sets in case of --debug (#6435)
2024-11-14 18:10:50 +00:00
Tomas Votruba
dc2c22a33a Updated Rector to commit 373747cef4e013317763c78df56f370203e33d4b
373747cef4 [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead (#6434)
2024-11-14 17:10:56 +00:00
Tomas Votruba
f64f98a9e9 Updated Rector to commit 3ee5b725863d6e5a6e6ab51f13d1c9c7bbffc939
3ee5b72586 [TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, [php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fail (#6430)
2024-11-13 15:43:07 +00:00
Tomas Votruba
0e93cef90c Updated Rector to commit 006f21595c5c0164503e05233f68461a8ef68e59
006f21595c [DX] Add version-based set loading based on installed package version (#6428)
2024-11-13 13:17:51 +00:00
Tomas Votruba
51df6b0ce9 Updated Rector to commit 129f93c251f2a0720f765db803694e4f3a1cb0ea
129f93c251 [Printer] Remove ltrim() on BetterStandardPrinter (#6427)
2024-11-13 08:47:36 +00:00
Tomas Votruba
aa0195b98b Updated Rector to commit 2c5cd97a3a98ab5af9efb846f6f78738e4a195a6
2c5cd97a3a [deprecated] Remove deprecated AbstractTestCase (#6426)
2024-11-13 00:07:32 +00:00
Tomas Votruba
8353c66b11 Updated Rector to commit c2053c75d6c55d2ca64f2003915aa8953c376f98
c2053c75d6 [deprecation] Deprecate AbstractScopeAwareRector in favor of single AbstractRector (#6425)
2024-11-12 22:22:48 +00:00
Tomas Votruba
f0fc008db1 Updated Rector to commit c23ba82ebce17c9d150d18de09a7d80a2a28a0e7
c23ba82ebc [deprecation] Remove deprecated PublicConstantVisibilityRector, cleanup deprecated SetListInterface (#6424)
2024-11-12 21:25:01 +00:00
Tomas Votruba
95a8c158ec Updated Rector to commit 5baf4870b6129cf0eee0b32ac0b117c2086e8d75
5baf4870b6 Require-dev phpstan/phpstan-deprecation-rules to show list of deprecated (#6415)
2024-11-12 14:27:35 +00:00
Tomas Votruba
1d4e2fde73 Updated Rector to commit bcfb5981444172d8ccf82e783b5a217385ea83c7
bcfb598144 Add ClassNameFromObjectTypeResolver to cover TypeWithClassName instance checks (#6420)
2024-11-12 10:17:52 +00:00
Tomas Votruba
0b834e6092 Updated Rector to commit 3949fc260b51c4355f86d21a26db7d2e4cae0b49
3949fc260b Move instanceof PHPStan Type to ->is*() take 1 (#6416)
2024-11-12 00:20:18 +00:00
Tomas Votruba
d606b0a837 Updated Rector to commit 29e89320f0b5c81e2130320ac55f0821daaf4e14
29e89320f0 [automated] Apply Coding Standard (#6414)
2024-11-10 08:00:00 +00:00
Tomas Votruba
90fb5f953f Updated Rector to commit 29e89320f0b5c81e2130320ac55f0821daaf4e14
29e89320f0 [automated] Apply Coding Standard (#6414)
2024-11-10 04:40:20 +00:00
Tomas Votruba
10f5ce78d0 Updated Rector to commit 293eb9701e8035c7d1e57ba0627a637ad70c7c16
293eb9701e [Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector (#6411)
2024-11-08 08:50:02 +00:00
Tomas Votruba
0713a6ceda Updated Rector to commit 293eb9701e8035c7d1e57ba0627a637ad70c7c16
293eb9701e [Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector (#6411)
2024-11-06 22:37:59 +00:00
Tomas Votruba
3b1df92a45 Updated Rector to commit 293eb9701e8035c7d1e57ba0627a637ad70c7c16
293eb9701e [Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector (#6411)
2024-11-06 13:32:10 +00:00
Tomas Votruba
53788ee425 Updated Rector to commit afe7c46c0387e27e1eae37cf76f8a3a4119a1d39
afe7c46c03 [DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector (#6409)
2024-11-05 23:07:43 +00:00
Tomas Votruba
ff5ae8bdfc Updated Rector to commit afe7c46c0387e27e1eae37cf76f8a3a4119a1d39
afe7c46c03 [DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector (#6409)
2024-11-05 15:39:59 +00:00
Tomas Votruba
b5c99e3c4b Updated Rector to commit afe7c46c0387e27e1eae37cf76f8a3a4119a1d39
afe7c46c03 [DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector (#6409)
2024-11-05 14:20:22 +00:00
Tomas Votruba
4261346417 Updated Rector to commit f7ea3dbfeb4e02ab42442dd9e90283e8af098e4f
f7ea3dbfeb [PHP8.3] add new rectors for get_class()/get_parent_class() without arguments (#6405)
2024-11-04 22:04:11 +00:00
Tomas Votruba
7923bd5e48 Rector 1.2.9 2024-11-04 18:26:57 +00:00
Tomas Votruba
cd29621258 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-04 17:57:41 +00:00
Tomas Votruba
27c9f323a3 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-04 13:19:01 +00:00
Tomas Votruba
3e0ec27b2b Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-03 23:50:41 +00:00
Tomas Votruba
7f755fff28 Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-11-03 23:41:59 +00:00
Tomas Votruba
9798fd401a Updated Rector to commit d246d27a9442cc08a419e899e07c2c19a680eb80
d246d27a94 [CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404)
2024-10-30 16:59:50 +00:00
Tomas Votruba
ef924604ad Updated Rector to commit 61ebcc53b5c50f244ce0f7dfb626ded8d371c0a5
61ebcc53b5 [DeadCode] Support multiple templates in RemoveUselessVarTagRector (#6402)
2024-10-28 21:07:25 +00:00
Tomas Votruba
8baae8f317 Updated Rector to commit 61a787e62541281bd5f3678fb2819d645c8f0055
61a787e625 [DeadCode] Check TemplateType instance check on Dead*TagValueNodeAnalyzer (#6400)
2024-10-26 15:11:15 +00:00
Tomas Votruba
db520fafe2 Updated Rector to commit d4152608a5983e813adbd0a9e45d213c722c1347
d4152608a5 [TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ (#6395)
2024-10-26 00:00:54 +00:00
Tomas Votruba
0065fd82b8 Updated Rector to commit 69d3af96731688eb8720e35a76665449d4d504aa
69d3af9673 [Php80] Mirror return comment on ChangeSwitchToMatchRector (#6394)
2024-10-22 14:24:09 +00:00
Tomas Votruba
8a2b111d6a Updated Rector to commit 3bd920dc75b8b25cace7af734d127a2bf275881d
3bd920dc75 [CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389)
2024-10-19 10:01:38 +00:00
Tomas Votruba
05755bf436 Rector 1.2.8 2024-10-18 11:54:27 +00:00
Tomas Votruba
ca3b59bfae Updated Rector to commit 3ca9d0d7c27b9c538cba410f11c1f084c47de59c
3ca9d0d7c2  [AutoImport] Fix missing @ in deep annotation auto import  (#6386)
2024-10-17 14:56:11 +00:00
Tomas Votruba
adf15bb534 Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
61016bf530 [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
2024-10-15 14:39:32 +00:00
Tomas Votruba
8defa24cad Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c
d7bfc24bed [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691)
2024-10-12 15:40:38 +00:00
Tomas Votruba
7f5124447e Updated Rector to commit d8f31e7559c9e3e288f2f58228120c71986a80e9
d8f31e7559 Add RemoveTypedPropertyNonMockDocblockRector (#6306)
2024-10-11 11:22:44 +00:00
Tomas Votruba
c5229331d4 Updated Rector to commit 28ba716ca753c2a2a1a0d22ef7aec12af2d81ba0
28ba716ca7 [Transform] MethodCall to New (#6352)
2024-10-11 08:44:48 +00:00
Tomas Votruba
c8ccd4898f Updated Rector to commit 6dee862408c55479969b4bc0ba28a1d50d5d2e44
6dee862408 [DeadCode] Skip union docblock param with is_object() native type check on RemoveAlwaysTrueIfConditionRector (#6370)
2024-10-10 08:06:20 +00:00
Tomas Votruba
ab28bdf746 Updated Rector to commit fbe17776a98d7364df027debe22a97526595a129
fbe17776a9 [Php70] Handle empty branch crash on unprintable char \x0C on EregToPregMatchRector (#6368)
2024-10-09 11:48:29 +00:00
Tomas Votruba
737dedb866 Updated Rector to commit 6b72288b6f0170c4ee06a11588be83f711557528
6b72288b6f Apply AddOverrideAttributeToOverriddenMethodsRector to traits (#6367)
2024-10-09 06:01:15 +00:00
Tomas Votruba
5204cbee25 Updated Rector to commit 8ff0cdb8fc3126614ff9f039387218b75dc4733d
8ff0cdb8fc [DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#6365)
2024-10-09 04:03:40 +00:00
Tomas Votruba
91ba9919c7 Updated Rector to commit 4c84d6c8fc7e8e2ceece04be14e196816b0ed99b
4c84d6c8fc [TypeDeclaration] Closure Param Types from Iterator Source (#6345)
2024-10-07 19:57:11 +00:00
Tomas Votruba
68910d28af Updated Rector to commit 8e96b1b9dbd4a5fdf8da8d863aa9e153298d7427
8e96b1b9db [DeadCode] Skip from call with return docblock on ReduceAlwaysFalseIfOrRector (#6361)
2024-10-07 18:58:59 +00:00
Tomas Votruba
79a3e89cb2 Updated Rector to commit 0446e6f86d4766748a8012a5087f878c25d647f4
0446e6f86d [automated] Apply Coding Standard (#6358)
2024-10-06 08:08:44 +00:00
Tomas Votruba
b60054665d Updated Rector to commit 0446e6f86d4766748a8012a5087f878c25d647f4
0446e6f86d [automated] Apply Coding Standard (#6358)
2024-10-06 00:36:51 +00:00
Tomas Votruba
6ab0f47ee0 Updated Rector to commit 374bca25dd7de527bd7904e8e714b9f264ce1c25
374bca25dd Fixed --memory-limit=-1 option handling when used in parallel (#6349)
2024-10-03 11:35:56 +00:00
Tomas Votruba
68c7b4d151 Updated Rector to commit b88e910957a85adafd6fb75fbe50991b9ec871d1
b88e910957 [Performance] Reduce alias lookup on UnusedImportRemovingPostRector (#6346)
2024-10-02 09:59:12 +00:00
Tomas Votruba
a5a5200e52 Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec42
54a6620698 [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
2024-10-01 05:27:50 +00:00