16933 Commits

Author SHA1 Message Date
Tomas Votruba
549bed6da9 Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
b3639f72d7 Update docblock only when changed, directly in rector rule (#4986)
2023-09-11 13:16:45 +00:00
Tomas Votruba
0a6aef3c00 Updated Rector to commit c9c3d78d3c5e583b541d06e5827f4f019adc3e40
c9c3d78d3c Remove ununnecesary markAsChanged() in PhpDocTypeChanger (#4984)
2023-09-11 10:41:08 +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
ec41ac44ea Updated Rector to commit 2e6fcdea7e3945a06d2cc229a92567ea52ce9d6d
2e6fcdea7e Remove CurrentRectorProvider and  used for docblock changes report, return bool value and node directly in the rector rule instead (#4982)
2023-09-11 07:55:34 +00:00
Tomas Votruba
59ce553896 Updated Rector to commit 0bb2398438d57d393d7be0d3f7fc2d237cf51e0a
0bb2398438 Make BetterPhpDocParser parse node directly (#4981)
2023-09-11 07:45:38 +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
4cbb15f972 Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
1593d00613 [Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976)
2023-09-10 20:27:13 +00:00
Tomas Votruba
6c92c9ea3e Updated Rector to commit 3fcbb533c2d4da174cbfcad1e5d5cfe354dfd884
3fcbb533c2 [Internals] Merge PhpFileProcessor to FileProcessor (#4977)
2023-09-10 20:21:47 +00:00
Tomas Votruba
4b84a2b441 Updated Rector to commit 0c5ad104aee04d680816bbed6224470c7acfb895
0c5ad104ae [DX] Merge WorkerRunner to WorkerCommand, to make context closer (#4972)
2023-09-10 19:16:46 +00:00
Tomas Votruba
1a37c5b7e2 Updated Rector to commit e4eec89c47fb767dbadb65662c12e2e3b6650cd5
e4eec89c47 [Performance][Php55] Remove regex replace e on RegexMatcher (#4974)
2023-09-10 19:01:55 +00:00
Tomas Votruba
e9556eff4d Updated Rector to commit 3942c1336b9650e7013094e6ae7118675ea04685
3942c1336b Use link to getrector.com/documentation for create_own_rule.md on build scoped (#4973)
2023-09-10 18:55:54 +00:00
Tomas Votruba
aaa2d927d5 Updated Rector to commit cda957718f1eb9d1629bc27ed8b060c6f41ce033
cda957718f [Performance][Printer] Reduce regex check use( no space on BetterStandardPrinter (#4971)
2023-09-10 18:48:21 +00:00
Tomas Votruba
44ac4c0b00 Updated Rector to commit b5c8f9a8930520277828986608fda0b75ef5381a
b5c8f9a893 use strlen() directly, as enough for string check (#4969)
2023-09-10 14:40:14 +00:00
Tomas Votruba
e356a37b38 Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
ead7a25b38 Remove regex and fnmatch again on NodeNameResolver (#4968)
2023-09-10 14:33:07 +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
1e7c1e02b0 Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
ead7a25b38 Remove regex and fnmatch again on NodeNameResolver (#4968)
2023-09-10 13:41:40 +00:00
Tomas Votruba
6f00e2bba6 Updated Rector to commit 76cf20f8d4e2bb2a6c01f70e707e58d34c4360f4
76cf20f8d4 Fix fixture typo (#4967)
2023-09-10 13:27:45 +00:00
Tomas Votruba
5995088c4e Updated Rector to commit ef6c8bcc96bcb35a832ca0e798d580735c58f9ef
ef6c8bcc96 [NodeNameResolver] Check regex start delimiter and contains * on NodeNameResolver to use fnmatch() (#4964)
2023-09-10 13:01:10 +00:00
Tomas Votruba
0208918c02 Updated Rector to commit 071730611619e0b6eb79d18af29480341d4a0361
0717306116 Implement a max jobs per worker budget (#4965)
2023-09-10 12:29:23 +00:00
Tomas Votruba
93a246d47b Updated Rector to commit 038f8092eaeeaaf044dbd5685d89bc7636143bbc
038f8092ea [Performance][BetterPhpDocPaser] Reduce regex usage on start docblock check on PhpDocInfoPrinter (#4966)
2023-09-10 12:10:32 +00:00
Tomas Votruba
c3de7a9b9b Updated Rector to commit 9f29bf8434e78a86efe97a08ef3e84c8db2f4a94
9f29bf8434 [Testing] Remove #[RunInSeparateProcess] in FileHashComputerTest (#4963)
2023-09-10 06:07:12 +00:00
Tomas Votruba
561662bcb2 Updated Rector to commit 335cc6fe7b141951a7cc3cc0cf4eaaf3711edf96
335cc6fe7b [BetterPhpDocParser] Reduce regex on opening docblock check on PhpDocInfoPrinter (#4962)
2023-09-10 04:56:06 +00:00
Tomas Votruba
6c9ddbbc05 Updated Rector to commit 57772d141822690d98070403e486e6c43c73f2cd
57772d1418 Fix infinite loop test InfiniteLoopTest (#4960)
2023-09-10 04:27:52 +00:00
Tomas Votruba
d3ab4963d2 Updated Rector to commit 09c227eb0e67b0b51ab3c3faafbc312edc81720b
09c227eb0e [Performance][FileProcessor] Only check space before <?php on FileWithoutNamespace (#4959)
2023-09-10 04:08:45 +00:00
Tomas Votruba
ec8c97b1b0 Updated Rector to commit e335cffdcff3e271bb1d0f352a6f6623f6e4ed2c
e335cffdcf [PhpAttribute] Reduce regex start with ^@ORM at PhpNestedAttributeGroupFactory (#4958)
2023-09-10 03:51:21 +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
5b0f55fa4b Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
7433ffeb07 [Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957)
2023-09-10 01:02:05 +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
5ab2aa34fb Updated Rector to commit 416e52ad9e2164bc7d8e11518e3c0165862cb1b3
416e52ad9e fix typo (#4956)
2023-09-09 18:21:23 +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
81d65055b2 Updated Rector to commit 2d5d72f3ba66a63acb991107ba763e147c9840f4
2d5d72f3ba [Naming] Introduce startsWith() to acompany endsWith() naming check (#4953)
2023-09-09 14:19:44 +00:00
Tomas Votruba
3f02794da2 Updated Rector to commit 27078e79628cb14866b69dc6b8c2181fbec1d4c6
27078e7962 [DX] Add FileProcessResult + kick of collectors (#4947)
2023-09-09 14:15:49 +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
e185753ce7 Updated Rector to commit ee6e3e0940eff60bb198b95899668d8222d551ec
ee6e3e0940 Reduce excessive regex use (#4950)
2023-09-09 11:46:14 +00:00
Tomas Votruba
5102d25a1e Updated Rector to commit 672df31993b36396c3987bf6082f6218ba5cd26c
672df31993 Remove UnSpreadOperatorRector as not clear value and spread used on purpose (#4949)
2023-09-09 11:18:54 +00:00
Tomas Votruba
b687f1d77e Updated Rector to commit 048effdf44726307b24df0d9abcb27e7d5be7d3f
048effdf44 Remove mixed doctype for tokens (#4944)
2023-09-09 11:10:25 +00:00
Tomas Votruba
d7411e1be0 Updated Rector to commit 2da3246fdfae7387ac7fa0ea7ab6b4cada58b9bf
2da3246fdf Cleanup PHPStan errors, fix json data contract doc types (#4948)
2023-09-09 11:02:01 +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
148de73048 Updated Rector to commit 0a1835fc27574e78525dc508ef24b08e42ca6a47
0a1835fc27 [Testing] Fix running unit test on macOS (#4941)
2023-09-09 07:31:31 +00:00
Tomas Votruba
3c1b438cf8 Updated Rector to commit 18df85eafe0bc57e8be41d1051ca46c19c581cef
18df85eafe [Testing] Ensure immediate remove file after dump() to sys_get_temp_dir()  after FixtureTempFileDumper::dump() usage (#4940)
2023-09-08 17:35:25 +00:00
Tomas Votruba
d05c52724c Updated Rector to commit a0be8b892d92d5bbbc64713dc8469904a15fe6b0
a0be8b892d [DX] Cleanup type resolvers (#4939)
2023-09-08 14:06:44 +00:00
Tomas Votruba
e844be2688 Updated Rector to commit feffd813a316ea0d9f1e0dd6ba45b90b88ae72c3
feffd813a3 [DX] Hide default symfony commands, show only rector ones (#4938)
2023-09-08 13:46:57 +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
4180102b55 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:37:52 +00:00
Tomas Votruba
06e012f8b4 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:52:32 +00:00