18474 Commits

Author SHA1 Message Date
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
d62daba49d Updated Rector to commit 2d862a7c7750c79e4c16be6e7c4e87ba324abfa7
2d862a7c77 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
2024-10-30 21:50:53 +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
6aa0ede384 Updated Rector to commit d246d27a9442cc08a419e899e07c2c19a680eb80
d246d27a94 [CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404)
2024-10-29 23:20:09 +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
d06c6cec7a Updated Rector to commit 61ebcc53b5c50f244ce0f7dfb626ded8d371c0a5
61ebcc53b5 [DeadCode] Support multiple templates in RemoveUselessVarTagRector (#6402)
2024-10-27 08:17:32 +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
6e934f1847 Updated Rector to commit aa7c931b47d3983290d2bec9916862099752e834
aa7c931b47 [Php80] Skip @template T as mixed on MixedTypeRector (#6399)
2024-10-26 12:08:27 +00:00
Tomas Votruba
a9d7dc8786 Updated Rector to commit 6e1af0301b4dd51ed4709dc772a34a1fa169a339
6e1af0301b [DeadCode] Skip @template tag on RemoveUselessVarTagRector (#6396)
2024-10-26 11:39:19 +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
f37808eb85 Updated Rector to commit d4152608a5983e813adbd0a9e45d213c722c1347
d4152608a5 [TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ (#6395)
2024-10-23 14:21:55 +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
b330d66632 Updated Rector to commit 512dfc26c3c1442f7f0643d565282af031be7941
512dfc26c3 [DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector (#6393)
2024-10-21 15:29:15 +00:00
Tomas Votruba
acd20420e4 Updated Rector to commit a130d2b2e1ac2305c35b956b8aa67f46df3cbfce
a130d2b2e1 [DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector (#6392)
2024-10-21 12:09:28 +00:00
Tomas Votruba
ad2041e22c Updated Rector to commit b5a5739b7d7dde621053adff113449860ed5331f
b5a5739b7d [automated] Apply Coding Standard (#6391)
2024-10-20 00:36:46 +00:00
Tomas Votruba
9e205fbc3e Updated Rector to commit 23917974669d13ac0632cf53f6c85c7f74e98a6b
2391797466 [CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#6390)
2024-10-20 00:34:29 +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
2269fb9654 Updated Rector to commit 3bd920dc75b8b25cace7af734d127a2bf275881d
3bd920dc75 [CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389)
2024-10-19 07:29:54 +00:00
Tomas Votruba
bac627b08c Updated Rector to commit 92f7afcdb0b07a5dab5317c2edd708a5729a7b3e
92f7afcdb0 [Strict] Using in_array() on CallLike instead of double call on Strict Rules (#6388)
2024-10-19 00:54:01 +00:00
Tomas Votruba
852cfe66fb Updated Rector to commit 9cd13c1695115f4845bcbd50095f848fa3c89c49
9cd13c1695 Fix VersionResolverTest when latest commit just tagged (#6387)
2024-10-18 20:13:15 +00:00
Tomas Votruba
05755bf436 Rector 1.2.8 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
5864fb0506 Updated Rector to commit cdeea08b786337dc6f537c9cac0ac9dc80a2da8d
cdeea08b78 Fix duplicated register ContinueToBreakInSwitchRector in php52.php and php73.php (#6385)
2024-10-16 04:55:01 +00:00
Tomas Votruba
82270e53ff Updated Rector to commit 7be438b5fc0f91a9dc9b70a0b6a38a6bf1e906b2
7be438b5fc [DeadCode] Skip non FullyQualified property type on RemoveTypedPropertyNonMockDocblockRector (#6383)
2024-10-15 21:27:10 +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
1a957f8b19 Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
61016bf530 [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
2024-10-12 16:35:17 +00:00
Tomas Votruba
80d5259a88 Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057
385d423d4f [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381)
2024-10-12 16:26:30 +00:00
Tomas Votruba
254c38f757 Updated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee
d180b8d736 [CodeQuality] Skip no @property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380)
2024-10-12 16:15:59 +00:00
Tomas Votruba
8388edb5ee Updated Rector to commit 684f23d165407e0461a48d2c1fd289834a492876
684f23d165 [DX] [Experimental] Add withPhpLevel() to raise PHP level one rule at a time (#6261)
2024-10-12 15:55:54 +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
b862c5cd40 Updated Rector to commit 6f863d1552d270c2df41742ffcd87e2168d135b5
6f863d1552 [PostRector] Reduce repetitive toString() on loop on UnusedImportRemovingPostRector (#6379)
2024-10-12 13:48:02 +00:00
Tomas Votruba
6ba528b6cb Updated Rector to commit 6e936f73472d31e5d93da3b3a4fbe2c78b4fbf5a
6e936f7347 [PostRector] Clean up variables and conditional usage on UnusedImportRemovingPostRector (#6378)
2024-10-12 13:35:42 +00:00
Tomas Votruba
020433daa7 Updated Rector to commit b902afca1acb0a65d589709f0201e5edb984bacb
b902afca1a [UnusedImport] Fix removing multiple uses (#6376)
2024-10-12 13:01:45 +00:00
Tomas Votruba
5b33bdd871 Rector 1.2.7 1.2.7 2024-10-12 11:12:46 +00:00
Tomas Votruba
318d8c984e Updated Rector to commit e37a659d4bbcdb540157a3034e8abef30e5f77bf
e37a659d4b [DX] Add links to open the editor to the names of processed files and the names of rules applied (#6272)
2024-10-11 16:25:41 +00:00
Tomas Votruba
24d2df832d Updated Rector to commit 2b8cf93121045df5548684660ce7ae06b23b0e50
2b8cf93121 [EarlyReturn] Skip nested with OR in root if statement condition on ChangeNestedForeachIfsToEarlyContinueRector (#6375)
2024-10-11 15:13:17 +00:00
Tomas Votruba
d633e95ab1 Updated Rector to commit 1fcd876367b12e6857552c593799d7f0eb0a8145
1fcd876367 register RemoveTypedPropertyNonMockDocblockRector rule in dead-code set
2024-10-11 11:59:27 +00:00
Tomas Votruba
7f5124447e Updated Rector to commit d8f31e7559c9e3e288f2f58228120c71986a80e9
d8f31e7559 Add RemoveTypedPropertyNonMockDocblockRector (#6306)
2024-10-11 11:22:44 +00:00
Tomas Votruba
4dd8bdd757 Updated Rector to commit d553e84b406dbea66f4ca1dcca58f6405147c2c5
d553e84b40 [StaticTypeMapper] Register non-empty-array to ScalarStringToTypeMapper::SCALAR_NAME_BY_TYPE constant (#6374)
2024-10-11 08:48:10 +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
7595ee2334 Updated Rector to commit 52e3fdfb48a507be997bd0f47256ad14854be844
52e3fdfb48 [TypeDeclaration] Fix deep nested array docblock with \ prefix on ReturnTypeFromStrictNewArrayRector (#6373)
2024-10-11 08:35:30 +00:00
Tomas Votruba
103280d1fa Updated Rector to commit 16f939995e159c934f0dcd1179a26a56fe64b65b
16f939995e [CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#6372)
2024-10-11 06:54:59 +00:00
Tomas Votruba
1f93d1a53a Updated Rector to commit 203651aaf1c615c345620c5069c15755bde08227
203651aaf1 [CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#6371)
2024-10-11 06:21:10 +00:00
Tomas Votruba
43ea81221f Updated Rector to commit cb4ccd650eba6b43ac07da13e53b816a4119fad1
cb4ccd650e [UnusedImport] Different letter case for classes + optimization (#6362)
2024-10-11 01:59:43 +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
40e206a694 Updated Rector to commit f6858b86e32291df09751597abc8164fdd5a81c9
f6858b86e3 [DeadCode] Clean up double private method filtering on RemoveUnusedPrivateMethodRector (#6364)
2024-10-08 12:45:03 +00:00
Tomas Votruba
504b14ba36 Updated Rector to commit 645aaa93cfa86b06db8de8d8671da91d81b4bddf
645aaa93cf [DeadCode] Skip RemoveUnusedPrivatePropertyRector in middle assign (#6363)
2024-10-08 10:46:29 +00:00