Skip to content

Commit 880a56c

Browse files
authored
Merge pull request #387 from gsteel/v2/deprecate-render-child-model
Deprecate the `RenderChildModel` Helper
2 parents 3ce3cd0 + dfeeb8f commit 880a56c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

psalm-baseline.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3835,6 +3835,10 @@
38353835
</DeprecatedMethod>
38363836
</file>
38373837
<file src="test/Helper/RenderChildModelTest.php">
3838+
<DeprecatedClass>
3839+
<code><![CDATA[RenderChildModel]]></code>
3840+
<code><![CDATA[RenderChildModel::class]]></code>
3841+
</DeprecatedClass>
38383842
<DeprecatedMethod>
38393843
<code><![CDATA[plugin]]></code>
38403844
<code><![CDATA[plugin]]></code>

src/Helper/RenderChildModel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
* Finds children matching "capture-to" values, and renders them using the
1717
* composed view instance.
1818
*
19+
* @deprecated Since 2.44.0. This helper will be removed in 3.0.0. Its functionality will be a default feature of nested
20+
* view rendering in 3.0.0 and is therefore no longer useful.
21+
*
1922
* @final
2023
*/
2124
class RenderChildModel extends AbstractHelper

0 commit comments

Comments
 (0)