Commit Graph

5021 Commits

Author SHA1 Message Date
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
9a39b26232 Updated Rector to commit 9e7367ca9296ca986a31abd8bb7d6b3a6b5ef0d8
9e7367ca92 Trigger Rectify (#4997)
2023-09-11 16:07:43 +00:00
Tomas Votruba
df6678519f Updated Rector to commit ed0be502e5d74171d59e67874f089f69429a01b0
ed0be502e5 UseImportsTraverser: don't deep traverse (#4994)
2023-09-11 15:55:07 +00:00
Tomas Votruba
0acf99c06a Updated Rector to commit 7b4858b689e23bac39c47ddbf06df4842f453936
7b4858b689 [Performance] [NodeNameResolver] Move loop REGEX_WILDCARD_CHARS on last resort after $resolvedName, $desiredName compare to avoid unnecesary loop when possible (#4996)
2023-09-11 15:30:38 +00:00
Tomas Votruba
4f2f57fa55 Updated Rector to commit 398b6503cd12778c3c0e32b6d4d096452e998ed6
398b6503cd NodeNameResolver: Throw exception in BC breaking path (#4980)
2023-09-11 15:26:30 +00:00
Tomas Votruba
abed52d2c1 Updated Rector to commit edadb26ab4a156985027b8f685cdeecf4ea4b098
edadb26ab4 [Transform] Improve performance of AddAllowDynamicPropertiesAttributeRector (#4995)
2023-09-11 15:18:16 +00:00
Tomas Votruba
02ce33183a Updated Rector to commit f733c32f6c44c06faeba9ad5c46a62b8eee11748
f733c32f6c [Transform] Refactor AddAllowDynamicPropertiesAttributeRector with verify both fnmatch and is string name (#4993)
2023-09-11 15:00:52 +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
8a7560aff0 Updated Rector to commit b26175631cdad7feac444fac351120541ef3fa03
b26175631c Fix typo in error message (#4989)
2023-09-11 14:11:01 +00:00
Tomas Votruba
927d670ef2 Updated Rector to commit 27d4c55bebe8706a74273d8c2379f59b75543c0e
27d4c55beb [Transform] Check str_contains * before fnmatch() early on AddAllowDynamicPropertiesAttributeRector (#4991)
2023-09-11 13:47:00 +00:00
Tomas Votruba
be951e04e1 Updated Rector to commit 878f381d30ddb07c68dfbe828e9cd6e2b77b6c31
878f381d30 [Php55] Check str_contains * before fnmatch() early on StringClassNameToClassConstantRector (#4990)
2023-09-11 13:37:38 +00:00
Tomas Votruba
93e75a5197 Updated Rector to commit bfb759084621dfe23766ebfb43db47fb71ed5512
bfb7590846 [CodingStyle] Use str_starts_with() on isName($node, 'test*') on DataProviderArrayItemsNewlinedRector (#4988)
2023-09-11 13:33:44 +00:00
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