File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,15 @@ Search your code for the following changes:
107107- ` $smarty->assignByRef() ` should be replaced with ` $smarty->assign() `
108108- ` $smarty->loadPlugin() ` should be replaced with ` $smarty->registerPlugin() `
109109
110+ ### Removed undocumented magic API methods
111+
112+ Smarty v4 allowed setting (internal) properties for which no setter existed by using magic methods
113+ that start with either ` set ` or ` get ` . This has been removed in Smarty 5.
114+
115+ For example, ` $smarty->setErrorUnassigned(true); ` would set the ` error_unassigned ` property.
116+
117+ Every setter of getter that was ever documented or unit tested has been kept.
118+
110119### Removed PHP constants
111120
112121The following constants have been removed to prevent global side effects.
You can’t perform that action at this time.
0 commit comments