Commit Graph

5174 Commits

Author SHA1 Message Date
Tomas Votruba
0d6604344e Updated Rector to commit cbc632c1eda3f2b9aba3fba07b0f1b45cc58caec
cbc632c1ed RenameFunctionRector: prevent repeated isName() calls (#5003)
2023-09-12 11:58:35 +00:00
Tomas Votruba
f8df0467fb Updated Rector to commit ef003b2458043b677bdd72522439bd80afb44a2c
ef003b2458 refactor: add support for Custom Skip Voters (#5002)
2023-09-12 08:13:37 +00:00
Tomas Votruba
ac9f7b5076 Updated Rector to commit ffa43a11e01a594d3aaafe4eb5f09f4394e90019
ffa43a11e0 [PhpParser] Fix crash read jetbrains/phpstorm-stubs included in phpstan.phar on PHP 8.0 and PHP 7.4 (#5001)
2023-09-12 07:47:25 +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
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
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
Tomas Votruba
306ecbf7e3 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:28:29 +00:00
Tomas Votruba
d295eb5d0d Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:14:55 +00:00
Tomas Votruba
e7578a4299 Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 13:09:24 +00:00
Tomas Votruba
4ae2dfa94e Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
2be5a4d492 Simplify AlwaysStrictScalarExprAnalyzer (#4935)
2023-09-07 12:50:04 +00:00
Tomas Votruba
e30fbabf27 Updated Rector to commit b47adb55f7f7940987078fbe77f5222577a429b4
b47adb55f7 [TypeDeclaration] Add non native function return support on ReturnTypeFromStrictScalarReturnExprRector (#4934)
2023-09-07 11:28:19 +00:00
Tomas Votruba
88f0aaa761 Updated Rector to commit a2c34e0afe8ddd68c2c609c710636ddd3243ae91
a2c34e0afe [TypeDeclaration] Add test fixture return docblock on init method call assign as skipped on ReturnTypeFromStrictNewArrayRector (#4933)
2023-09-07 10:37:04 +00:00
Tomas Votruba
030adf9f7d Updated Rector to commit eebc3ce703e0d57794c1dd1823457b272e02403d
eebc3ce703 [TypeDeclaration] Ensure ArrayType on ReturnTypeFromStrictNewArrayRector::shouldAddReturnArrayDocType() (#4932)
2023-09-07 04:43:51 +00:00
Tomas Votruba
549a072c08 Updated Rector to commit fa28385f9b46b0119073fb4209762fce23f8c09a
fa28385f9b Refactor BetterNodeFinder::findFirstInFunctionLikeScoped() to work with SilentVoidResolver (#4931)
2023-09-07 04:03:06 +00:00
Tomas Votruba
94613faf8f Updated Rector to commit 54799fc3d3a341643d050d06ecf72b467c8d37e8
54799fc3d3 [TypeDeclaration] Skip return after return closure on AddVoidReturnTypeWhereNoReturnRector (#4930)
2023-09-07 02:10:00 +00:00
Tomas Votruba
087ff4d5eb Updated Rector to commit e47f63176a7913ff040bfbce75a260a4ec47ceab
e47f63176a [TypeDeclaration] Add init assign method call support on ReturnTypeFromStrictNewArrayRector (#4929)
2023-09-07 01:50:05 +00:00
Tomas Votruba
73ca9074e0 Updated Rector to commit 2a697f79ecd82e4b59091f59927d8b9315113c18
2a697f79ec [TypeDeclaration] Add fallback return direct array support on ReturnTypeFromStrictNewArrayRector (#4928)
2023-09-06 19:40:05 +00:00
Tomas Votruba
e6e6042119 Updated Rector to commit 10eb09f02d825d01caf92e2c45c73dddf6aa3430
10eb09f02d [cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#4927)
2023-09-06 16:03:21 +00:00
Tomas Votruba
55c7e63a09 Updated Rector to commit d3719c2e953f3be1b5b1e0a2eb7ba992b65a8e6d
d3719c2e95 [TypeDeclaration] Place ReturnTypeFromStrictFluentReturnRector before ReturnTypeFromReturnNewRector (#4926)
2023-09-06 14:55:50 +00:00
Tomas Votruba
f36a223be4 Updated Rector to commit aee42009d91dfdca128760fc4b37e09e101db23f
aee42009d9 AddVoidReturnTypeWhereNoReturnRector: fix never type handling (#4918)
2023-09-06 13:12:52 +00:00
Tomas Votruba
51c70b1a6e Updated Rector to commit eca01b375a62cca2d79ee5a1a7fff1795f3cba11
eca01b375a Trigger Rectify (#4924)
2023-09-06 12:41:35 +00:00
Tomas Votruba
7866e76540 Updated Rector to commit 15e924988caf800caffddf1906da948138daf44b
15e924988c Faster SilentVoidResolver (#4923)
2023-09-06 12:33:43 +00:00
Tomas Votruba
01bdd5bff5 Updated Rector to commit c17181453c5493f1ef2e43206759f12d715c18df
c17181453c [TypeDeclaration] Add append in loop support on ReturnTypeFromStrictNewArrayRector (#4922)
2023-09-06 12:12:53 +00:00
Tomas Votruba
df5f248c87 Updated Rector to commit 233209ade90b075fa18665470163f1128e546472
233209ade9 ReturnTypeFromStrictScalarReturnExprRector : Simplify testcase (#4921)
2023-09-06 12:06:59 +00:00
Tomas Votruba
3cee45fd42 Updated Rector to commit 0d2cdf0c48e4c0608ff4189e176c66aee92c820c
0d2cdf0c48 [TypeDeclaration] Use $type->isScalar()->yes() on AlwaysStrictScalarExprAnalyzer (#4920)
2023-09-06 11:44:15 +00:00
Tomas Votruba
752381df77 Updated Rector to commit c4ea636dcfb0a87f7fa7a7214e80ed98dac2444d
c4ea636dcf [TypeDeclaration] Add return empty string defined support on ReturnTypeFromStrictScalarReturnExprRector (#4919)
2023-09-06 11:35:48 +00:00
Tomas Votruba
8606564b50 Rector 0.18.2 2023-09-06 08:50:38 +00:00
Tomas Votruba
a4c5e31829 Updated Rector to commit 0abb641afd13ce5e3b9de47cbc099bd2c81ff765
0abb641afd cs
2023-09-05 19:58:08 +00:00
Tomas Votruba
2bbdfcfe3b Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
a21a3f1757 [Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917)
2023-09-05 19:57:28 +00:00
Tomas Votruba
4c7551da27 Updated Rector to commit aa7282195caab5889ee067ca3fb5eda62f26ed1b
aa7282195c [TypeDeclaration] Add return static object support on ReturnTypeFromStrictFluentReturnRector (#4916)
2023-09-05 17:03:27 +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
2ae279bf07 Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
093bcb63a1 [CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914)
2023-09-05 13:21:31 +00:00
Tomas Votruba
f4213d1e8b Updated Rector to commit 8c5cfafd4429765fecd1f3db9546cdb9abef080f
8c5cfafd44 FamilyRelationsAnalyzer: final classes can't have children (#4913)
2023-09-05 11:44:54 +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
c5dca33b93 Updated Rector to commit 5919201e137b5ed041eebdf891ff2bada22fddb1
5919201e13 StrictArrayParamDimFetchRector: Skip objects (#4907)
2023-09-04 10:32:52 +00:00
Tomas Votruba
bbc92f1719 Updated Rector to commit 824bb97770867b1584fa7c2398d0d59b7cd4f36e
824bb97770 [TypeDeclaration] Skip mixing native + docblock union assign on TypedPropertyFromAssignsRector (#4905)
2023-09-04 07:41:42 +00:00
Tomas Votruba
575c34ce23 Updated Rector to commit fcf0bc4f04873d34b4854234b9fdf608140e6ae6
fcf0bc4f04 [Caching] Remove "Symfony" reference at error message at FileHashComputer (#4906)
2023-09-04 07:27:29 +00:00
Tomas Votruba
454b838af8 Updated Rector to commit 75717921e8661b5fc6f0ebbffe2e35bd86146202
75717921e8 MyCLabs enum equals + keeping methods  (#4645)
2023-09-04 07:26:59 +00:00
Tomas Votruba
d2b56b94e4 Updated Rector to commit dca3e9d6fcef2c5386efacc425d16c6b48a29ebc
dca3e9d6fc Add test case for caching $rectorConfig->rules() changed (#4903)
2023-09-04 00:16:27 +00:00
Tomas Votruba
dc24af83f9 Updated Rector to commit e203bb4807bbd53e3c4ac3428e78be36f3e18c7d
e203bb4807 [Caching] Add VersionResolver::PACKAGE_VERSION to FileHashComputer::compute() so cache cleared on composer update got new version (#4904)
2023-09-03 22:40:55 +00:00
Tomas Votruba
e4a21c854e Updated Rector to commit 56b0d65f9d3dd7c85055f18208b6f4a4859c4cc6
56b0d65f9d Fix Rector invalidation in case of changes sets or rules (#4902)
2023-09-03 17:34:03 +00:00
Tomas Votruba
672d981dee Updated Rector to commit 955a0acffad2cf81100d9643955ebd3ebc700c4e
955a0acffa cs
2023-09-03 16:44:43 +00:00
Tomas Votruba
d72f4cf839 Updated Rector to commit 04c528e639778905387757ca3f7db6a3e48ac92f
04c528e639 Skip identical to false in SimplifyBoolIdenticalTrueRector, as exact comparison is stronger than negated expression (#4901)
2023-09-03 16:38:10 +00:00
Tomas Votruba
2415d543b0 Updated Rector to commit ca22ab5d024543bc804ec4f52b410aec42901f39
ca22ab5d02 Rename constant REFRESHABLE_NODES to NON_REFRESHABLE_NODES (#4900)
2023-09-03 11:26:42 +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
28c16a1c00 Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
d5f399eee5 [DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894)
2023-09-02 15:59:59 +00:00
Tomas Votruba
fc46b4d878 Updated Rector to commit 3243e0efc1b7cab4f4c3f08cb73f16750018bad4
3243e0efc1 Add number support to concat EncapsedStringsToSprintfRector (#4898)
2023-09-02 15:54:43 +00:00
Tomas Votruba
ed2db39d3d Updated Rector to commit 412d0bd50130f82d8f5388060301a7e1debf50ad
412d0bd501 Add single value concat support to EncapsedStringsToSprintfRector (#4897)
2023-09-02 15:36:16 +00:00
Tomas Votruba
96ad637f7f Updated Rector to commit 521b6f82ddae9626ad767efdd36c3ad56d9f285a
521b6f82dd Trigger Rectify (#4896)
2023-09-02 06:01:48 +00:00
Tomas Votruba
8d1ec7b809 Updated Rector to commit 6d7cd13194264e8792a643d4ce88928f7ccc874b
6d7cd13194 Simplify isMatchingUnionType() (#4895)
2023-09-01 18:58:23 +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
68f1807515 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:44:12 +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
3d97937140 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 16:33:28 +00:00
Tomas Votruba
62fe44207e Updated Rector to commit 56c84ba714b135a36e7e95fdf53f406b1411461e
56c84ba714 [TypeDeclaration] Do not add default value when assigned in __construct() on TypedPropertyFromStrictGetterMethodReturnTypeRector (#4886)
2023-08-31 11:38:41 +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
25e5fba435 Updated Rector to commit cf69407e2ff3402abb8a939d79f326f59121b2b4
cf69407e2f Fix missing default string in TypedPropertyFromStrictGetterMethodReturnTypeRector (#4885)
2023-08-31 08:41:20 +00:00
Tomas Votruba
92fc179e0d Updated Rector to commit 5f52c69ae04c708be50552b165104b4a919a3ff0
5f52c69ae0 [e2e] $rectorConfig->skip() should not skip inside different path over config (#4882)
2023-08-30 11:40:52 +00:00
Tomas Votruba
5c920d9487 Updated Rector to commit 8b07c8e7de96a3b304b5409f1ef3415a513fee91
8b07c8e7de Add test for merge ruleWithConfiguration() after sets on $isBound usage (#4881)
2023-08-29 18:08:49 +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
89778f7171 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 16:56:41 +00:00
Tomas Votruba
97f92edab1 Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
6424bae725 [TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878)
2023-08-29 16:52:48 +00:00
Tomas Votruba
fc984ac23b Updated Rector to commit ea2252a374c5ce46f6a19f93649aef43634ff997
ea2252a374 [Config] Remove $isBound usage as cause empty configuration on RectorConfig (#4880)
2023-08-29 16:39:24 +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
9e31017a92 Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
7841dc5824 Clean up usused filePath instance check on ApplicationFileProcessor (#4877)
2023-08-29 07:20:21 +00:00
Tomas Votruba
ee72ef5426 Rector 0.18.1 2023-08-28 18:01:58 +00:00
Tomas Votruba
cd424deff6 Updated Rector to commit 5d0dd480a6f4d9ec46c7639c20f9e6345f7aa92d
5d0dd480a6 skip Removing category from outside any set rule
2023-08-28 17:54:38 +00:00
Tomas Votruba
73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba
de9ddf6e5d Updated Rector to commit c03fd2ad2625f1a0cf6a02d9875078b7114381ad
c03fd2ad26 [Performance] Avoid spl_object_hash() when has origNode attribute on AbstractRector::leaveNode() (#4875)
2023-08-28 14:25:05 +00:00
Tomas Votruba
dd562a4b59 Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
9e8ed6c33f Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874)
2023-08-28 12:45:54 +00:00
Tomas Votruba
1b7113d724 Updated Rector to commit 2f38105001867c15fb1b2001767b37566428719f
2f38105001 fix cs
2023-08-28 12:02:21 +00:00
Tomas Votruba
e17db30c80 Updated Rector to commit eac3d467a9ff5ce778bb79b214c39487a6f928f4
eac3d467a9 [ProcessAnalyzer] Remove unnecessary hasAttribute(origNode) on RectifiedAnalyzer (#4873)
2023-08-28 06:24:32 +00:00
Tomas Votruba
dcd7f106fc Updated Rector to commit 7fc7034ddd58ff23d19bd2ed956ab93fdacfd153
7fc7034ddd Add additional comment for future reference on RectifiedAnalyzer on above node directly use DONT_TRAVERSE_CHILDREN, only on current rule (#4872)
2023-08-28 05:47:55 +00:00
Tomas Votruba
4844c51a8d Updated Rector to commit 00e267682a1faf3f8eab4208271f508b813ce4d3
00e267682a Clean up double set attribute on AbstractRector (#4871)
2023-08-28 05:43:22 +00:00
Tomas Votruba
025bdb2a5f Updated Rector to commit 9be0ac335782f52be36535eb29f30df87bee42c2
9be0ac3357 [Performance] No need to traverseNodesWithCallable() when only single node types on decorateCurrentAndChildren (#4870)
2023-08-28 05:35:05 +00:00
Tomas Votruba
edd0b488c3 Updated Rector to commit 684a317c5116bf60d43080ad62af7ae73c221894
684a317c51 [Php55][Renaming] Handle rename string on combination StringClassNameToClassConstantRector+RenameStringRector (#4869)
2023-08-28 05:28:50 +00:00
Tomas Votruba
08c1a94075 Updated Rector to commit 1c56aa9bdad38af386edd67f45405d641da37ed5
1c56aa9bda [ProcessAnalyzer] Remove phpstan_cache_printer tweak check on RectifiedAnalyzer (#4868)
2023-08-28 04:06:37 +00:00
Tomas Votruba
6e87ca12f5 Updated Rector to commit 87344c79fd4d367462cf7cb9cc0953f30b3cf684
87344c79fd Clean up compare null on $toBeRemovedNodeHash on AbtractRector (#4867)
2023-08-27 17:05:13 +00:00
Tomas Votruba
476b7f9e08 Updated Rector to commit c435754bd2447a4048742a1c1f7a7df8a4cdd51b
c435754bd2 clean up docblock on $nodesToReturn property on AbstractRector (#4866)
2023-08-27 17:00:25 +00:00
Tomas Votruba
d47a3cb197 Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
7e4a920a8a [Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865)
2023-08-27 15:41:04 +00:00
Tomas Votruba
b1fc9b0f15 Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
7e4a920a8a [Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865)
2023-08-27 15:31:02 +00:00
Tomas Votruba
2048db3e08 Updated Rector to commit 3f5ff9ec439f0b6b5a4c8a02748aac8b19ac17a4
3f5ff9ec43 Revert "Better approach leaveNode() check Stmt to non Stmt handling on AbstractRector (#4863)" (#4864)
2023-08-27 15:05:22 +00:00
Tomas Votruba
89f1ce8f10 Updated Rector to commit 4e75e84f92608d7bd8db99d13a1494da6e424090
4e75e84f92 Add test for change Stmt to different Stmt (#4862)
2023-08-27 14:19:02 +00:00
Tomas Votruba
421b970b76 Updated Rector to commit 3199e0a00c19bbdbd4ac59f10b4368657b70cfd1
3199e0a00c [ProcessAnalyzer] Skip process when origNode class is not equal with target node class (#4861)
2023-08-27 13:26:22 +00:00
Tomas Votruba
2473beec4a Updated Rector to commit 7d9c9111eb140283f77aa7ddeb57066e035de614
7d9c9111eb [automated] Apply Coding Standard (#4860)
2023-08-27 00:28:44 +00:00
Tomas Votruba
35b66505ec Updated Rector to commit 857e7a5604df3c36f85ea2702c066744a17728f7
857e7a5604 [Scoped] Do not downgrade vendor/rector-*/config (#4859)
2023-08-26 13:52:10 +00:00
Tomas Votruba
3982c504e9 Updated Rector to commit f64cb7b3f8467fe5e6509f0651017a6dabc1fd47
f64cb7b3f8 Revert "Pin react/socket to 1.13 (#4855)" (#4856)
2023-08-26 09:10:09 +00:00
Tomas Votruba
0728ba3ce0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 06:01:40 +00:00
Tomas Votruba
3be5dc788b Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 03:10:37 +00:00
Tomas Votruba
5fdba3c8f0 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 02:10:45 +00:00
Tomas Votruba
33326d3cb4 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-26 01:30:33 +00:00
Tomas Votruba
909b93c7f2 Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-25 17:57:39 +00:00
Tomas Votruba
e44653703c Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-25 16:57:25 +00:00
Tomas Votruba
f5e2367b07 Updated Rector to commit 20133824b6589f2259982d75d052cf7be3be8182
20133824b6 [DX] Remove double call $configuration->getFileExtensions() on FileFactory (#4851)
2023-08-25 16:24:26 +00:00
Tomas Votruba
9ab8c34a91 Updated Rector to commit a2c2046ba856be0346f69887e3fa0b75c4febfa9
a2c2046ba8 replaces `get_headers` $associative with bool (#4850)
2023-08-25 07:04:35 +00:00
Tomas Votruba
e6eb064594 Updated Rector to commit 9a07a7b35cc3ad4d0f1fcd60db728109d6196541
9a07a7b35c [DX] Display rule count in list-rules (#4848)
2023-08-24 17:27:26 +00:00
Tomas Votruba
307620097c Updated Rector to commit f8ed35cddd0bd97601ff7fa559841d74ba6bcee0
f8ed35cddd Bump to PHPStan 1.10.31 (#4849)
2023-08-24 16:59:52 +00:00
Tomas Votruba
2142e5018e Updated Rector to commit 3c34942dc98015298c9aa3fdb0369190937021d8
3c34942dc9 Revert "Revert "use NewOptimizedDirectorySourceLocator"" (#4846)
2023-08-24 16:53:49 +00:00
Tomas Votruba
a28209cafc Updated Rector to commit dce10846395c476ad300274c266545153a5fd7ad
dce1084639 Temporary pin to phpstan 1.10.30 (#4847)
2023-08-24 16:34:09 +00:00
Tomas Votruba
562d3d830d Updated Rector to commit dce10846395c476ad300274c266545153a5fd7ad
dce1084639 Temporary pin to phpstan 1.10.30 (#4847)
2023-08-24 16:25:15 +00:00
Tomas Votruba
b19f667a5b Updated Rector to commit 21f33de2b90c0e63d42c3ebebef7cf4415191a21
21f33de2b9 Recreate to exact Expr node instead of printing when possible on AddParamBasedOnParentClassMethodRector take 2 (#4842)
2023-08-24 10:28:16 +00:00
Tomas Votruba
6da4ac4e2a Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
295156cba1 [Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841)
2023-08-24 07:18:13 +00:00
Tomas Votruba
44c00ca135 Updated Rector to commit 75f2cbcae34c7c50fee8d4c3860d9a70e45438bd
75f2cbcae3 [PHPStan] Avoid removing bleeding edge from phar include, let user handle own phpstan configuration (#4840)
2023-08-23 15:35:55 +00:00
Tomas Votruba
3e344a5749 Updated Rector to commit 5de9824db5006d0e6d9e9e60a2a1c439ff7adb6e
5de9824db5 [Performance][Php80] Avoid print on Expr when possible on AddParamBasedOnParentClassMethodRector (#4839)
2023-08-23 13:42:14 +00:00
Tomas Votruba
20bb3755f5 Updated Rector to commit 15ddec30da5ca9996fa56949e35ec9a190c72bf3
15ddec30da [Php73][Php80] Handle empty long array syntax default value on SensitiveConstantNameRector+AddParamBasedOnParentClassMethodRector (#4837)
2023-08-23 13:24:46 +00:00
Tomas Votruba
f3e1fd5fad Updated Rector to commit ce87fc223b14aed6cef72ac79e00f4bee6afbbbb
ce87fc223b [Config] Add merging of rules configuration, call configure() just once (#4838)
2023-08-23 13:20:40 +00:00
Tomas Votruba
ef0d7bee6c Updated Rector to commit 4b34887e678f90e4d9a8b4838333091465c28dc7
4b34887e67 [Php80] Handle crash parent default empty array/string param on AddParamBasedOnParentClassMethodRector (#4833)
2023-08-23 11:33:01 +00:00
Tomas Votruba
4878abddc8 Updated Rector to commit 4163578c36fff9b049f1a3da51570fc5f62e3794
4163578c36 Bump dev dependencies (#4836)
2023-08-23 11:09:41 +00:00
Tomas Votruba
7de965b307 Updated Rector to commit d89512aeba51d9def86012ef84ee66e1062e1c4f
d89512aeba [Config] Handle $rectorConfig->import() with wildcards * config (#4832)
2023-08-23 10:58:01 +00:00
Tomas Votruba
b388569c60 Updated Rector to commit 2864cbe80ab411dde3bafa28f99883c0878969f7
2864cbe80a Remove deprecated FileProcessorInterface (#4835)
2023-08-23 10:40:53 +00:00
Tomas Votruba
f2f66bf17c Updated Rector to commit c73bc294a61249c7e7f35581cebd29864e49385a
c73bc294a6 [tests] Improve resetable interface call (#4834)
2023-08-23 10:02:05 +00:00
Tomas Votruba
994dcc7c44 Updated Rector to commit 37be2c2268a7251c4d422e7c6a607d8931459731
37be2c2268 [PostRector] strtolower() early on UseNodesToAddCollector (#4830)
2023-08-21 15:15:26 +00:00
Tomas Votruba
429b44fab4 Updated Rector to commit cdccb5199ddc160fb7945879cf1403f1c7289770
cdccb5199d [AutoImport] Handle case insensitive name collide on auto import (#4829)
2023-08-21 15:08:37 +00:00
Tomas Votruba
31a33d3c1b Updated Rector to commit 79d806c87a7b3df9ec8acc611178dd3cdd8c8d28
79d806c87a [BetterPhpDocParser] Run PhpDocNodeTraverser->traverse() once take 2 (#4828)
2023-08-21 13:57:21 +00:00
Tomas Votruba
5d038060f5 Updated Rector to commit c5fab3a83132e3408eba419e8269b94124c53495
c5fab3a831 [CI] Narrow tests to single job, as now takes 20 s 🚀 (#4827)
2023-08-21 13:39:02 +00:00
Tomas Votruba
fbd33e5f98 Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
45aababfbc [TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825)
2023-08-21 09:37:33 +00:00
Tomas Votruba
a3856d782f Updated Rector to commit 4a869b9b104dc81adef4441025787c0c3411d4d6
4a869b9b10 bump PHPUnit printer to optional (#4826)
2023-08-21 09:28:35 +00:00
Tomas Votruba
def86c6e48 Updated Rector to commit 45aababfbcf23f7ab3765376d6f04a3aee113e8a
45aababfbc [TypeDeclaration] Add new array replaced with array on ReturnTypeFromStrictNewArrayRector (#4825)
2023-08-21 09:28:31 +00:00
Tomas Votruba
2704731a87 Updated Rector to commit fa6bad20abb4f5b8fd2bee31439171628a353658
fa6bad20ab [DX] Add optional testdox/pest like output to get exact test metrics per unit test fixture (#4821)
2023-08-21 07:12:04 +00:00
Tomas Votruba
cfc8e32b1a Updated Rector to commit bf4cfa566386963da42447dbad93c5d6a94b5b93
bf4cfa5663 [PHPUnit] Fix extreemely slow PHPUnit run on data providers with objects (#4823)
2023-08-20 17:46:04 +00:00
Tomas Votruba
98e671cd4d Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
bdad8bd4a5 [Experiment] Try running doc node traverser just once (#4822)
2023-08-20 12:44:53 +00:00
Tomas Votruba
55f14a766b Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
bdad8bd4a5 [Experiment] Try running doc node traverser just once (#4822)
2023-08-20 11:20:02 +00:00
Tomas Votruba
02e78f5827 Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
74d9188326 Fix downgrade build (#4820)
2023-08-20 10:53:26 +00:00
Tomas Votruba
c9318c9c37 Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
74d9188326 Fix downgrade build (#4820)
2023-08-20 10:35:10 +00:00
Tomas Votruba
69a95d55f9 Updated Rector to commit cdc70aa3a5063c82760080bc4474c2fb36db1b3b
cdc70aa3a5 [automated] Apply Coding Standard (#4816)
2023-08-20 00:26:59 +00:00
Tomas Votruba
fdac720de2 Updated Rector to commit 87c677e7c304845c18ce1ccfb135aefab85b3bf4
87c677e7c3 [DX] Add ExprScopeFromStmtNodeVisitor, move logic deep Expr from ScopeAnalyzer to it (#4815)
2023-08-19 15:00:46 +00:00
Tomas Votruba
60feccd21a Updated Rector to commit 0477f5bf115172a4abf3f5ec1cef9613d31ba21c
0477f5bf11 [DX] Remove PHPStanNodeScopeResolver::processNodesWithDependentFiles() method (#4814)
2023-08-19 14:25:13 +00:00
Tomas Votruba
ca844057bc Updated Rector to commit dc489abc6e5c7ef4de847bd9a9bcae0bd67a75a2
dc489abc6e fix missed cleanup
2023-08-18 12:48:45 +00:00