Commit Graph

5196 Commits

Author SHA1 Message Date
Tomas Votruba 6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba b971f67811 Updated Rector to commit 51fcdc2639267a875c3d5c1a985800104e984ead
51fcdc2639 [Cache] Replace Strings::webalize() with sha1_file() from resolved path on ChangedFilesDetector (#3356)
2023-02-07 16:56:38 +00:00
Tomas Votruba 1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +00:00
Tomas Votruba 5cc4e62142 Updated Rector to commit 74bb7a0a7153e3b4423dd816da23c5de55875fc2
74bb7a0a71 Remove deprecated TYPE_DECLARATION_SET (#3352)
2023-02-07 00:42:51 +00:00
Tomas Votruba 8c3f7d543f Updated Rector to commit b17d4a39222960783a78207f24d404d8dbc97eab
b17d4a3922 [Testing] Make temp fixture file names exposed next to the fixture file, to make easier fixes and path resolvements (#3338)
2023-02-06 14:23:37 +00:00
Tomas Votruba 5a533a3702 Updated Rector to commit c3ff0fd4328b603df30c7e7bb833cb1e641f410c
c3ff0fd432 Upgrade to PHPUnit 10 🥳️ (#3332)
2023-02-03 17:47:50 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba dde7f41fda Updated Rector to commit 0f025099cbdd8c4cc6c9a3ffa0775a9250f112de
0f025099cb [TypeDeclaration] Move method ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed to ClassMethodReturnTypeOverrideGuard and make it private (#3323)
2023-01-29 16:34:12 +00:00
Tomas Votruba 820bd2010e Updated Rector to commit 8714537bfb668d453cb56d3e1f303371c3987597
8714537bfb [TypeDeclaration] Consume ParentClassMethodTypeOverrideGuard from ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#3320)
2023-01-29 13:29:20 +00:00
Tomas Votruba 162b97da87 Updated Rector to commit 33527d4e8d3b58bfebbac94330fd59f5be08b2b2
33527d4e8d [Printer] Move handle mix php+html to BetterStandardPrinter (#3310)
2023-01-27 08:27:34 +00:00
Tomas Votruba afc46ddaaf Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:27:06 +00:00
Tomas Votruba bbb27b399f Updated Rector to commit 828ec4e66ed7118e0cc6315df0190941d7db1c72
828ec4e66e [Printer] Handle return array of nodes with InlineHTML (#3304)
2023-01-25 19:21:39 +00:00
Tomas Votruba be2e22ede3 Updated Rector to commit 2c353227e499072689cbb22d83b3483b3015025f
2c353227e4 [Printer] Handle Add Node after Nop statement inlineHTML (#3303)
2023-01-24 15:30:51 +00:00
Tomas Votruba 3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00
Tomas Votruba 99023d8977 Updated Rector to commit 240fa27dca3e215bdfea9b329558d495ea344aa0
240fa27dca  Move Reprint previous node of first node early to NodeAddingPostRector, mix html+php take 4 (#3290)
2023-01-15 18:55:14 +00:00
Tomas Votruba 8c806f8911 Updated Rector to commit 8f4642c78eebd8fdf1770f01187128a59c712146
8f4642c78e [AutoImport] Skip first stmt is InlineHTML (#3288)
2023-01-15 10:47:14 +00:00
Tomas Votruba bede86547e Updated Rector to commit 505a2490fab1d61dffe6a9fa0cd95efc35ff9ac0
505a2490fa remove MethodTypeAnalyzer
2023-01-15 01:58:44 +00:00
Tomas Votruba b57aa6b1c1 Updated Rector to commit 3d7de8a15dfd61b80af51711c28a03ef886267e1
3d7de8a15d remove unused DoctrineAnnotationFactory
2023-01-15 00:59:39 +00:00
Tomas Votruba b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00
Tomas Votruba 80b6ffce36 Updated Rector to commit 8c439cffaee2124388b4fd03db951f43f10a5359
8c439cffae [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
2023-01-03 15:14:20 +00:00
Tomas Votruba 3e51438f07 Updated Rector to commit 5b76f7b43b18b04c4eb32fbf55d6795478a09a43
5b76f7b43b [TypeDeclaration] Handle comment + single docblock on TypedPropertyFromAssignsRector (#3264)
2023-01-02 16:27:11 +00:00
Tomas Votruba 0fc42c2559 Updated Rector to commit 47fa234379b7b9f28081e8bc6e683628f8d53f2b
47fa234379 [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
2023-01-02 11:58:30 +00:00
Tomas Votruba b8f374dc0e Updated Rector to commit cba980b719f48eb580f8afcf4e3843843436ba35
cba980b719 [NodeRemoval] Refactor NodeRemover to always use removeNode() method to ensure Node in NodesToRemoveCollector (#3255)
2023-01-02 11:53:04 +00:00
Tomas Votruba fe418cfdc0 Updated Rector to commit 79a34f9e0116081e31472c2d6cd415e7d077c21f
79a34f9e01 [CodeQuality] Handle class-string case insensitive on CompleteDynamicPropertiesRector (#3260)
2023-01-02 11:52:28 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba 1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba 8a89fc1eb2 Updated Rector to commit ac2f8537c1f5b9739baaeeb8228d514b29c6b0b6
ac2f8537c1 [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
2022-12-25 14:11:20 +00:00
Tomas Votruba 727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +00:00
Tomas Votruba 680ba23c17 Updated Rector to commit 88629427917b7d359beeb1a0b34d39d2127472b9
8862942791 [CodingStyle] Skip EncapsedStringsToSprintfRector on heredoc (#3242)
2022-12-23 08:45:28 +00:00
Tomas Votruba d72c810c78 Updated Rector to commit c78e255cf9cb17cedead84ff8a54f421f563942d
c78e255cf9 Fix @return docblock on IfManipulator (#3239)
2022-12-22 16:53:25 +00:00
Tomas Votruba a5afc7b66c Updated Rector to commit 432d3e46a296babeea02c1e9d6633079011a303e
432d3e46a2 [NodeTraverser] Use NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead of NodeTraverser::DONT_TRAVERSE__CHILDREN (#3233)
2022-12-21 13:01:53 +00:00
Tomas Votruba f4f085ed27 Updated Rector to commit f13207737e25fef30190c1746a314b7e1dec6eb2
f13207737e [CodingStyle] Add NullifyUnionNullableRector (#3231)
2022-12-21 11:07:20 +00:00
Tomas Votruba 705057ef68 Updated Rector to commit b1fff57b7bdd56bff43211412483d6c33880533b
b1fff57b7b [Core] Make consistent only setAnalysedFiles() from PHPStan NodeScopeResolver in both parallel and non-parallel for .php files (#3221)
2022-12-21 09:35:27 +00:00
Tomas Votruba 13fa9d478f Updated Rector to commit 394fa70c963bb059acd6aae4b998173bdfc6c80c
394fa70c96 [TypeDeclaration] Add FalseReturnClassMethodToNullableRector (#3229)
2022-12-20 20:40:25 +00:00
Tomas Votruba 24dfd08e91 Updated Rector to commit 980dc83d2f4e2853658562fb86c1dc31ef182c21
980dc83d2f [parallel] Improve performance: Run RemovedAndAddeedFileProcessor after loop (#3219)
2022-12-19 11:24:08 +00:00
Tomas Votruba 37344332a6 Updated Rector to commit 2624b4980d9fca8d497fb012828b7201909c21e4
2624b4980d [Parallel] Fix missing process RemovedAndAddedFilesProcessor->run() on parallel process on WorkerRunner (#3218)
2022-12-19 11:11:17 +00:00
Tomas Votruba 04232cb88d Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
d80ddd193d [CodeQuality] Handle possible crash on ParametersAcceptorSelector::selectSingle() on OptionalParametersAfterRequiredRector (#3192)
2022-12-13 12:09:37 +00:00
Tomas Votruba 26753f8f8b Updated Rector to commit 96c457badfd0c198a57a758c552ec82aee0049de
96c457badf Fix RenamePropertyToMatchTypeRector for non-docblocks properties (#3189)
2022-12-11 17:49:34 +00:00
Tomas Votruba f63eee898e Updated Rector to commit 863fee39147717a4f85c42eacaec28fe6971ac52
863fee3914 [PHPStanStaticTypeMapper] Handle Nullable Type on UnionType on UnionTypeMapper when possible (#3173)
2022-12-09 11:23:23 +00:00
Tomas Votruba 7bd500a158 Updated Rector to commit d3abaa1d05318488f8c1f401fc46a9e48b056d4f
d3abaa1d05 [TypeDeclaration] Handle Anonymous class extends existing class in union (#3161)
2022-12-06 13:12:41 +00:00
Tomas Votruba 80576040f6 Updated Rector to commit 91ebee8f0771ec3dbfbb1108e996ecf2351e6e9a
91ebee8f07 [TypeDeclaration] Skip union mixed on TypedPropertyFromAssignsRector (#3160)
2022-12-06 10:28:55 +00:00
Tomas Votruba ab11a00c74 Updated Rector to commit 25dec6b32504d747ff62193ff4704144ca10b040
25dec6b325 Rollback ClassRenamePhpDocNodeVisitor to use clone  to avoid unnecessary touch Identifier when no change (#3154)
2022-12-04 17:34:34 +00:00
Tomas Votruba 83accd4a98 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
efd09bbb40 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150)
2022-12-04 13:15:14 +00:00
Tomas Votruba 313379d206 Updated Rector to commit 2f0fca8ba89353a96a8f3a1aecdc8b5db028fc0f
2f0fca8ba8 remove deprecated RectorConfig::disableImportNames(), use importNames(false) instead
2022-12-03 10:17:25 +00:00
Tomas Votruba 425778e348 Updated Rector to commit 750758971cd05a576eb9928d5dbbad6fbc36d0d4
750758971c remove deprecated RectorConfig::disableImportShortClasses(), use importShortClasses(false) instead
2022-12-03 10:17:15 +00:00
Tomas Votruba df7c74ec60 Updated Rector to commit 16647397cc155594371858f316bd82e9dd436117
16647397cc [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
2022-12-03 09:23:44 +00:00
Tomas Votruba c742d0130f Updated Rector to commit 12ea285bcd922dbacaaed44a4819c7ee3477b1c2
12ea285bcd simplify PHPStanStaticTypeMapper (#3143)
2022-12-02 15:40:44 +00:00
Tomas Votruba 712a8e76ba Updated Rector to commit c2c4970b65302b216724ad1faa639354e487a30e
c2c4970b65 [Set] Add missing LevelSetList::UP_TO_PHP_53 (#3139)
2022-12-02 12:17:13 +00:00
Tomas Votruba 09f8be2dde Updated Rector to commit f387890dbeba0617f9a4f98f44ac1c8f08e6c1b0
f387890dbe [build] add enum to const list downgrade
2022-12-01 16:57:08 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00