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
Tomas Votruba
9bae807e4c
Updated Rector to commit 64c03bdd16b666a482a27fad2086b1539b7d557c
...
64c03bdd16
[TypeDeclaration] Deprecate unreliable AddArrayReturnDocTypeRector, used split strict typed rules instead (#3133 )
2022-11-30 15:15:38 +00:00
Tomas Votruba
b84808cfa7
Updated Rector to commit 7a65218f2442c2ad4e6d7ecbc55560408522fe08
...
7a65218f24
Remove auto import on changed files only to avoid too detailed setup and making ambiguous code (#3132 )
2022-11-30 07:38:26 +00:00
Tomas Votruba
7a4c4657bb
Updated Rector to commit 67ec259ce70190a02d29c697dfb2d325f781d8aa
...
67ec259ce7
[TypeDeclaration] Disable and deprecate PropertyTypeDeclarationRector and TypedPropertyRector, to avoid breaks; use split strict rules instead (#3122 )
2022-11-28 15:11:02 +00:00
Tomas Votruba
d27ad935cb
Updated Rector to commit 83b13f530c9612a65ff921c994e7fa0cd29a21bf
...
83b13f530c
Remove deprecated ParamTypeDeclarationRector, that treated docs as strict types to keep type declaration set reliable (#3111 )
2022-11-27 23:28:48 +00:00
Tomas Votruba
566033e175
Updated Rector to commit 2af3c7fb68f59fbc5f8ffee9a4fa80d430331159
...
2af3c7fb68
Deprecated type-declaration-strict to type-declaration set, as single group of rules (#3103 )
2022-11-27 16:42:00 +00:00
Tomas Votruba
3b829bfdce
Updated Rector to commit 07b529abc4a1e8cd8ebe0ea90333a15016ab5062
...
07b529abc4
[BetterPhpDocParser] Call phpdocInfo->markAsChanged() on change param/return type on PhpDocTypeChanger (#3099 )
2022-11-26 13:08:12 +00:00
Tomas Votruba
8b12bd8a12
Updated Rector to commit 335d593e34bbc124a505bdb150eb971fb92a0e87
...
335d593e34
[TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088 )
2022-11-23 10:02:01 +00:00
Tomas Votruba
f30d1123a7
Updated Rector to commit 0d16e131d69ce999dea28bde40af1f6be3edbd7d
...
0d16e131d6
remove monolog 2.0 set, only marginal and beyond full path (#3076 )
2022-11-18 20:56:35 +00:00
Tomas Votruba
18779fffd6
Updated Rector to commit 4140e7807611cb29cfcdd768e86a9203b0c69b9b
...
4140e78076
[Core] Handle no scope crash on foreach value with array item variable (#3068 )
2022-11-16 14:19:15 +00:00
Tomas Votruba
18b5311e05
Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
...
fa9a953fc8
[Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067 )
2022-11-15 20:31:43 +00:00
Tomas Votruba
42553ae453
Updated Rector to commit 1b236c8ae8f497c445a136bf0361aa99e4cd865e
...
1b236c8ae8
Utilize Type->isString() (#3063 )
2022-11-15 15:43:41 +00:00
Tomas Votruba
e97dbec59e
Updated Rector to commit 2af80959bc599d7318c1fe4f1662c411937634be
...
2af80959bc
[Caching] Fix cache consecutive run rector with --dry-run (#3060 )
2022-11-13 08:57:38 +00:00
Tomas Votruba
393315b792
Updated Rector to commit 21b1ff921f15c820d065a9bc288bf18dc7ecb94f
...
21b1ff921f
[Core] Improve performance: remove unnecessary loop on SimpleCallableNodeTraverser (#3053 )
2022-11-11 18:00:09 +00:00
Tomas Votruba
73bd079d75
Updated Rector to commit 21ead88cdeef5013e635c9e4eb2a22456d6e93e9
...
21ead88cde
[Core] Improve performance: remove unnecessary loop StmtsAwareInterface to fill Scope on PHPStanNodeScopeResolver (#3048 )
2022-11-11 13:35:09 +00:00