Commit Graph

1545 Commits

Author SHA1 Message Date
Tomas Votruba
d7b6d352e5 Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
308178a058 Adding collectors - step 3 (#5043)
2023-09-18 17:12:03 +00:00
Tomas Votruba
a7266f01f8 Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
7e55eaa7bf Bump to newer phpstan-extensions (#5041)
2023-09-18 15:27:40 +00:00
Tomas Votruba
caa99019bf Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
7e55eaa7bf Bump to newer phpstan-extensions (#5041)
2023-09-18 13:55:57 +00:00
Tomas Votruba
af93ed53e4 Updated Rector to commit 0678674828c37813873d3bd4612c86d0a405948c
0678674828 [AutoImport] Fix conflict current namespace auto import (#5024)
2023-09-15 19:07:43 +00:00
Tomas Votruba
810ae4c396 Updated Rector to commit f6063588c0107450e51333934308f71434722f68
f6063588c0 [DX] Lower current node dependency - pass it directly to doc node parsing (#5023)
2023-09-15 11:53:42 +00:00
Tomas Votruba
2331f6b39c Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
74df7741a7 [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
2023-09-13 15:10:03 +00:00
Tomas Votruba
66134953c2 Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
74df7741a7 [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
2023-09-13 14:39:32 +00:00
Tomas Votruba
26b96f86b2 Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
74df7741a7 [PostRector] Fix unused import not removed on empty generic class name exists (#5012)
2023-09-13 12:31:43 +00:00
Tomas Votruba
57dc6f91d6 Updated Rector to commit 7e2bc1414f8567c55934a32d856e8d92a6e31d0f
7e2bc1414f [DeadCode] Ensure $hasChanged not replaced on next iteration when it assigned to true on RemoveUnusedPrivateMethodParameterRector (#5009)
2023-09-12 19:06:50 +00:00
Tomas Votruba
3c6c1c03f8 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
a2f70054a7 [DocBlock] Update docblock contents right in the rule (#4999)
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
596bbc98a2 [tests] Replace wildcard e2e test with unit one (#5000)
2023-09-11 18:33:42 +00:00
Tomas Votruba
67ef720476 Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
780ef4010d Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987)
2023-09-11 14:54:44 +00:00
Tomas Votruba
ec1242d290 Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
8b8a0d1a5d Prevent unnecessary calls to spl_object_id() (#4992)
2023-09-11 14:36:30 +00:00
Tomas Votruba
8b577a6b5e Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
8b8a0d1a5d Prevent unnecessary calls to spl_object_id() (#4992)
2023-09-11 14:30:03 +00:00
Tomas Votruba
4c20b79d3c Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:47:14 +00:00
Tomas Votruba
282e5517d7 Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
ae3608b3d6 Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983)
2023-09-11 09:08:21 +00:00
Tomas Votruba
553b67b890 Updated Rector to commit 57ec646b63b0c7804df44fd67990b41d83d56c40
57ec646b63 Make PhpDocINfo::removeByType() return bool to inform about changed node (#4979)
2023-09-11 07:37:02 +00:00
Tomas Votruba
973097e0b8 Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
ead7a25b38 Remove regex and fnmatch again on NodeNameResolver (#4968)
2023-09-10 13:55:50 +00:00
Tomas Votruba
8a3c738dcd Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
7433ffeb07 [Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957)
2023-09-10 03:16:33 +00:00
Tomas Votruba
96a2988a43 Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
7433ffeb07 [Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957)
2023-09-10 01:19:24 +00:00
Tomas Votruba
f73bcd4ef8 Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
c97e4ffb05 [Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954)
2023-09-09 22:49:40 +00:00
Tomas Votruba
6adcb19ec9 Updated Rector to commit 474b3a222684b9c343ba6b43ea5bd39b78fbef2a
474b3a2226 Faster name resolving (#4955)
2023-09-09 18:18:18 +00:00
Tomas Votruba
7540a5e283 Updated Rector to commit 9a322af593a3ed9de20a535f613ed25e12ecc823
9a322af593 BC: Separated regex matching in NodeNameResolver->isName() (#4951)
2023-09-09 14:08:25 +00:00
Tomas Votruba
c77e927087 Updated Rector to commit b82ad4ca58ebb42307093858a1c3dd60ecee13aa
b82ad4ca58 [DX] Move PostFileProcessor to FileProcessor, as always should run together (#4952)
2023-09-09 13:58:57 +00:00
Tomas Votruba
8e8434e575 Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
b8485c6c17 Fix Rector extension config loading (#4946)
2023-09-09 10:50:11 +00:00
Tomas Votruba
2c9f64e0d6 Updated Rector to commit 41870cb493cbae9725b8fdb682d53d9deaa33eae
41870cb493 Add comment for macOS empty string on WorkerCommandLineFactoryTest (#4945)
2023-09-09 10:38:56 +00:00
Tomas Votruba
df5f31835a Updated Rector to commit 099994eb803ebf550ae77bbd5ebcac1263d6571a
099994eb80 [DI] introduce boot() method to avoid hacking beforeResolving() closures (#4937)
2023-09-08 10:19:50 +00:00
Tomas Votruba
fedb3edc8a Updated Rector to commit e4f1f1bab4d008108bf537ba3877dc2c4e64fa25
e4f1f1bab4 [NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#4936)
2023-09-07 18:43:32 +00:00
Tomas Votruba
06e012f8b4 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:52:32 +00:00
Tomas Votruba
306ecbf7e3 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:28:29 +00:00
Tomas Votruba
e7578a4299 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:09:24 +00:00
Tomas Votruba
dbdeb211ce Updated Rector to commit 6d009ccad0aacd102fdacba00eb59b32a1104582
6d009ccad0 [TypeDeclaration] Add return self object support on ReturnTypeFromStrictFluentReturnRector (#4915)
2023-09-05 15:48:41 +00:00
Tomas Votruba
e31a8c2782 Updated Rector to commit 1812281273ff14f76b8b81ab5321ee4b7e656684
1812281273 [Performance][Testing] Remove $nodeScopeResolver->setAnalysedFiles() on AbstractRectorTestCase (#4911)
2023-09-04 19:46:53 +00:00
Tomas Votruba
bdf398ef14 Updated Rector to commit 4a3627e63426e3c590ec21815621f6684ff41f87
4a3627e634 [Performance][Testing] Avoid double call FileSystem::read() on AbstractRectorTestCase (#4908)
2023-09-04 15:47:52 +00:00
Tomas Votruba
491915e31b Updated Rector to commit 5595f80ed176f93485f50ff6dabad79cedbb72dc
5595f80ed1 Update github actions/checkout from v3 to v4 (#4909)
2023-09-04 14:00:44 +00:00
Tomas Votruba
2f2e7aff34 Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
d5f399eee5 [DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894)
2023-09-02 19:48:22 +00:00
Tomas Votruba
060f298712 Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:48:05 +00:00
Tomas Votruba
814e26534d Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 17:12:44 +00:00
Tomas Votruba
cc7b0cd56f Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
65fd2014b2 Fix union type check of object (#4893)
2023-09-01 15:23:24 +00:00
Tomas Votruba
8848b01ee3 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:46:57 +00:00
Tomas Votruba
933f88178b Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 13:46:47 +00:00
Tomas Votruba
ed860db4e7 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 13:35:19 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
eeab658669 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:21:20 +00:00
Tomas Votruba
8be31113be Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 19:02:42 +00:00
Tomas Votruba
a3ea8375c9 Updated Rector to commit 4b0a688b8117689c243adc1c8dd18e9512673428
4b0a688b81 [TypeDeclaration] skip variadic constructor param of mixed type on AddParamTypeFromPropertyTypeRector (#4887)
2023-08-31 10:36:02 +00:00
Tomas Votruba
d7c5dcb785 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 17:02:15 +00:00
Tomas Votruba
dd35feba0b Updated Rector to commit beffd07acd0f131b0bad64461ae901fd9bb4e03c
beffd07acd ReturnTypeFromStrictParamRector: Fix typo in test-fixture (#4879)
2023-08-29 15:55:26 +00:00
Tomas Votruba
4650cf5c21 Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
7841dc5824 Clean up usused filePath instance check on ApplicationFileProcessor (#4877)
2023-08-29 07:31:50 +00:00
Tomas Votruba
1b7113d724 Updated Rector to commit 2f38105001867c15fb1b2001767b37566428719f
2f38105001 fix cs
2023-08-28 12:02:21 +00:00